/* ============================================================================
   flexity-redesign.css  ·  v1 (2026-11-27)
   Vzhľad k flexity-redesign.js. Testovací obchod 801327 ho načítava v hlavičke šablóny,
   takže pravidlá platia od prvého vykreslenia (strom kategórií nebliká rozbalený).
   Triedy .flx-* vkladá skript; pravidlá na natívne triedy témy sú obmedzené na .type-category.
   Farby: zelená #9ac416 (na zelenom podklade čierny text), tmavá #2b2b2b, text #5c636d.
   ========================================================================== */

/* ---------------------------------------------------------------- kategória */

/* hlavička nad stránkou ostáva len pre omrvinky */
.type-category .cat-header { padding-bottom: 0; background: none; }
.type-category .cat-header .breadcrumbs { padding-top: 12px; padding-bottom: 8px; }
.type-category .cat-header .poradna-cat { display: none; }
.flx-hidden { display: none !important; }

.flx-cat-head { margin: 0 0 14px; }
.flx-cat-head .category-title { font-size: 28px; line-height: 1.2; margin: 0 0 8px; }
.flx-cat-head .category-perex { max-width: none; min-height: 0 !important; font-size: 15px; line-height: 1.6; margin: 0; }
.flx-cat-head .category-perex > * { margin-bottom: 0; }

/* perex na 2 riadky; ostatné bloky (obrázky, hĺbka) až po „Čítať viac“ */
.flx-clamp:not(.rozbaleno) > :first-child {
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; max-height: 3.2em;
}
.flx-clamp:not(.rozbaleno) > :not(:first-child):not(.vice) { display: none !important; }
.flx-clamp:not(.rozbaleno) > :first-child { margin-bottom: 0 !important; }
.flx-clamp .vice { display: inline-block; margin-top: 2px; font-size: 14px; }
.flx-clamp.rozbaleno > :not(.vice) { margin-bottom: 12px; }
button.flx-vice { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; cursor: pointer; color: inherit; text-decoration: underline; }
button.flx-vice span + span, .flx-clamp.rozbaleno button.flx-vice span:first-of-type { display: none; }
.flx-clamp.rozbaleno button.flx-vice span + span { display: inline; }

