/* najvirivka.sk – dizajn PC + mobil, v1 2026-11-04 */
/* Pravidlá: mobil = vlastný @media (max-width:767px) + body.mobile, PC = vlastný @media (min-width:768px) + body.desktop. */
/* Komentáre len jednoriadkové. Nezávislé od bloku piktogramov v menu. */

/* ===== A1 farby a číslice ===== */
:root { --nv-navy: #0F2B43; --nv-navy-2: #0B2236; --nv-aqua: #72C7EE; --nv-aqua-l: #DFF5FC; --nv-aqua-50: #EEF7FB; --nv-orange: #C2410C; --nv-orange-d: #9A3412; --nv-muted: #5B7083; --nv-shadow: 0 14px 28px -16px rgba(15, 43, 67, .35); }
body.template-14 { font-variant-numeric: lining-nums; }
body.template-14 .price, body.template-14 .price-final, body.template-14 .price-additional, body.template-14 .top-products-content, body.template-14 .variant-price-wrap, body.template-14 .detail-parameters, body.template-14 .contact-box { font-variant-numeric: lining-nums tabular-nums; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== A2 typografia ===== */
body.template-14 h1, body.template-14 .h1, body.template-14 h2, body.template-14 .homepage-group-title { letter-spacing: -.01em; text-wrap: balance; }
body.template-14 .homepage-group-title { color: var(--nv-navy); }
body.template-14 p, body.template-14 .category-perex, body.template-14 .welcome-wrapper { text-wrap: pretty; }
body.template-14 .welcome-wrapper .h1, body.template-14 .welcome-wrapper h1 { font-size: 32px; line-height: 1.2; }
@media (max-width: 767px) { body.mobile { font-size: 16px; line-height: 1.5; } }
@media (max-width: 767px) { body.mobile .welcome-wrapper .h1, body.mobile .welcome-wrapper h1 { font-size: 26px; } }
@media (max-width: 767px) { body.mobile .category-perex, body.mobile .welcome-wrapper p { font-size: 16px; line-height: 1.55; } }

/* ===== A3 hlavička a menu na PC ===== */
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .site-name { padding-top: 12px; padding-bottom: 12px; } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .site-name a img { max-height: 44px; width: auto; } }
@media (min-width: 992px) { body.desktop #header .header-top .header-top-wrapper .site-name a img { max-height: 76px; } }
@media (min-width: 768px) { body.desktop #navigation .navigation-in > .menu-level-1 > li > a { text-transform: none; font-size: clamp(14px, 1.18vw, 17px); font-weight: 700; letter-spacing: 0; color: var(--nv-navy); padding: 12px clamp(10px, 1.25vw, 18px); border-radius: 10px; position: relative; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; } }
@media (min-width: 768px) { body.desktop #navigation .navigation-in > .menu-level-1 > li > a > b { font-weight: 700; font-size: clamp(14px, 1.18vw, 17px); } }
@media (min-width: 768px) { body.desktop #navigation .navigation-in > .menu-level-1 > li > a:hover,body.desktop.id-3995 #navigation li.menu-item-3995 > a, body.desktop.id-3368 #navigation li.menu-item-3368 > a, body.desktop.id-3380 #navigation li.menu-item-3380 > a, body.desktop.id-3389 #navigation li.menu-item-3389 > a, body.desktop.id-3470 #navigation li.menu-item-3470 > a { background-color: #fff; box-shadow: 0 6px 14px -10px rgba(15, 43, 67, .5); } }
@media (min-width: 768px) { body.desktop #navigation .navigation-in > .menu-level-1 > li > a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--nv-orange); transform: scaleX(0); transition: transform .2s ease; } }
@media (min-width: 768px) { body.desktop #navigation .navigation-in > .menu-level-1 > li > a:hover::after, body.desktop.id-3995 #navigation li.menu-item-3995 > a::after, body.desktop.id-3368 #navigation li.menu-item-3368 > a::after, body.desktop.id-3380 #navigation li.menu-item-3380 > a::after, body.desktop.id-3389 #navigation li.menu-item-3389 > a::after, body.desktop.id-3470 #navigation li.menu-item-3470 > a::after { transform: scaleX(1); } }

/* ===== A3b PC hlavička: logo vľavo, vyhľadávacie pole v strede, ikonky vpravo ===== */
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper { flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: clamp(16px, 3vw, 48px); } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper > .navigation-tools, body.desktop #header .header-top .header-top-wrapper::before, body.desktop #header .header-top .header-top-wrapper::after { display: none; } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .site-name { order: 1; flex: 1 1 0; min-width: max-content; width: auto; max-width: none; text-align: left; padding-right: 0; } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper > .user-action, body.desktop #header .header-top .header-top-wrapper > .user-action > .user-action-in { display: contents; } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .user-action-search { order: 2; display: block; position: relative; top: auto; left: auto; right: auto; flex: 0 1 640px; width: auto; max-width: 640px; min-width: 260px; margin: 0; padding: 0; background: transparent; box-shadow: none; z-index: 5; } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .user-action-login, body.desktop #header .header-top .header-top-wrapper .user-action-cart { top: calc(100% + 52px); } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .navigation-buttons { order: 3; flex: 1 1 0; min-width: max-content; width: auto; max-width: none; justify-content: flex-end; } }
@media (min-width: 768px) { body.desktop #header .header-top .header-top-wrapper .site-name a { margin-left: 0; margin-right: 0; } }
@media (min-width: 768px) { body.desktop #header .navigation-buttons [data-testid="linkSearchIcon"], body.desktop #header .user-action-search .search-widget-close { display: none; } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-form, body.desktop #header .user-action-search fieldset { margin: 0; padding: 0; border: 0; width: 100%; } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-form-input-group { display: flex; align-items: center; width: 100%; background: #fff; border: 2px solid #B7DDEF; border-radius: 12px; padding: 4px 4px 4px 14px; transition: border-color .2s ease, box-shadow .2s ease; } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-form-input-group:focus-within { border-color: var(--nv-navy); box-shadow: 0 0 0 4px rgba(114, 199, 238, .35); } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-input { flex: 1 1 auto; min-width: 0; height: 40px; border: 0; background: transparent; box-shadow: none; font-size: 15px; color: var(--nv-navy); padding: 0 8px; } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-input:focus-visible { outline: none; } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-button { flex: 0 0 auto; height: 40px; padding: 0 20px; border-radius: 9px; background: var(--nv-orange); border-color: var(--nv-orange); color: #fff; font-weight: 700; } }
@media (min-width: 768px) { body.desktop #header .user-action-search .search-button:hover { background: var(--nv-orange-d); border-color: var(--nv-orange-d); } }

/* ===== A4 pätička ===== */
body.template-14 #footer { background: var(--nv-navy); color: #E6F1F7; }
body.template-14 #footer a { color: #E6F1F7; text-decoration: none; transition: color .2s ease; }
body.template-14 #footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.template-14 #footer .pageElement__heading, body.template-14 #footer .pageElement__heading span { color: var(--nv-aqua); }
body.template-14 #footer .footer-bottom-full-width, body.template-14 #footer .footer-bottom { background-color: var(--nv-navy-2); color: #B9CCDA; }
body.template-14 #footer .footer-bottom .copyright, body.template-14 #footer .footer-bottom strong, body.template-14 #footer .footer-bottom a { color: #B9CCDA; }
@media (max-width: 767px) { body.mobile #footer .custom-footer__articles li a, body.mobile #footer .contact-box a { display: inline-block; padding: 8px 0; } }

/* ===== B5 karta produktu ===== */
body.template-14 .products .p .name, body.template-14 .product .p .name { color: var(--nv-navy); line-height: 1.35; }
body.template-14 .product .p .price-final strong, body.template-14 .products .p .price-final strong { font-size: 20px; font-weight: 800; color: var(--nv-orange); }
body.template-14 .product .p .pr-list-unit, body.template-14 .products .p .pr-list-unit { font-size: 13px; font-weight: 500; color: var(--nv-muted); }
body.template-14 .product .p .availability, body.template-14 .products .p .availability { font-size: 13px; line-height: 1.35; }
body.template-14 .product .p { height: 100%; }
body.template-14 .product .p .p-in, body.template-14 .product .p .p-bottom, body.template-14 .product .p .p-bottom > div { flex: 1 1 auto; display: flex; flex-direction: column; }
body.template-14 .product .p .p-tools { margin-top: auto; }
@media (min-width: 768px) { body.desktop .product .p { border-radius: 14px; transition: box-shadow .25s ease, transform .25s ease; } }
@media (min-width: 768px) { body.desktop .product .p:hover { box-shadow: var(--nv-shadow); transform: translateY(-2px); } }
@media (min-width: 768px) { body.desktop .product .p .image img { transition: transform .35s ease; } }
@media (min-width: 768px) { body.desktop .product .p:hover .image img { transform: scale(1.03); } }

/* kontrast AA: zelená „Skladom“ zo Shoptetu (#43A05F, 3,3:1) je inline štýl, preto !important */
body.template-14 [style*="43A05F" i] { color: #2E7D4B !important; }
body.template-14 .price-additional { color: var(--nv-muted); }
@media (min-width: 768px) { body.desktop .box-categories .active > a, body.desktop .box-categories li.active > a { color: var(--nv-orange-d); } }

/* ===== B6 štítky – jedna farebná rodina ===== */
body.template-14 .flags-default .flag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; padding: 5px 9px; border-radius: 6px; }
body.template-14 .flags-default .flag-tip { background: var(--nv-navy); color: #fff; }
body.template-14 .flags-default .flag-freeshipping { background: var(--nv-aqua); color: var(--nv-navy); }
body.template-14 .flags-default .flag-new { background: #fff; color: var(--nv-orange); box-shadow: inset 0 0 0 2px var(--nv-orange); }
body.template-14 .flags-extra .flag-freeshipping { background: var(--nv-aqua); color: var(--nv-navy); }
/* štítky na karte nad obrázkom v jednom riadku, neprekrývajú fotku */
body.template-14 .product .p { position: relative; }
body.template-14 .product .p > a.image { display: block; padding-top: 30px; }
body.template-14 .product .p > a.image .flags-default { position: absolute; top: 0; left: 0; right: 0; display: flex; flex-wrap: nowrap; justify-content: center; gap: 4px; }
body.template-14 .product .p > a.image .flags-default .flag { margin: 0; white-space: nowrap; }
@media (max-width: 767px) { body.mobile .product .p > a.image { padding-top: 26px; } }
@media (max-width: 767px) { body.mobile .product .p > a.image .flags-default .flag { font-size: 10px; letter-spacing: .03em; padding: 4px 6px; } }

/* ===== B7 tlačidlá – odozva a fokus ===== */
body.template-14 .btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .1s ease, box-shadow .2s ease; }
body.template-14 .btn:active { transform: scale(.98); }
body.template-14 .btn-cart:hover, body.template-14 .btn-conversion:hover { box-shadow: 0 8px 18px -10px rgba(194, 65, 12, .7); }
body.template-14 a:focus-visible, body.template-14 button:focus-visible, body.template-14 .btn:focus-visible, body.template-14 input:focus-visible, body.template-14 select:focus-visible { outline: 3px solid var(--nv-navy); outline-offset: 2px; }
body.template-14 #footer a:focus-visible, body.template-14 #footer button:focus-visible { outline-color: var(--nv-aqua); }
@media (prefers-reduced-motion: reduce) { body.template-14 .product .p, body.template-14 .product .p .image img, body.template-14 .btn { transition: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { body.template-14 #navigation a, body.template-14 #navigation a::after { transition: none; } }

/* ===== B8 detail produktu ===== */
body.template-14 #choose-variant { background: var(--nv-orange); border-color: var(--nv-orange); color: #fff; font-size: 16px; font-weight: 700; min-height: 52px; padding: 14px 32px; border-radius: 10px; }
body.template-14 #choose-variant:hover { background: var(--nv-orange-d); border-color: var(--nv-orange-d); color: #fff; }
body.template-14 .p-detail .stars-wrapper:has(.stars > .star-off:first-child) { display: none; }
body.template-14 .p-detail .brand-wrapper:has(a[href$="/znacka/00/"]), body.template-14 .p-detail .brand-wrapper:has(a[href$="/znacka/01/"]) { display: none; }
body.template-14 .p-detail .p-price-wrapper .pr-list-unit { font-size: .5em; font-weight: 600; color: var(--nv-muted); }
@media (min-width: 768px) { body.desktop .p-detail .p-image { background: var(--nv-aqua-50); border-radius: 16px; } }

/* ===== C9 pruh výhod ===== */
@media (min-width: 768px) { body.desktop .benefitBanner { display: flex; flex-direction: row; flex-wrap: nowrap; background: var(--nv-aqua-50); border-radius: 16px; padding: 18px clamp(12px, 1.7vw, 24px); gap: 16px; } }
@media (min-width: 768px) { body.desktop .benefitBanner__item { flex: 1 1 0; min-width: 0; } }
@media (min-width: 768px) { body.desktop .benefitBanner__item { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 14px; text-align: left; margin: 0; padding: 0; } }
@media (min-width: 768px) { body.desktop .benefitBanner__picture { margin: 0; flex: 0 0 auto; } }
@media (min-width: 768px) { body.desktop .benefitBanner__img { width: clamp(32px, 3vw, 44px); height: clamp(32px, 3vw, 44px); } }
@media (min-width: 768px) { body.desktop .benefitBanner__title { font-size: clamp(13px, 1.1vw, 16px); line-height: 1.3; } }
@media (min-width: 768px) { body.desktop .benefitBanner__data { font-size: 13px; color: var(--nv-muted); } }
@media (max-width: 767px) { body.mobile .benefitBanner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; background: var(--nv-aqua-50); border-radius: 14px; padding: 14px 8px; margin: 16px 0; } }
@media (max-width: 767px) { body.mobile .benefitBanner__item { display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0; padding: 0; width: auto; } }
@media (max-width: 767px) { body.mobile .benefitBanner__picture { margin: 0 0 6px; } }
@media (max-width: 767px) { body.mobile .benefitBanner__img { width: 34px; height: 34px; } }
@media (max-width: 767px) { body.mobile .benefitBanner__title { font-size: 13px; line-height: 1.25; word-break: normal; overflow-wrap: normal; hyphens: manual; } }
@media (max-width: 767px) { body.mobile .benefitBanner__data { font-size: 11.5px; line-height: 1.3; color: var(--nv-muted); word-break: normal; overflow-wrap: normal; hyphens: manual; } }

/* ===== C9b PC kategória: pruh výhod hneď pod podkategóriami (mriežka cez display:contents) ===== */
@media (min-width: 768px) { body.desktop.type-category #content-wrapper { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto auto auto auto auto minmax(0, 1fr); } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper > .content-wrapper-in, body.desktop.type-category #content-wrapper main#content, body.desktop.type-category #content-wrapper .category-top { display: contents; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper > .breadcrumbs { grid-column: 1 / -1; grid-row: 1; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper aside.sidebar { grid-column: 1; grid-row: 2 / -1; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper .category-top > *, body.desktop.type-category #content-wrapper main#content > .category-content-wrapper, body.desktop.type-category #content-wrapper > .benefit-banners-full-width { grid-column: 2; margin-left: 16px; margin-right: 16px; min-width: 0; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper .category-top > .category-title { grid-row: 2; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper .category-top > .category-perex { grid-row: 3; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper .category-top > .subcategories { grid-row: 4; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper > .benefit-banners-full-width { grid-row: 5; width: auto; position: static; margin-top: 8px; margin-bottom: 24px; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper > .benefit-banners-full-width .container-full-width { padding: 0; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper > .benefit-banners-full-width .benefitBanner { margin: 0; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper .category-top > .products-top-wrapper { grid-row: 6; } }
@media (min-width: 768px) { body.desktop.type-category #content-wrapper main#content > .category-content-wrapper { grid-row: 7; } }

/* ===== C10 lepiace „Zvoľte variant“ na mobile ===== */
@media (max-width: 767px) { body.mobile .p-variants-block #choose-variant { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(15, 43, 67, .55); } }
@media (max-width: 767px) { body.mobile.type-product:has(#choose-variant) { padding-bottom: 80px; } }
@media (max-width: 767px) { body.mobile.user-action-visible .p-variants-block #choose-variant { display: none; } }

/* ===== C10a produkt: bez prepínania záložiek – najprv Popis, pod ním Varianty (len keď sú to jediné 2 záložky) ===== */
body.type-detail .p-detail-tabs-wrapper:has(#tab-content > #variants):has(#tab-content > #description):not(:has(#tab-content > .tab-pane:not(#variants):not(#description))) .shp-tabs-row { display: none; }
body.type-detail .p-detail-tabs-wrapper:has(#tab-content > #variants):has(#tab-content > #description):not(:has(#tab-content > .tab-pane:not(#variants):not(#description))) #tab-content { display: flex; flex-direction: column; gap: 32px; }
body.type-detail .p-detail-tabs-wrapper:has(#tab-content > #variants):has(#tab-content > #description):not(:has(#tab-content > .tab-pane:not(#variants):not(#description))) #tab-content > .tab-pane { display: block; opacity: 1; }
body.type-detail .p-detail-tabs-wrapper:has(#tab-content > #variants):has(#tab-content > #description):not(:has(#tab-content > .tab-pane:not(#variants):not(#description))) #tab-content > #description { order: -1; }
body.type-detail #variants { scroll-margin-top: 84px; }
body.type-detail .p-detail-tabs-wrapper:has(#tab-content > #variants):has(#tab-content > #description):not(:has(#tab-content > .tab-pane:not(#variants):not(#description))) #tab-content > #variants::before { content: "Výber variantu"; display: block; font-family: Nunito, sans-serif; font-size: 24px; font-weight: 700; color: var(--nv-navy); margin: 0 0 12px; }

/* ===== C10b varianty na mobile – kompaktné riadky (vložka má 190 RAL variantov) ===== */
@media (max-width: 767px) { body.mobile .variant-table .table-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 48px; grid-template-areas: "img info cart" "img price cart"; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 2px; margin: 0; text-align: left; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row > .variant-name-wrapper { display: contents; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-image { grid-area: img; width: 52px; height: 52px; margin: 0; padding: 0; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-image img { width: 52px; height: 52px; max-width: none; object-fit: contain; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row > .variant-name-wrapper > div:not(.variant-image) { grid-area: info; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; text-align: left; font-size: 12.5px; line-height: 1.35; margin: 0; padding: 0; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-name { flex-basis: 100%; font-size: 14px; margin: 0; padding: 0; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-code { display: none; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .delivery-time { font-size: 12.5px; margin: 0; padding: 0; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row > .table-col.price { grid-area: price; width: auto; float: none; margin: 0; padding: 0; text-align: left; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-price-wrap { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; row-gap: 0; margin: 0; padding: 0; text-align: left; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .price-final { font-size: 16px; white-space: nowrap; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .price-final .pr-list-unit { font-size: 12px; font-weight: 600; color: var(--nv-muted); } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .price-additional { font-size: 12px; white-space: nowrap; color: var(--nv-muted); } }
@media (max-width: 767px) { body.mobile .variant-table .table-row > .table-col.cart { grid-area: cart; width: auto; float: none; margin: 0; padding: 0; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-cart .quantity { display: none; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-cart fieldset, body.mobile .variant-table .table-row .variant-cart { margin: 0; padding: 0; justify-content: flex-end; } }
@media (max-width: 767px) { body.mobile .variant-table .table-row .variant-cart .btn-cart { width: 48px; height: 48px; min-width: 0; padding: 0; margin: 0; } }
@media (max-width: 767px) { body.mobile .variant-table:has(.table-row:nth-child(9)) { max-height: 68vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border: 1px solid #D5E6EF; border-radius: 12px; padding: 0 10px; } }
@media (min-width: 768px) { body.desktop .variant-table:has(.table-row:nth-child(9)) { max-height: 680px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #D5E6EF; border-radius: 12px; } }
/* náznak, že dlhý zoznam variantov pokračuje */
body.template-14 .variant-table:has(.table-row:nth-child(9))::after { content: ""; position: sticky; bottom: 0; display: block; height: 36px; margin-top: -36px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }

/* ===== C11 podkategórie na mobile – 2 stĺpce ===== */
@media (max-width: 767px) { body.mobile #content ul.subcategories.with-image { display: flex; flex-wrap: wrap; margin-left: -4px; margin-right: -4px; } }
@media (max-width: 767px) { body.mobile #content ul.subcategories.with-image > li { width: 50%; flex: 0 0 50%; padding: 4px; margin: 0; display: flex; } }
@media (max-width: 767px) { body.mobile #content ul.subcategories.with-image > li > a { flex: 1 1 auto; min-height: 60px; height: auto; padding: 8px 28px 8px 10px; gap: 8px; border-radius: 10px; } }
@media (max-width: 767px) { body.mobile #content ul.subcategories.with-image > li > a .text { font-size: 14px; line-height: 1.25; white-space: normal; overflow: visible; text-overflow: clip; display: block; max-height: none; } }
@media (max-width: 767px) { body.mobile #content ul.subcategories.with-image > li > a .image { flex: 0 0 28px; width: 28px; } }

/* ===== C12 dotykové ciele ===== */
body.template-14 .product-slider-pagination .pagination-button { height: 30px; padding-top: 14px; padding-bottom: 14px; background-clip: content-box; box-sizing: border-box; }
@media (max-width: 767px) { body.mobile .product-slider-navigation { width: 44px; height: 44px; } }

/* ===== C13 cookie lišta na mobile ===== */
@media (max-width: 767px) { body.mobile .siteCookies--bottom .siteCookies__form { padding: 14px 16px; } }
@media (max-width: 767px) { body.mobile .siteCookies--bottom .siteCookies__text { font-size: 13px; line-height: 1.35; margin-bottom: 2px; } }
@media (max-width: 767px) { body.mobile .siteCookies--bottom .siteCookies__links { margin: 6px 0 0; text-align: left; } }
@media (max-width: 767px) { body.mobile .siteCookies--bottom .siteCookies__link { border: 0; background: none; padding: 4px 0; min-height: 0; height: auto; line-height: 1.3; width: auto; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--nv-navy); } }
@media (max-width: 767px) { body.mobile .siteCookies--bottom .siteCookies__buttonWrap { display: flex; flex-direction: row; gap: 8px; margin-top: 10px; } }
@media (max-width: 767px) { body.mobile .siteCookies--bottom .siteCookies__button { flex: 1 1 0; min-height: 44px; margin: 0; } }

/* ===== bočný panel na PC ===== */
@media (min-width: 768px) { body.desktop .sidebar .box-bg-variant { border-radius: 16px; } }
@media (min-width: 768px) { body.desktop .top-products-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.3; } }
