/* =========================================================
   Cafepoint – nová hlavička + detail produktu (mobil)
   Podľa Figma návrhu (Cafepoint × Blue Bottle štýl)
   Vyžaduje cafepoint-product.js (presúva prvky na detaile).
   ========================================================= */

:root {
    --cp-ink: #0f0f0f;
    --cp-text: #2f2f2f;
    --cp-dark: #1e2a1e;      /* rovnaká tmavozelená ako ostatné tlačidlá webu */
    --cp-muted: #5f6170;     /* 6,1:1 na bielej (pôvodná #7c7e8f mala 4,0:1) */
    --cp-line: #e0e5ee;
    --cp-bar-off: #d9d9d9;
    --cp-stock: #0b7a1d;     /* 5,5:1 (pôvodná #009901 mala 3,8:1) */
    --cp-header-bg: #f6f6f3;
    --cp-bonus-bg: #ececf0;
    --cp-bonus-text: #41416e;
    --cp-sale: #d42100;      /* 5,2:1 s bielym textom */
    --cp-new: #4d7a24;       /* 5,1:1 s bielym textom */
    --cp-placeholder: #6f7180;
}

@media (max-width: 767px) {

    /* stránka sa nesmie dať posunúť do strany (hlavička potom nesedí od okraja po okraj) */
    html,
    body {
        overflow-x: clip !important;
    }
    .custom-footer__newsletter p.label,
    .subscribe-form p.label {
        white-space: normal !important;
    }

    /* ---------------------------------------------------------
       HLAVIČKA: MENU vľavo · logo v strede · lupa, účet, košík
       --------------------------------------------------------- */
    .top-navigation-bar {
        background: var(--cp-header-bg) !important;
        height: 48px !important;
        min-height: 48px !important;
        box-shadow: none !important;
        border: 0 !important;
    }
    .top-navigation-bar > .container {
        position: relative;
        display: flex !important;
        align-items: center;
        height: 48px !important;
        padding: 0 14px !important;
    }
    .top-navigation-bar .top-navigation-contacts,
    .top-navigation-bar .top-navigation-menu {
        display: none !important;
    }
    .top-navigation-bar .site-name {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        z-index: 2;
    }
    .top-navigation-bar .site-name img {
        display: block;
        width: 70px !important;
        height: auto !important;
        max-height: none !important;
    }
    .top-navigation-bar .top-navigation-tools {
        position: static !important;
        margin: 0 0 0 auto !important;
        padding: 0 !important;
    }
    .top-navigation-bar .responsive-tools {
        position: static !important;
        display: flex !important;
        align-items: center;
        gap: 0;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body .top-navigation-bar .responsive-tools > a.toggle-window,
    html body .top-navigation-bar .responsive-tools .click-cart > a {
        position: relative !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px !important;
        height: 32px !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background-color: transparent !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        font-size: 0 !important;
        color: transparent !important;
        box-shadow: none !important;
    }
    html body .top-navigation-bar .responsive-tools > a.toggle-window::before,
    html body .top-navigation-bar .responsive-tools > a.toggle-window::after,
    html body .top-navigation-bar .responsive-tools .click-cart > a::before {
        content: none !important;
        display: none !important;
    }
    html body .top-navigation-bar .responsive-tools > a[data-target="search"] {
        background-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjE3IiB2aWV3Qm94PSIwIDAgMTcgMTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJNYXNrIGdyb3VwIj4KPG1hc2sgaWQ9Im1hc2swXzBfMTEiIHN0eWxlPSJtYXNrLXR5cGU6bHVtaW5hbmNlIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTciIGhlaWdodD0iMTciPgo8ZyBpZD0iR3JvdXAiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTYuNzM4MyAxNS40NzI0QzE3LjA4NzIgMTUuODIxMyAxNy4wODcyIDE2LjM4OTQgMTYuNzM4MyAxNi43MzgzQzE2LjM4OTMgMTcuMDg3MiAxNS44MjEgMTcuMDg3MiAxNS40NzIgMTYuNzM4M0wxMS4wOTYyIDEyLjM2MzZDMTAuOTIxNyAxMi4xODkyIDEwLjYxMyAxMi4xNjY4IDEwLjQxNjEgMTIuMzAxQzEwLjQxNjEgMTIuMzAxIDEwLjI5NTMgMTIuMzk0OSAxMC4wMzU4IDEyLjU0MjZDOS4wNTU5MyAxMy4wOTcyIDcuOTE5NDYgMTMuNDE5MyA2LjcxMTQxIDEzLjQxOTNDMy4wMDY3MSAxMy40MTkzIDAgMTAuNDEzNCAwIDYuNzA5NjRDMCAzLjAwNTkyIDMuMDA2NzEgMCA2LjcxMTQxIDBDMTAuNDE2MSAwIDEzLjQyMjggMy4wMDU5MiAxMy40MjI4IDYuNzA5NjRDMTMuNDIyOCA3LjkyNjMzIDEzLjA5NjIgOS4wNzE0NCAxMi41MzI0IDEwLjA1NTVDMTIuMzg0OCAxMC4zMDYgMTIuMzA0MyAxMC40MDg5IDEyLjMwNDMgMTAuNDA4OUMxMi4xNjExIDEwLjYxNDcgMTIuMTg3OSAxMC45MTg4IDEyLjM2MjQgMTEuMDkzM0wxNi43MzgzIDE1LjQ3MjRaTTYuNzExNDEgMTEuNjNDOS40MzE3NyAxMS42MyAxMS42MzMxIDkuNDI5MjkgMTEuNjMzMSA2LjcwOTY0QzExLjYzMzEgMy45OSA5LjQzMTc3IDEuNzg5MjQgNi43MTE0MSAxLjc4OTI0QzMuOTkxMDUgMS43ODkyNCAxLjc4OTcxIDMuOTkgMS43ODk3MSA2LjcwOTY0QzEuNzg5NzEgOS40MjkyOSAzLjk5MTA1IDExLjYzIDYuNzExNDEgMTEuNjNaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8wXzExKSI+CjxwYXRoIGlkPSJWZWN0b3JfMiIgZD0iTTE2LjczODMgMTUuNDcyNEMxNy4wODcyIDE1LjgyMTMgMTcuMDg3MiAxNi4zODk0IDE2LjczODMgMTYuNzM4M0MxNi4zODkzIDE3LjA4NzIgMTUuODIxIDE3LjA4NzIgMTUuNDcyIDE2LjczODNMMTEuMDk2MiAxMi4zNjM2QzEwLjkyMTcgMTIuMTg5MiAxMC42MTMgMTIuMTY2OCAxMC40MTYxIDEyLjMwMUMxMC40MTYxIDEyLjMwMSAxMC4yOTUzIDEyLjM5NDkgMTAuMDM1OCAxMi41NDI2QzkuMDU1OTMgMTMuMDk3MiA3LjkxOTQ2IDEzLjQxOTMgNi43MTE0MSAxMy40MTkzQzMuMDA2NzEgMTMuNDE5MyAwIDEwLjQxMzQgMCA2LjcwOTY0QzAgMy4wMDU5MiAzLjAwNjcxIDAgNi43MTE0MSAwQzEwLjQxNjEgMCAxMy40MjI4IDMuMDA1OTIgMTMuNDIyOCA2LjcwOTY0QzEzLjQyMjggNy45MjYzMyAxMy4wOTYyIDkuMDcxNDQgMTIuNTMyNCAxMC4wNTU1QzEyLjM4NDggMTAuMzA2IDEyLjMwNDMgMTAuNDA4OSAxMi4zMDQzIDEwLjQwODlDMTIuMTYxMSAxMC42MTQ3IDEyLjE4NzkgMTAuOTE4OCAxMi4zNjI0IDExLjA5MzNMMTYuNzM4MyAxNS40NzI0Wk02LjcxMTQxIDExLjYzQzkuNDMxNzcgMTEuNjMgMTEuNjMzMSA5LjQyOTI5IDExLjYzMzEgNi43MDk2NEMxMS42MzMxIDMuOTkgOS40MzE3NyAxLjc4OTI0IDYuNzExNDEgMS43ODkyNEMzLjk5MTA1IDEuNzg5MjQgMS43ODk3MSAzLjk5IDEuNzg5NzEgNi43MDk2NEMxLjc4OTcxIDkuNDI5MjkgMy45OTEwNSAxMS42MyA2LjcxMTQxIDExLjYzWiIgZmlsbD0iYmxhY2siIHN0cm9rZS13aWR0aD0iMC4yIiBzdHJva2U9IiNGOUY2RjAiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=") !important;
        background-size: 17px 17px !important;
    }
    html body .top-navigation-bar .responsive-tools > a[data-target="login"] {
        background-image: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjE5IiB2aWV3Qm94PSIwIDAgMTcgMTkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJJY29uIiBjbGlwLXBhdGg9InVybCgjY2xpcDBfMF84KSI+CjxwYXRoIGlkPSJWZWN0b3IiIGQ9Ik0xMi4xODQ5IDQuMzRDMTIuMTg0OSA2LjMyMjcgMTAuNTc3NiA3LjkzIDguNTk0ODggNy45M0M2LjYxMjE4IDcuOTMgNS4wMDQ4OCA2LjMyMjcgNS4wMDQ4OCA0LjM0QzUuMDA0ODggMi4zNTczIDYuNjEyMTggMC43NSA4LjU5NDg4IDAuNzVDMTAuNTc3NiAwLjc1IDEyLjE4NDkgMi4zNTczIDEyLjE4NDkgNC4zNFoiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2U9ImJsYWNrIi8+CjxwYXRoIGlkPSJWZWN0b3JfMiIgZD0iTTE2LjE5IDE3LjM1OTlDMTYuMTkgMTMuMTY1MyAxMi43ODk2IDkuNzY0ODkgOC41OTUgOS43NjQ4OUM0LjQwMDQgOS43NjQ4OSAxIDEzLjE2NTMgMSAxNy4zNTk5IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2U9ImJsYWNrIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMF84Ij4KPHJlY3Qgd2lkdGg9IjE3IiBoZWlnaHQ9IjE5IiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=") !important;
        background-size: 17px 19px !important;
    }
    html body .top-navigation-bar .responsive-tools .click-cart > a {
        background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE2IDE3IiBmaWxsPSJub25lIj48ZyBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48cGF0aCBkPSJNMTIgNC43NUMxMiAyLjU0MDg2IDEwLjIwOTEgMC43NSA4IDAuNzVDNS43OTA4NiAwLjc1IDQgMi41NDA4NiA0IDQuNzUiLz48L2c+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4xNDYgNi43NjcpIj48cGF0aCBkPSJNMC44MDAwMDYgMC44TDIuMTMzNjEgOS4yMDY1MkgxMy41Nzg0TDE0LjkxMiAwLjhIMC44MDAwMDZaIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlPSJibGFjayIvPjwvZz48L3N2Zz4K") !important;
        background-size: 16px 17px !important;
    }
    html body .top-navigation-bar .responsive-tools .click-cart .cart-price {
        display: none !important;
    }
    /* počet kusov v košíku – malý odznak */
    html body .top-navigation-bar .responsive-tools .click-cart > a > i,
    html body .top-navigation-bar .responsive-tools .click-cart > a > .cart-count-badge {
        position: absolute !important;
        top: 1px !important;
        right: 7px !important;
        left: auto !important;
        min-width: 15px !important;
        height: 15px !important;
        padding: 0 4px !important;
        border-radius: 8px !important;
        background: var(--cp-ink) !important;
        color: #fff !important;
        font-size: 9px !important;
        font-style: normal !important;
        font-weight: 600 !important;
        line-height: 15px !important;
        text-align: center;
    }
    /* hamburger → text MENU vľavo */
    html body .top-navigation-bar .responsive-tools > a[data-target="navigation"] {
        position: absolute !important;
        left: 20px !important;
        top: 12px !important;
        width: auto !important;
        height: 24px !important;
        right: auto !important;
        width: max-content !important;
        justify-content: flex-start !important;
        background: none !important;
        z-index: 3;
    }
    html body .top-navigation-bar .responsive-tools > a[data-target="navigation"]::after {
        content: "Menu" !important;
        display: block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        border: 0 !important;
        transform: none !important;
        font-family: "Google Sans", sans-serif !important;
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 24px !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;
        color: #181818 !important;
    }

    /* stále viditeľné vyhľadávanie skryjeme – otvára ho lupa v hlavičke */
    html:not(.cp-search-open) #header .header-top .search {
        display: none !important;
    }
    html.cp-search-open #header .header-top .search {
        display: block !important;
        padding: 8px 0 12px !important;
    }
    #header .navigation-wrapper,
    #header .header-top {
        min-height: 0 !important;
        height: auto !important;
    }
    html body #header {
        top: 48px !important;
    }
    html.cp-search-open #header {
        background: var(--cp-header-bg) !important;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
    }
    html body .overall-wrapper {
        padding-top: 48px !important;
    }

    /* ---------------------------------------------------------
       DETAIL PRODUKTU
       --------------------------------------------------------- */
    body.type-detail.cp-pd-ready .breadcrumbs,
    body.type-detail.cp-pd-ready .p-detail-inner-header {
        display: none !important;
    }

    /* galéria */
    body.type-detail .p-image-wrapper {
        padding: 12px 0 8px !important;
        margin: 0 !important;
    }
    body.type-detail .p-image {
        position: relative;
        aspect-ratio: 4 / 3;
        background: #fff;
    }
    body.type-detail .p-image #wrap,
    body.type-detail .p-image .p-main-image {
        height: 100%;
    }
    body.type-detail .p-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
    body.type-detail .p-image .flags-default {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        z-index: 3;
    }
    body.type-detail .p-image .flags-default .flag {
        padding: 6px 8px !important;
        border-radius: 0 !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        line-height: 11px !important;
        letter-spacing: 0.24px !important;
        text-transform: uppercase !important;
    }

    /* poradie blokov v pravom stĺpci */
    body.type-detail.cp-pd-ready .p-info-wrapper {
        display: flex !important;
        flex-direction: column;
        gap: 24px;
        padding-top: 8px !important;
    }
    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 .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 .social-buttons-wrapper {
        display: none !important;
    }
    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 .p-info-wrapper .detail-parameters:not(:has(td)) {
        display: none !important;
    }

    /* hlavička produktu: sklad · značka · názov · chuť */
    .cp-pd-head {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .cp-pd-stock {
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 19.6px;
        letter-spacing: 0.32px;
        text-transform: uppercase;
        color: var(--cp-stock);
    }
    .cp-pd-titles {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .cp-pd-brand,
    .cp-pd-brand a {
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 16px;
        text-transform: uppercase;
        color: var(--cp-muted) !important;
        text-decoration: none !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: 20px !important;
        font-weight: 500 !important;
        line-height: 1.54 !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;
        color: var(--cp-ink) !important;
        text-align: left !important;
    }
    .cp-pd-notes {
        font-size: 14px !important;
        line-height: 20px;
        letter-spacing: -0.15px;
        color: #000;
    }

    /* malé nadpisy sekcií (INTENZITA, DOSTUPNÉ VARIANTY, …) */
    .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;
    }

    /* intenzita – 5 dielikov */
    .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 v štýle Figmy */
    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-color: #fff !important;
        background-image: 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") !important;
        background-repeat: no-repeat !important;
        background-position: right 16px center !important;
        background-size: 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;
        line-height: 22px !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: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: 12px;
        padding: 0 !important;
    }
    body.type-detail.cp-pd-ready .add-to-cart .quantity {
        position: relative;
        display: flex !important;
        align-items: center;
        flex: 0 0 98px;
        width: 98px !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: 0 0 48px;
        margin: 0 !important;
    }
    body.type-detail.cp-pd-ready .add-to-cart .quantity input.amount {
        width: 48px !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 24px;
        width: 24px !important;
        height: 54px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 20px !important;
        line-height: 16px !important;
        transform: none !important;
    }
    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: 6px;
        width: auto !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 12px !important;
        background: var(--cp-dark) !important;
        border: 1px solid var(--cp-dark) !important;
        border-radius: 0 !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 22px !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;
        white-space: nowrap;
        box-shadow: none !important;
    }
    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-sep { opacity: 0.9; }
    .cp-btn-old {
        text-decoration: line-through;
        text-transform: none;
    }
    .cp-btn-new {
        font-weight: 600;
        text-transform: none;
    }

    /* bonusové body */
    body.type-detail.cp-pd-ready .mehub-bonus-product-detail-container .card {
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 8px !important;
        background: var(--cp-bonus-bg) !important;
        border: 1px solid var(--cp-bonus-bg) !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;
        line-height: 19.4px !important;
        color: var(--cp-bonus-text) !important;
        text-transform: uppercase;
    }

    /* odporúčame vyskúšať – karusel */
    body.type-detail.cp-pd-ready .up-product-wrapper {
        padding-top: 12px !important;
    }
    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;
        gap: 0;
        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: 16px;
        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: 90px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }
    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;
    }
    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: 4px;
        min-height: 30px;
        margin: 0 !important;
        padding: 4px 8px;
        border: 1px solid #000;
        background: #fff;
        color: #000;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 20px;
        letter-spacing: -0.15px;
        text-transform: uppercase;
        cursor: pointer;
        user-select: none;
    }
    .cp-up-btn .up-price-standard,
    .cp-up-btn .up-price-original,
    .cp-up-btn del,
    .cp-up-btn s {
        color: var(--cp-dark);
        text-decoration: line-through;
    }
    .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; }

    .cp-up-pager {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding-top: 10px;
    }
    .cp-up-pager button {
        padding: 4px 6px;
        border: 0;
        background: none;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 16px;
        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 + 4 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: 24px !important;
        color: var(--cp-text) !important;
    }
    body.type-detail.cp-pd-ready .p-short-description p {
        margin: 0 0 8px !important;
    }
    body.type-detail.cp-pd-ready .p-short-description,
    body.type-detail.cp-pd-ready .p-short-description * {
        text-transform: none !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: 1fr 1fr;
        gap: 16px 12px;
        margin: 16px 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;
        justify-content: flex-start;
        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: 50px !important;
        height: 50px !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: 15px !important;
        line-height: 22px !important;
        color: var(--cp-muted) !important;
    }
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item strong {
        font-weight: 600 !important;
        text-transform: uppercase;
    }

    /* záložky → akordeón bez rámčekov a čiar */
    body.type-detail .shp-tabs-wrapper {
        margin-top: 32px !important;
    }
    body.type-detail .shp-tabs-wrapper,
    body.type-detail .shp-tabs-wrapper > .row,
    body.type-detail .shp-tabs-wrapper .col-sm-12,
    body.type-detail .shp-tabs-wrapper .tab-content,
    body.type-detail .shp-tabs-wrapper .tab-content > .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 .tab-content > .tab-pane {
        margin: 0 !important;
        padding: 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .detail-tab-item {
        position: relative;
        display: block !important;
        padding: 18px 32px 18px 0 !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 18px !important;
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        color: var(--cp-muted) !important;
    }
    body.type-detail .shp-tabs-wrapper .detail-tab-item::before,
    body.type-detail .shp-tabs-wrapper .detail-tab-item::after {
        right: 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .tab-pane.active .detail-tab-item {
        color: var(--cp-ink) !important;
    }
    body.type-detail .shp-tabs-wrapper .detail-tab-content {
        padding: 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .tab-pane.active .detail-tab-content {
        padding: 2px 0 28px !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner {
        padding: 0 !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: 15px !important;
        line-height: 1.65 !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 {
        margin: 0 0 16px !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner hr {
        display: none !important;
    }
    /* parametre – riadky bez mriežky */
    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: 4px 12px 4px 0 !important;
        vertical-align: top;
    }
    body.type-detail .shp-tabs-wrapper .detail-parameters th {
        font-weight: 400 !important;
        color: var(--cp-muted) !important;
    }
}

/* =========================================================
   OPRAVY Z AUDITU (P1 + P2) – platí na celom webe
   ========================================================= */

/* kontrast: dostupnosť „Skladom" (farba je vložená priamo v HTML) */
[style*="#009901"],
[style*="rgb(0, 153, 1)"],
.availability-label,
.up-in-stock-label {
    color: var(--cp-stock) !important;
}
/* kontrast: sivé pomocné texty */
.price-measure,
.price-measure span,
.listItemsTotal,
.listSorting__control,
.p-detail-info,
.p-detail-info a,
.search-results-header__count,
.search-results-group-list a,
.display-results-group,
.next-step-back,
.cart-price,
#navigation .navigation-in a > span,
.prices .price-standard,
.prices .price-standard span,
.p-final-price-wrapper .price-standard,
.p-final-price-wrapper .price-standard span {
    color: var(--cp-muted) !important;
}
/* kontrast: štítky na fotkách */
.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; } /* biely text na žltej mal 1,6:1 */
/* kontrast: placeholder na tmavom pozadí (newsletter v pätičke) */
html body #newsletterWidget input::placeholder,
html body .custom-footer__newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.78) !important;
    opacity: 1;
}
/* kontrast: text vo vyhľadávaní */
.search-input::placeholder,
.query-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: var(--cp-placeholder) !important;
    opacity: 1;
}