/* Pomôžeme s výberom: podfarbený riadok tlačidiel, mierne odlíšený od stránky (owner 3. 12.) */
.flx-help {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #f4f9e8; border: 1px solid #e3efc4;
}
.flx-help__t { font-weight: 700; font-size: 13px; color: #5c636d; white-space: nowrap; }
.flx-help__t::after { content: ":"; }
.flx-help__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 0 1 auto; min-width: 0; }
.flx-help__link, .flx-help__all, .flx-help .flx-tools-in a, .flx-help .flx-tools-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid #2b2b2b; background: #fff; color: #2b2b2b !important; font-size: 13px; font-weight: 600;
  line-height: 1.2; text-decoration: none !important; white-space: nowrap;
}
.flx-help__link:hover, .flx-help__link:focus-visible, .flx-help .flx-tools-in a:hover { background: #2b2b2b; color: #fff !important; }
.flx-help__link--lab { border-color: #cfe39a; background: #fff; }
.flx-help__link--lab:hover, .flx-help__link--lab:focus-visible { border-color: #2b2b2b; }
.flx-help__link--lab::after { content: "↗"; font-size: 12px; }
.flx-help__all { border-color: transparent; background: none; text-decoration: underline !important; padding-left: 4px; padding-right: 0; }
.flx-help__all::after { content: "→"; }
.flx-help__lab { display: contents; }
/* sprievodca a nástroje vložené do riadku: bez vlastného rámu a úvodného textu */
.flx-help [data-flxg], .flx-help .flx-tools { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.flx-help .flxg__bar { padding: 0; gap: 8px; flex-wrap: wrap; justify-content: flex-start; min-height: 0; border: 0; background: none; }
.flx-help .flxg__teaser, .flx-help .flx-tools-txt { display: none; }
.flx-help .flxg__btn { padding: 7px 14px; border-radius: 999px; font-size: 13px; line-height: 1.2; width: auto; }
/* nástroje Labu, ktoré do sprievodcu vkladá flexity-tools.js, sú už v našich tlačidlách (RO náhľad 3. 12.) */
.flx-help [data-flxg] .flx-tools-in { display: none !important; }
/* sprievodca je tlačidlo v rade s ostatnými; otvorený sa roztiahne na celú šírku riadku */
.flx-help [data-flxg] { flex: 0 0 auto; width: auto; }
.flx-help .flxg__bar { width: auto; }
.flx-help .flxg__btn { padding: 5px 12px; font-size: 12.5px; }
.flx-help__in:has(.flxg__body:not([hidden])) [data-flxg], .flx-help__in:has(.flxg__btn[aria-expanded="true"]) [data-flxg] { flex: 1 0 100%; }
.flx-help--empty .flx-help__in { display: none; }
.flx-help__link, .flx-help__all { padding: 5px 11px; font-size: 12.5px; }

/* podkategórie ako tlačidlá (GymBeam) s malou ikonou; kompaktné (owner 3. 12.) */
.type-category .category-top .subcategories { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0; }
.type-category .category-top .subcategories > li { width: auto !important; float: none; flex: 0 0 auto; padding: 0 !important; margin: 0 !important; }
.type-category .category-top .subcategories > li > a {
  display: inline-flex; align-items: center; height: auto; min-height: 0; padding: 5px 11px; border-radius: 6px;
  border: 1px solid #e4e6e8; background: #f4f5f5; color: #2b2b2b; font-size: 12.5px; font-weight: 600;
  line-height: 1.25; text-transform: none; text-decoration: none;
}
.type-category .category-top .subcategories > li > a:hover { border-color: #9ac416; background: #fff; }
/* ikona podkategórie vľavo od názvu (owner 3. 12.); miniatúra 140x100 má okraj, preto cover + zväčšenie */
.type-category .category-top .subcategories > li > a { padding: 3px 11px 3px 7px; }
.type-category .category-top .subcategories .image {
  display: inline-flex !important; width: 24px !important; height: 24px; flex: 0 0 24px;
  margin: 0 6px 0 -4px !important; padding: 0 !important; overflow: hidden;
}
.type-category .category-top .subcategories .image img {
  width: 24px !important; height: 24px !important; max-width: none; object-fit: cover; transform: scale(1.3); mix-blend-mode: multiply;
}
.type-category .category-top .subcategories > li > a { width: auto !important; max-width: none; }
.type-category .category-top .subcategories .text {
  width: auto !important; max-width: none !important; flex: none !important; padding: 0; margin: 0;
  white-space: nowrap; overflow: visible !important; text-overflow: clip !important;
}

/* bočný panel: 1/5 šírky */
@media (min-width: 992px) {
  .type-category .content-wrapper-in > .sidebar-left { width: 248px; flex: 0 0 248px; padding-right: 24px; }
}

/* strom kategórií: otvorená len aktívna vetva (CSS platí aj pred skriptom) */
/* téma má ul.expanded{display:block}: strom je úplne zbalený (owner 27. 11.), rozhoduje len .flx-open */
.box-categories .categories > ul, .box-categories li > ul { display: none !important; }
.box-categories [data-flx-rd]:not(.flx-open) > ul { display: none !important; }
.box-categories .flx-open.flx-open > ul:not(.flx-x) { display: block !important; }
.box-categories { margin-bottom: 16px; padding: 8px 0 !important; border: 1px solid #eceeef; border-radius: 12px; background: #fff; }
.box-categories .categories { border: 0; margin: 0; }
.box-categories .topic > a, .box-categories li > a {
  position: relative; display: block; padding: 6px 38px 6px 16px !important; font-size: 14px; line-height: 1.3; color: #2b2b2b; text-decoration: none;
}
.box-categories li > a { padding-top: 4px !important; padding-bottom: 4px !important; }
.box-categories .topic > a { font-weight: 700; }
.box-categories .categories > ul > li > a { padding-left: 24px !important; font-size: 13.5px; }
.box-categories li li > a { padding-left: 34px !important; font-size: 13px; }
.box-categories li li li > a { padding-left: 44px !important; }
.box-categories .topic.active > a, .box-categories li.active > a { color: #6f8f0f; background: #f4f9e8; }
.box-categories .topic > a:hover, .box-categories li > a:hover { background: #f6f7f7; }
.box-categories li li > a, .box-categories li > a { font-weight: 400; }
.box-categories .categories > ul > li > a { font-weight: 600; }
/* šípka vpravo namiesto „+/−“ témy vľavo (téma kreslí cez ::before/::after toho istého prvku) */
html body .box-categories .cat-trigger {
  position: absolute !important; top: 50% !important; left: auto !important; right: 8px !important;
  width: 26px !important; height: 26px !important; margin: -13px 0 0 !important; border-radius: 6px; cursor: pointer;
  display: flex !important; align-items: center; justify-content: center; background: none; transform: none !important;
}
html body .box-categories .cat-trigger::after { content: none !important; display: none !important; }
html body .box-categories .cat-trigger::before {
  content: "" !important; display: block !important; position: static !important; width: 7px !important; height: 7px !important;
  background: none !important; border: 0 !important; border-right: 2px solid #5c636d !important; border-bottom: 2px solid #5c636d !important;
  transform: rotate(45deg) !important; margin: -4px 0 0 !important; transition: transform .15s;
}
html body .box-categories .flx-open > a > .cat-trigger::before,
html body .box-categories .flx-open > .topic > a > .cat-trigger::before { transform: rotate(-135deg) !important; margin: 3px 0 0 !important; }
.box-categories .cat-trigger:hover { background: #eceeef !important; }
.box-categories .cat-trigger:focus-visible { outline: 2px solid #9ac416; }

/* filtre, top produkty, hodnotenie, Lab, vyhľadávanie, blog: rovnaké karty so zaoblenými rohmi */
.type-category .sidebar-left .box-filters, .type-category .sidebar-left .box-topProducts, .flx-rating, .flx-lab,
.type-category .sidebar-left .box-search, .type-category .sidebar-left .flx-blog {
  margin-bottom: 16px; border: 1px solid #eceeef; border-radius: 12px; background: #fff;
}
/* téma dáva boxom hranatý rám a vlastné okraje (box-bg-variant: margin-top 22px): všetky karty
   v paneli majú rovnaký zaoblený rám a rovnakú medzeru pod sebou (owner 3. 12.) */
.type-category .sidebar-left .sidebar-inner > .box, .type-category .sidebar-left > .box {
  margin: 0 0 16px !important; border: 1px solid #eceeef !important; border-radius: 12px !important; background: #fff !important; box-shadow: none !important;
}
.type-category .sidebar-left .box-search, .type-category .sidebar-left .flx-blog { padding: 12px 14px !important; }
/* filtre v štýle stromu kategórií (owner 3. 12.): odsadené od okraja, bez čiar medzi sekciami */
.type-category .sidebar-left .box-filters { padding: 6px 0 !important; }
.type-category #filters .slider-wrapper { padding: 8px 16px 12px !important; margin: 0 !important; border: 0 !important; }
.type-category #filters .slider-wrapper h4 { padding: 0 0 8px !important; margin: 0 !important; font-size: 14px; }
.type-category #filters .filter-section { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.type-category #filters .filter-sections { padding: 0 !important; margin: 0 !important; }
.type-category #filters .filter-section h4 {
  position: relative; margin: 0 !important; padding: 7px 16px !important; font-size: 14px; line-height: 1.3; cursor: pointer; border-radius: 0;
}
.type-category #filters .filter-section h4:hover { background: #f6f7f7; }
.type-category #filters .filter-section form { padding: 2px 16px 10px !important; margin: 0 !important; }
.type-category #filters .filter-section-count { padding: 6px 16px 4px !important; font-size: 13px; }
/* nástroje Flexity Lab medzi filtrami a vyhľadávaním */
.flx-lab { padding: 12px 8px 8px; }
.flx-lab__t { margin: 0 8px 6px; font-size: 14px; }
.flx-lab__a { position: relative; display: block; padding: 7px 26px 7px 8px; border-radius: 8px; color: #2b2b2b !important; text-decoration: none !important; }
.flx-lab__a::after { content: "↗"; position: absolute; right: 8px; top: 8px; font-size: 12px; color: #6f8f0f; }
.flx-lab__a:hover, .flx-lab__a:focus-visible { background: #f4f9e8; }
.flx-lab__name { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.3; }
.flx-lab__sub { display: block; font-size: 12px; line-height: 1.35; color: #5c636d; }
/* radenie: dlhšie názvy (RO „Cele mai ieftine“) sa nesmú orezať v tlačidle pevnej šírky */
.type-category #content .category-header { flex-wrap: wrap; row-gap: 8px; }
.type-category #content .listSorting { flex-wrap: wrap; }
.type-category #content .listSorting__control { width: auto !important; flex: 0 0 auto !important; white-space: nowrap; height: auto; min-height: 36px; }
/* menej miesta medzi podkategóriami a radením */
.type-category .category-top { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.type-category .category-top .products-top-wrapper { margin: 0 !important; }
.type-category #content .category-content-wrapper { padding-top: 18px !important; }
.type-category #filters .slider-wrapper .slider-header { padding-bottom: 0 !important; }
.type-category .sidebar-left .box-topProducts { padding: 12px 14px; }
.type-category .sidebar-left .box-topProducts .pageElement__heading { font-size: 14px; margin: 0 0 8px; }
.type-category .sidebar-left .box-topProducts ol.top-products { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.type-category .sidebar-left .box-topProducts ol.top-products > li {
  display: flex !important; align-items: center; gap: 10px; margin: 0 0 8px; padding: 0; min-height: 0;
}
.type-category .sidebar-left .box-topProducts ol.top-products > li:nth-child(n+5) { display: none !important; }
.type-category .sidebar-left .box-topProducts ol.top-products > li::before { display: none !important; }
.type-category .sidebar-left .box-topProducts .top-products-image { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.type-category .sidebar-left .box-topProducts img { width: 44px !important; height: 44px !important; object-fit: contain; border-radius: 6px; }
.type-category .sidebar-left .box-topProducts .top-products-content { flex: 1 1 auto; min-width: 0; padding: 0; font-size: 13px; line-height: 1.3; }
.type-category .sidebar-left .box-topProducts .top-products-name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.3; font-weight: 600;
}
.type-category .sidebar-left .box-topProducts .product-appendix { display: none; }
.type-category .sidebar-left .box-topProducts strong { display: block; font-size: 13px; margin-top: 2px; }
.flx-rating { padding: 14px 16px; }
.flx-rating__t { margin: 0 0 6px; font-size: 14px; }
.flx-rating__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.flx-rating__num { font-size: 26px; font-weight: 800; color: #2b2b2b; white-space: nowrap; }
.flx-rating__txt { font-size: 13px; }
.flx-rating__src { display: block; font-size: 12px; opacity: .7; margin: 2px 0 6px; }
.flx-rating__link { font-size: 13px; font-weight: 700; }
.type-category .sidebar-left .banner img { border-radius: 12px; }

/* mobil: kategórie sú v menu, panel ostáva len pre filtre; riadky sa posúvajú vodorovne */
@media (max-width: 767px) {
  .box-categories, .type-category .sidebar-left .box-topProducts, .flx-rating { display: none !important; }
  .flx-cat-head .category-title { font-size: 22px; }
  .flx-cat-head .category-perex { font-size: 14px; }
  /* Pomôžeme s výberom: nadpis nad tlačidlami, tlačidlá sa zalomia (nič neschované za okrajom) */
  .flx-help { margin-top: 10px; gap: 6px; }
  .flx-help__t { flex: 0 0 100%; }
  .flx-help__in { display: contents; }
  .flx-help__all { margin-left: 0; }
  /* podkategórie: jeden posuvný riadok od okraja po okraj */
  .type-category .category-top .subcategories { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -10px !important; padding: 0 10px 2px; }
  .flx-cat-head { margin-bottom: 12px; }
  .type-category #content .category-content-wrapper { padding-top: 12px !important; }
  .type-category #content #filters { margin-top: 0 !important; margin-bottom: 12px !important; }
  .type-category .category-top .subcategories::-webkit-scrollbar { display: none; }
}

/* ---------------------------------------------------------------- produkt */

/* galéria: mäkké rohy, jemný podklad, šípky a počítadlo */
html.flx-rd .type-detail .p-image-wrapper .p-image {
  position: relative; border-radius: 16px; overflow: hidden; background: #f6f7f7; border: 1px solid #eceeef;
}
html.flx-rd .type-detail .p-image-wrapper .p-image img { mix-blend-mode: multiply; }
.flx-gal__nav {
  position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.12);
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform .15s, background .15s;
}
.flx-gal__nav::before {
  content: ""; width: 10px; height: 10px; border-top: 2px solid #2b2b2b; border-right: 2px solid #2b2b2b;
}
.flx-gal__nav--prev { left: 12px; }
.flx-gal__nav--prev::before { transform: rotate(-135deg); margin-left: 4px; }
.flx-gal__nav--next { right: 12px; }
.flx-gal__nav--next::before { transform: rotate(45deg); margin-right: 4px; }
.flx-gal__nav:hover { background: #fff; transform: scale(1.06); }
.flx-gal__nav:focus-visible { outline: 2px solid #9ac416; outline-offset: 2px; }
.flx-gal__count {
  position: absolute; right: 12px; bottom: 12px; z-index: 5; padding: 3px 9px; border-radius: 999px;
  background: rgba(43,43,43,.72); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.4; pointer-events: none;
}
/* náhľady: vodorovný pás so zaoblenými rohmi, aktívny so zeleným rámom */
html.flx-rd .type-detail .p-thumbnails-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding: 10px 0 4px; }
html.flx-rd .type-detail .p-thumbnails-inner > div { display: contents; }
html.flx-rd .type-detail .p-thumbnails-inner a.p-thumbnail {
  display: block !important; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent;
  background: #f6f7f7; margin: 0 !important; opacity: .85; transition: opacity .15s, border-color .15s;
}
html.flx-rd .type-detail .p-thumbnails-inner a.p-thumbnail img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
html.flx-rd .type-detail .p-thumbnails-inner a.p-thumbnail.highlighted { border-color: #9ac416; opacity: 1; }
html.flx-rd .type-detail .p-thumbnails-inner a.p-thumbnail:hover { opacity: 1; }

/* srdiečko obľúbených na fotke vpravo hore (owner 27. 11.: tlačidlo košíka ostáva v plnej šírke) */
.flx-wl-heart--detail.flx-fav {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 44px; height: 44px; margin: 0 !important; padding: 0 !important; border-radius: 50%;
  border: 1px solid #e4e6e8; background: rgba(255,255,255,.92); display: inline-flex !important; align-items: center; justify-content: center;
  cursor: pointer; color: #e91b7d; box-shadow: 0 1px 6px rgba(0,0,0,.08);
}
.flx-wl-heart--detail.flx-fav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.flx-wl-heart--detail.flx-fav svg { width: 22px !important; height: 22px !important; fill: none; stroke: currentColor; stroke-width: 1.8; }
.flx-wl-heart--detail.flx-fav[aria-pressed="true"] svg, .flx-wl-heart--detail.flx-fav.is-active svg, .flx-wl-heart--detail.flx-fav.flx-wl-heart--on svg { fill: currentColor; }
.flx-wl-heart--detail.flx-fav:hover { border-color: #e91b7d; }

/* vodorovné pásy (náhľady, recenzie): bez posuvníka, prichytenie, okrúhle šípky a jemné stmievanie okrajov */
.flx-rail-wrap { position: relative; }
.flx-rail { scrollbar-width: none !important; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.flx-rail::-webkit-scrollbar { display: none; }
.flx-rail > *, .flx-rail > div > * { scroll-snap-align: start; }
.flx-rail-wrap--fade-r .flx-rail { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.flx-rail-wrap--fade-l .flx-rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px); mask-image: linear-gradient(90deg, transparent, #000 48px); }
.flx-rail-wrap--fade-l.flx-rail-wrap--fade-r .flx-rail { -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent); }
.flx-rail__btn {
  position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; padding: 0; border-radius: 50%;
  border: 1px solid #e4e6e8; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; color: #2b2b2b;
  display: flex; align-items: center; justify-content: center; transition: transform .15s ease;
}
.flx-rail__btn[hidden] { display: none; }
.flx-rail__btn::before { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.flx-rail__btn--prev { left: -6px; } .flx-rail__btn--prev::before { transform: rotate(-135deg); margin-left: 3px; }
.flx-rail__btn--next { right: -6px; } .flx-rail__btn--next::before { transform: rotate(45deg); margin-right: 3px; }
.flx-rail__btn:hover { transform: scale(1.08); }
.flx-rail__btn:focus-visible { outline: 2px solid #9ac416; outline-offset: 2px; }
.flx-rstrip__rail { position: relative; }
.flx-rstrip__rail .flx-rail__btn { top: 50%; }

/* pravý panel pod parametrami: karta značky a nástroje na výber (jednotný vzhľad pre všetky značky) */
.flx-side { display: flex; flex-direction: column; gap: 14px; margin: 20px 0; }
.flx-brand { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid #eceeef; }
.flx-brand__ico { flex: 0 0 40px; height: 40px; border-radius: 50%; background: #f4f9e8; position: relative; }
.flx-brand__ico::after { content: ""; position: absolute; left: 14px; top: 10px; width: 9px; height: 16px; border-right: 3px solid #6f8f0f; border-bottom: 3px solid #6f8f0f; transform: rotate(45deg); }
.flx-brand__txt { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.4; color: #5c636d; }
.flx-brand__txt strong { color: #2b2b2b; font-size: 15px; }
.flx-brand__all { margin-top: 4px; font-weight: 700; color: #6f8f0f !important; text-decoration: none; }
.flx-brand__all::after { content: " →"; }
.flx-brand__all:hover { text-decoration: underline; }
.flx-side-tools { padding: 16px 18px; border-radius: 14px; background: #f7f9f2; border: 1px solid #e3ecd0; }
.flx-side-tools__h { margin: 0 0 10px; font-size: 16px; }
.flx-side-link { display: flex; flex-direction: column; gap: 2px; padding: 12px 40px 12px 14px; margin-top: 8px; border-radius: 10px; background: #fff;
  border: 1px solid #e4e6e8; text-decoration: none !important; color: #5c636d !important; font-size: 13px; position: relative; transition: border-color .15s ease; }
.flx-side-link strong { color: #2b2b2b; font-size: 15px; }
.flx-side-link::after { content: "→"; position: absolute; right: 14px; top: 50%; margin-top: -11px; font-size: 18px; color: #6f8f0f; }
.flx-side-link--lab::after { content: "↗"; }
.flx-side-link:hover { border-color: #9ac416; }

/* hviezdičky: jeden prvok, výplň podľa --flx-stars */
.flx-stars { position: relative; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; color: #dfe2e4; white-space: nowrap; }
.flx-stars::before { content: "★★★★★"; }
.flx-stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--flx-stars, 0%); overflow: hidden; color: #f3ac45; }

/* sekcia hodnotení (Panakeia) */
.flx-reviews { margin: 32px 0; }
.flx-reviews__h { font-size: 24px; margin: 0 0 16px; }
.flx-reviews__grid { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.flx-reviews__sum { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid #eceeef; text-align: center; }
.flx-reviews__pct {
  width: 112px; height: 112px; margin: 0 auto 12px; border-radius: 50%; background: #9ac416; color: #1d1d1d;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1;
}
.flx-reviews__pct strong { font-size: 30px; font-weight: 800; }
.flx-reviews__pct span { font-size: 11px; max-width: 84px; margin-top: 2px; }
.flx-reviews__avg { display: flex; align-items: center; justify-content: center; gap: 8px; }
.flx-reviews__avg strong { font-size: 22px; }
.flx-reviews__avg .flx-stars { font-size: 20px; }
.flx-reviews__n { margin: 4px 0 12px; font-size: 13px; }
.flx-reviews__bars { list-style: none; margin: 0 0 16px; padding: 0; text-align: left; }
.flx-reviews__bars li { display: flex; align-items: center; gap: 8px; margin: 4px 0; font-size: 12px; }
.flx-reviews__lbl { flex: 0 0 28px; color: #5c636d; }
.flx-reviews__track { flex: 1 1 auto; height: 8px; border-radius: 4px; background: #eceeef; overflow: hidden; }
.flx-reviews__fill { display: block; height: 100%; background: #f3ac45; border-radius: 4px; }
.flx-reviews__cnt { flex: 0 0 34px; text-align: right; color: #5c636d; }
.flx-reviews__write, .flx-reviews__all {
  display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #2b2b2b; background: #fff; color: #2b2b2b;
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.flx-reviews__write:hover, .flx-reviews__all:hover { background: #2b2b2b; color: #fff; }
.flx-reviews__all { display: block; margin: 16px auto 0; }
.flx-reviews__none { margin: 0 0 12px; }
.flx-reviews__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.flx-rv { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #eceeef; }
.flx-rv__head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; font-size: 13px; }
.flx-rv__name { color: #2b2b2b; }
.flx-rv__date { color: #8a9096; font-size: 12px; white-space: nowrap; }
.flx-rv .flx-stars { font-size: 14px; }
.flx-rv__text { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }

/* recenzie z iných trhov: filter a štítok pôvodu */
.flx-reviews__chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.flx-reviews__chip { padding: 7px 14px; border-radius: 999px; border: 1px solid #dcdfe2; background: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: #2b2b2b; }
.flx-reviews__chip[aria-pressed="true"] { background: #2b2b2b; border-color: #2b2b2b; color: #fff; }
.flx-reviews__chip:focus-visible { outline: 2px solid #9ac416; outline-offset: 2px; }
.flx-rv[hidden] { display: none; }
.flx-rv__src { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: #3d6a8f; }

/* pás recenzií pri nákupe */
.flx-rstrip { margin: 16px 0 0; }
.flx-rstrip__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.flx-rstrip__link { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; color: #2b2b2b; }
.flx-rstrip__row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px; }
.flx-rstrip__row .flx-rv { flex: 0 0 min(280px, 80%); scroll-snap-align: start; }
.flx-rstrip__row .flx-rv__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }

/* nákupná lišta: počítač zhora, telefón zdola */
.flx-sticky {
  position: fixed; left: 0; right: 0; top: 0; z-index: 1000; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.12);
  transform: translateY(-110%); transition: transform .22s ease; visibility: hidden;
}
.flx-sticky--on { transform: none; visibility: visible; }
.flx-sticky__in { display: flex; align-items: center; gap: 14px; max-width: 1180px; margin: 0 auto; padding: 8px 16px; }
.flx-sticky__img { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #f6f7f7; }
.flx-sticky__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.flx-sticky__name { font-weight: 700; color: #2b2b2b; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flx-sticky__avail { font-size: 12px; color: #6f8f0f; }
.flx-sticky__price { font-size: 20px; white-space: nowrap; color: #2b2b2b; }
.flx-sticky__btn { padding: 12px 28px !important; white-space: nowrap; margin: 0 !important; }
.flx-flash { animation: flx-flash 1.2s ease; border-radius: 12px; }
@keyframes flx-flash { 0%, 60% { box-shadow: 0 0 0 3px #f3ac45; } 100% { box-shadow: 0 0 0 3px transparent; } }

@media (max-width: 767px) {
  html.flx-rd .type-detail .p-image-wrapper .p-image { border-radius: 12px; }
  .flx-gal__nav { width: 36px; height: 36px; margin-top: -18px; }
  .flx-gal__nav--prev { left: 8px; } .flx-gal__nav--next { right: 8px; }
  html.flx-rd .type-detail .p-thumbnails-inner a.p-thumbnail { flex-basis: 60px; width: 60px; height: 60px; }
  .flx-reviews__grid { grid-template-columns: 1fr; }
  .flx-reviews__list { grid-template-columns: 1fr; }
  .flx-sticky { top: auto; bottom: 0; transform: translateY(110%); box-shadow: 0 -2px 14px rgba(0,0,0,.12); padding-bottom: env(safe-area-inset-bottom); }
  .flx-sticky--on { transform: none; }
  .flx-sticky__img, .flx-sticky__name, .flx-sticky__avail { display: none; }
  .flx-sticky__in { padding: 8px 12px; gap: 10px; }
  .flx-sticky__txt { display: none; }
  .flx-sticky__price { flex: 0 0 auto; font-size: 18px; }
  .flx-sticky__btn { flex: 1 1 auto; }
  .flx-wl-heart--detail.flx-fav { top: 8px; right: 8px; width: 40px; height: 40px; }
  .flx-rail__btn { display: none; }
  .flx-brand { padding: 12px 14px; }
  body.flx-sticky-on #return-to-top { bottom: 88px !important; }
}

/* ---------------------------------------------------------------- košík */

/* zdieľaný košík: tlačidlo pod Pokračovať */
/* .next-step--cart je column-reverse: order -1 dá zdieľanie pod hlavné tlačidlo */
.flx-share { order: -1; margin-top: 12px; text-align: center; }
.flx-share__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #2b2b2b;
  background: #fff; color: #2b2b2b; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.flx-share__btn::before {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flx-share__btn:hover { background: #2b2b2b; color: #fff; }
.flx-share__msg { margin: 8px 0 0; font-size: 13px; min-height: 1em; }
.flx-share__url { width: 100%; margin-top: 6px; padding: 8px 10px; border: 1px solid #dcdfe2; border-radius: 8px; font-size: 13px; }

/* príjemca zdieľaného košíka */
.flx-shared {
  position: fixed; left: 50%; bottom: 24px; z-index: 1100; transform: translateX(-50%); width: min(520px, calc(100% - 24px));
  padding: 18px 20px; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.2); border: 1px solid #e3efc4;
}
.flx-shared__t { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #2b2b2b; }
.flx-shared__note { margin: 0 0 4px; font-size: 13px; }
.flx-shared__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.flx-shared__no { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }

/* krok 2: kto nakupuje */
.flx-who { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 20px; }
.flx-who__opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 16px 18px 16px 50px;
  border-radius: 14px; border: 1.5px solid #e4e6e8; background: #fff; color: #2b2b2b; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.flx-who__opt::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #b9bec3; background: #fff; box-sizing: border-box;
}
.flx-who__opt strong { font-size: 15px; }
.flx-who__opt span { font-size: 13px; color: #5c636d; }
.flx-who__opt[aria-pressed="true"] { border-color: #2b2b2b; background: #f7f8f8; }
.flx-who__opt[aria-pressed="true"]::before { border: 6px solid #2b2b2b; }
.flx-who__opt:hover { border-color: #9ac416; }
.flx-who__opt:focus-visible { outline: 2px solid #9ac416; outline-offset: 2px; }
.flx-rd-co .co-billing-address .company-shopping { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* krok 2: polia v mriežke (6 stĺpcov) */
/* Shoptet firemné údaje odkrýva triedou .visible (js-hidden ostáva) */
.flx-rd-co #checkoutContent fieldset.box, .flx-rd-co #checkoutContent #company-info.visible, .flx-rd-co #checkoutContent #company-info:not(.js-hidden) {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 14px; align-items: start;
}
.flx-rd-co #checkoutContent #company-info { grid-column: 1 / -1; }
.flx-rd-co #checkoutContent #company-info.js-hidden:not(.visible) { display: none; }
.flx-rd-co #checkoutContent fieldset.box > :not(.form-group):not(#company-info) { grid-column: 1 / -1; }
.flx-rd-co #checkoutContent .form-group { grid-column: span 6; margin-left: 0; margin-right: 0; min-width: 0; }
.flx-rd-co #checkoutContent .form-group.flx-col-4 { grid-column: span 4; }
.flx-rd-co #checkoutContent .form-group.flx-col-3 { grid-column: span 3; }
.flx-rd-co #checkoutContent .form-group.flx-col-2 { grid-column: span 2; }
.flx-rd-co #checkoutContent .form-group input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.flx-rd-co #checkoutContent .form-group select { width: 100% !important; max-width: none !important; }
.flx-rd-co #checkoutContent .form-group .form-control-wrapper { width: 100%; max-width: none; }
.flx-rd-co #checkoutContent .phone-form-group .form-control-wrapper { width: auto; flex: 1 1 auto; }
/* ikona nápovedy (IČ DPH) nesmie prekryť text v poli */
.flx-rd-co #checkoutContent .form-group-hasTooltip input { padding-right: 34px !important; }
/* jedna biela karta témy (.cart-content) so sekciami oddelenými čiarou, ako na Panakeii */
.flx-rd-co #checkoutContent .co-box, .flx-rd-co #checkoutContent fieldset.co-box {
  padding: 0 0 8px !important; margin: 0 0 22px; border: 0; border-radius: 0; background: none; box-shadow: none;
}
.flx-rd-co #checkoutContent .co-box + .co-box { padding-top: 22px !important; border-top: 1px solid #eceeef; }
.flx-rd-co #checkoutContent .co-billing-address > fieldset.box { padding: 0 !important; border: 0; margin: 0; }
.flx-rd-co #checkoutContent h2 { font-size: 20px; margin: 0 0 14px; }

/* krok 2: zhrnutie zvýraznené, súhlasy a tlačidlo v samostatnej karte, pravý stĺpec drží pri posune */
@media (min-width: 992px) {
  .flx-rd-co #checkoutSidebar > .cart-content { position: sticky; top: 16px; }
}
.flx-rd-co #checkoutSidebar .order-summary { padding: 18px 20px; border-radius: 16px; background: #f4f9e8; border: 1px solid #e3efc4; }
.flx-rd-co #checkoutSidebar .order-summary-inner { background: none !important; padding: 0 !important; border: 0 !important; }
.flx-co-final { margin-top: 14px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid #eceeef; }
.flx-co-final .consents { font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
.flx-co-final .next-step { margin: 14px 0 0; }
.flx-co-final .next-step .btn { width: 100%; }
.flx-co-final .next-step-back { display: block; margin: 10px auto 0; text-align: center; }

@media (max-width: 767px) {
  .flx-who { gap: 8px; margin-bottom: 16px; }
  .flx-who__opt { padding: 12px 10px 12px 38px; border-color: #e4e6e8 !important; }
  .flx-who__opt[aria-pressed="true"] { border-color: #2b2b2b !important; }
  .flx-who__opt::before { left: 12px; top: 13px; width: 18px; height: 18px; }
  .flx-who__opt[aria-pressed="true"]::before { border-width: 5px; }
  .flx-who__opt strong { font-size: 14px; }
  .flx-who__opt span { font-size: 12px; line-height: 1.3; }
  .flx-rd-co #checkoutContent .form-group.flx-col-3 { grid-column: span 6; }
  .flx-shared { bottom: 12px; }
}
/* názov firmy pred IČO/DIČ/IČ DPH */
.flx-rd-co #checkoutContent #company-info .form-group.flx-col-6 { order: -1; }
/* téma ráta pozíciu „?“ z pevnej šírky poľa; v mriežke ju dáme k pravému okraju */
.flx-rd-co #checkoutContent .form-group-hasTooltip .form-group-tooltip { left: auto !important; right: 10px !important; }
.flx-rd-co #checkoutContent .form-group-hasTooltip label { right: 38px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* najpredávanejšie v kategórii z Brainu: natívny zoznam ostáva len ako záloha */
.box-topProducts.flx-top-on ol.top-products { display: none !important; }
.flx-top { list-style: none; margin: 0; padding: 0; }
.flx-top li { margin: 0 0 8px; }
.flx-top__a { display: flex; align-items: center; gap: 10px; color: #2b2b2b; text-decoration: none; }
.flx-top__a:hover .flx-top__name { text-decoration: underline; }
.flx-top__img { flex: 0 0 44px; width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: #f6f7f7; }
.flx-top__txt { flex: 1 1 auto; min-width: 0; }
.flx-top__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 1.3; font-weight: 600; }
.flx-top__price { display: block; font-size: 13px; margin-top: 2px; }

/* ---------- Strážiť dostupnosť (watchdog widget) na karte: tichý odkaz, nie druhé tlačidlo vedľa košíka ----------
   Widget ho ukáže, keď je vypredaný ktorýkoľvek variant, aj keď zvolený je skladom (medená fľaša, 1. 12. 2026). */
.type-detail .p-to-cart-block .flx-wd-btn{flex:1 0 100%;order:9;justify-content:center;background:none!important;border:0!important;color:#5c636d!important;text-decoration:underline;text-underline-offset:3px;padding:2px 0!important;margin:6px 0 0!important;font-size:13px;font-weight:500;min-height:0}
.type-detail .p-to-cart-block .flx-wd-btn:hover{color:#2b2b2b!important}
/* vyhľadávanie v paneli: pole + lupa namiesto samotného tlačidla */
.type-category .sidebar-left .box-search { padding: 12px 14px; }
.box-search.flx-ss-on .search-widget-try-button { display: none !important; }
.type-category .box-search .pageElement__heading { font-size: 14px; margin: 0 0 8px; }
.flx-ss { position: relative; margin: 0; }
.flx-ss__q { width: 100%; height: 40px; padding: 0 42px 0 14px; border: 1px solid #dcdfe2; border-radius: 999px; font: inherit; font-size: 14px; background: #f7f8f8; }
.flx-ss__q:focus { outline: none; border-color: #9ac416; background: #fff; }
.flx-ss__go { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #2b2b2b; cursor: pointer; }
.flx-ss__go::before { content: ""; position: absolute; left: 9px; top: 8px; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; }
.flx-ss__go::after { content: ""; position: absolute; left: 20px; top: 20px; width: 6px; height: 2px; background: #fff; transform: rotate(45deg); }
/* blog v paneli */
.type-category .sidebar-left .flx-blog { padding: 12px 14px; }
.flx-blog h3, .flx-blog h4, .flx-blog .pageElement__heading { font-size: 14px; margin: 0 0 8px; }
.flx-blog ul, .flx-blog ol { list-style: none; margin: 0; padding: 0; }
.flx-blog li { margin: 0 0 8px; font-size: 13px; line-height: 1.35; }
.flx-blog li a { color: #2b2b2b; }
.flx-blog-all { display: inline-block; margin-top: 2px; font-size: 13px; font-weight: 700; }
.flx-blog-all::after { content: " →"; }
@media (max-width: 767px) {
  .type-category .sidebar-left .box-search, .type-category .sidebar-left .flx-blog, .type-category .sidebar-left [class*="box-section"] { display: none !important; }
}
.type-category .sidebar-left .flx-blog a:not(.flx-blog-all) { display: block; margin: 0 0 8px; font-size: 13px !important; font-weight: 600 !important; line-height: 1.35 !important; color: #2b2b2b; }