@media (max-width: 767px) {

    /* štítky čitateľné (9 px → 11 px) */
    .flags .flag,
    .flag.flag-action,
    .flag.flag-new,
    .flag.flag-tip {
        font-size: 11px !important;
        line-height: 13px !important;
        padding: 4px 7px !important;
        letter-spacing: 0.3px !important;
    }
    .cp-pd-brand,
    .cp-pd-brand a {
        font-size: 11px !important;
    }


    /* polia formulárov 16 px – iPhone potom pri ťuknutí nepribližuje stránku */
    input[type="text"],
    input[type="email"],
    input[type="search"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input:not([type]),
    select,
    textarea {
        font-size: 16px !important;
    }

    /* dotykové plochy aspoň 44 px na výšku (bez posunu rozloženia) */
    .homepage-group-title .more-link-right {
        display: inline-flex !important;
        align-items: center;
        min-height: 44px;
        margin: -16px 0 !important;
        padding: 0 !important;
    }
    .toggle-top-products,
    .products-top-wrapper .button-wrapper .btn {
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center;
    }
    .p-detail-info a,
    .cp-pd-brand a {
        display: inline-block;
        padding: 6px 0;
        margin: -6px 0;
    }

    /* kocky podkategórií – celé názvy, žiadne „Bezkofeí…" */
    .subcategories li > a {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }
    .subcategories li a .text {
        width: auto !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 13px !important;
        line-height: 1.25 !important;
        hyphens: manual;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    /* plávajúce prvky: odznak Google cez celú spodnú šírku zakrýval obsah a tlačidlá */
    [id^="___ratingbadge_"] {
        display: none !important;
    }

    /* cookie lišta: kompaktná dole namiesto veľkého okna v strede */
    html.st-cookies-v2 .siteCookies {
        top: auto !important;
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        max-width: none !important;
        max-height: 60vh;
        overflow: auto;
        transform: none !important;
        margin: 0 !important;
        padding: 14px 16px !important;
        border-radius: 0 !important;
    }
    html.st-cookies-v2 .siteCookies::before,
    html.st-cookies-v2.st-cookies-img body .siteCookies::before,
    html.st-cookies-v2.st-cookies-img body .siteCookies.siteCookies--bottom::before {
        content: none !important;
        display: none !important;
        background: none !important;
    }
    html.st-cookies-v2.st-cookies-img body .siteCookies {
        padding-top: 14px !important;
    }
    html.st-cookies-v2 .siteCookies,
    html.st-cookies-v2 .siteCookies p,
    html.st-cookies-v2 .siteCookies span,
    html.st-cookies-v2 .siteCookies a {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }
    html.st-cookies-v2 .siteCookies .btn,
    html.st-cookies-v2 .siteCookies button {
        min-height: 44px;
    }
}

/* =========================================================
   FILTROVAŤ + ZORADIŤ vedľa seba aj v „počítačovom" režime
   doplnku filtrov (bez rozbaľovacieho nadpisu – tlačidlo pridá JS)
   ========================================================= */
@media (max-width: 767px) {
    .category-content-wrapper > .category-header {
        flex: 1 1 0 !important;
        order: 1 !important;
        display: block !important;
        min-width: 0;
        margin: 0 0 16px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    .category-content-wrapper > .category-header .listItemsTotal {
        display: none !important;
    }
    .listSorting.cp-sort {
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    .listSorting.cp-sort > .cp-sort-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        height: 44px;
        margin: 0;
        padding: 0 36px 0 14px;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%231e2a1e' stroke-width='1.8' 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 14px center / 14px 14px;
        border: 1px solid #1e2a1e;
        border-radius: 0;
        color: #1e2a1e;
        font-family: "Google Sans", sans-serif;
        font-size: 12px;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        text-align: left;
        cursor: pointer;
    }
    .listSorting.cp-sort > .cp-sort-toggle:focus-visible {
        outline: 2px solid #1e2a1e;
        outline-offset: 2px;
    }
    .listSorting.cp-sort:not(.cp-open) .listSorting__controls {
        display: none !important;
    }
    .listSorting.cp-sort.cp-open .listSorting__controls {
        position: absolute !important;
        top: calc(100% + 6px);
        left: 0;
        right: 0;
        z-index: 20;
        display: block !important;
        margin: 0 !important;
        padding: 6px !important;
        background: #fff !important;
        border: 1px solid #1e2a1e;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        list-style: none;
    }
    .listSorting.cp-sort .listSorting__controls li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    html body .listSorting.cp-sort .listSorting__control {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #0f0f0f !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        text-align: left !important;
    }
    html body .listSorting.cp-sort .listSorting__control--current {
        background: #f2f2f2 !important;
        font-weight: 600 !important;
    }
}

@media (max-width: 767px) {
    /* 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: 16px !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 (max-width: 767px) {
    /* š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 (max-width: 767px) {
    /* 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 (max-width: 767px) {
    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 (max-width: 767px) {
    /* =========================================================
       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: 26px !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: 20px !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: 17px !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: 16px !important;
        line-height: 1.6 !important;
    }
    html body .continent-intro .btn-secondary {
        font-size: 13px !important;
        letter-spacing: 0.08em !important;
    }
}

@media (max-width: 767px) {
    /* 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 (max-width: 767px) {
    /* =========================================================
       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: nowrap !important;
        justify-content: flex-start;
        gap: 14px;
        margin: 0 !important;
        padding: 4px 0 8px !important;
        list-style: none;
        overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .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 88px !important;
        width: 88px !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: 88px !important;
        height: 88px !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: 11px !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);
    }
}

@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;
    }
}

@media (max-width: 767px) {
    /* =========================================================
       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: 40px !important;
    }
    html body .homepage-group-title {
        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }
    html body .cp-circles {
        margin: 40px 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: 24px !important;
    }
    html body .products-top-wrapper {
        margin-top: 40px !important;
    }
    html body .products-top-header {
        margin: 0 0 16px !important;
    }
}

@media (max-width: 767px) {
    /* =========================================================
       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; }
    }
}

@media (max-width: 767px) {
    /* lepkavé „Do košíka" na mobile */
    .cp-sticky-buy {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2147482000;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--cp-line);
        box-shadow: 0 -6px 18px rgba(15, 15, 15, 0.08);
        transform: translateY(110%);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .cp-sticky-buy.is-visible {
        transform: translateY(0);
    }
    .cp-sticky-buy__info {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1 1 auto;
    }
    .cp-sticky-buy__name {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 12px;
        line-height: 16px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--cp-muted);
    }
    .cp-sticky-buy__price {
        font-size: 17px;
        font-weight: 600;
        line-height: 22px;
        color: var(--cp-ink);
    }
    .cp-sticky-buy__btn {
        flex: 0 0 auto;
        height: 48px;
        padding: 0 22px;
        border: 0;
        border-radius: 0;
        background: var(--cp-dark);
        color: #fff;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .cp-sticky-buy__btn:focus-visible {
        outline: 2px solid var(--cp-dark);
        outline-offset: 2px;
    }
    @media (prefers-reduced-motion: reduce) {
        .cp-sticky-buy { transition: none; }
    }
}
