/* ====================================================================
   Fast Forward (aquapulse.sk) - Bootstrap 5.3 overrides + custom touches
   Drží len: brand farby (CSS premenné Bootstrap-u), custom komponenty
   bez Bootstrap ekvivalentu, container queries pre native responzivitu.
   ==================================================================== */

/* Self-hosted variabilný font Plus Jakarta Sans: jeden súbor latin + latin-ext (slovenčina potrebuje oba subsety,
   jeden súbor = jeden request a jedna výmena fontu; subset z variabilného TTF, viď CLAUDE.md) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/pjs.woff2') format('woff2');
}
:root,
[data-bs-theme="light"] {
  /* Brand farby — override Bootstrap defaults */
  --bs-primary: #0175ea;
  --bs-primary-rgb: 1, 117, 234;
  --bs-primary-text-emphasis: #00376f;
  --bs-primary-bg-subtle: #eaf3fe;
  --bs-primary-border-subtle: #b4d5fb;

  --bs-success: #4caf50;
  --bs-success-rgb: 76, 175, 80;

  --bs-link-color: #0175ea;
  --bs-link-color-rgb: 1, 117, 234;
  --bs-link-hover-color: #045cb4;
  --bs-link-hover-color-rgb: 0, 84, 143;

  --bs-font-sans-serif: 'Plus Jakarta Sans', 'Plus Jakarta Sans Fallback', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-bg: #fafafa;
  --bs-body-font-size: 0.9rem;
  --bs-border-radius: .375rem;
  --bs-border-radius-lg: .625rem;

  /* Vlastné semantické */
  --rfx-orange: #0175ea;
  --rfx-orange-dark: #045cb4;
  --rfx-bg-soft: #f7f7f7;
}

.btn-primary {
  --bs-btn-bg: #0175ea;
  --bs-btn-border-color: #0175ea;
  --bs-btn-hover-bg: #045cb4;
  --bs-btn-hover-border-color: #045cb4;
  --bs-btn-active-bg: #00376f;
  --bs-btn-active-border-color: #00376f;
}

.btn-success {
  --bs-btn-bg: #4caf50;
  --bs-btn-border-color: #4caf50;
  --bs-btn-hover-bg: #3f9142;
  --bs-btn-hover-border-color: #3f9142;
}

/* =========================== HEADER =========================== */
.rfx-topbar {
  background: #fff;
  font-size: .8rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--bs-border-color);
}
.rfx-topbar-cats a {
  color: var(--bs-body-color);
  padding: .25rem .5rem;
  border-radius: var(--bs-border-radius);
  text-decoration: none;
}
.rfx-topbar-cats a:hover { color: var(--rfx-orange); }

.rfx-tb-item {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--bs-body-color); text-decoration: none; padding: .25rem .5rem;
}
.rfx-tb-item svg { color: var(--rfx-orange); }
.rfx-tb-item small { color: var(--bs-secondary-color); font-size: .7rem; line-height: 1.15; }
.rfx-tb-item strong { color: var(--rfx-orange); font-weight: 700; font-size: .85rem; line-height: 1.15; }

.rfx-logo img {
  display: block;
  width: 190px; height: 40px;
  aspect-ratio: 639 / 136;
}

.navbar.rfx-main-header { padding: 1rem 0; }
.rfx-main-header .navbar-collapse { gap: 1rem; }

.rfx-search { position: relative; }
.rfx-search input[type="search"] {
  border-radius: var(--bs-border-radius-pill);
  padding-right: 3rem;
}
/* Lupa overlay — funguje bez ohľadu na to, či sa renderuje fibosearch alebo fallback form.
   Klikateľnosť rieši plugin's vlastný submit / vlastný button pod ním.
   Smart Search (.sws) má vlastnú lupu — overlay sa preň nekreslí. */
.rfx-search:has(.sws)::before { content: none; }
.rfx-search::before {
  content: "";
  position: absolute; z-index: 5;
  left: 1.25rem; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230175ea' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>") no-repeat center / contain;
  pointer-events: none;
}
/* Aby placeholder/text za lupou nebol */
.rfx-search .dgwt-wcas-search-input,
.rfx-search input[type="search"] { padding-left: 3rem !important; }

.rfx-search-submit {
  position: absolute; right: .375rem; top: 50%;
  transform: translateY(-50%);
  width: 2.25rem; height: 2.25rem;
  background: var(--rfx-orange); color: #fff;
  border: 0; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 4;
}
.rfx-search-submit:hover { background: var(--rfx-orange-dark); }

.rfx-action-icon {
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bs-body-color); border-radius: 50%;
  text-decoration: none;
}
.rfx-action-icon:hover { background: var(--rfx-bg-soft); color: var(--rfx-orange); }

.rfx-action-cart {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.125rem;
  background: var(--rfx-orange); color: #fff !important;
  border-radius: var(--bs-border-radius-pill);
  font-weight: 700; font-size: .9rem; text-decoration: none;
}
.rfx-action-cart:hover { background: var(--rfx-orange-dark); }

/* =========================== USER DROPDOWN =========================== */
.rfx-user-dropdown { position: relative; }
.rfx-user-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; border: 1px solid var(--bs-border-color);
  border-radius: 999px; padding: .3rem .5rem .3rem .3rem;
  color: var(--bs-body-color); cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.rfx-user-toggle:hover { background: var(--rfx-bg-soft); border-color: var(--rfx-orange); }
.rfx-user-avatar {
  width: 32px; height: 32px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--rfx-orange), var(--rfx-orange-dark));
  color: #fff; font-weight: 700; font-size: .85rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(1,117,234,.25);
}
.rfx-user-meta {
  display: inline-flex; flex-direction: column; line-height: 1.1; text-align: left;
}
.rfx-user-meta small { font-size: .68rem; }
.rfx-user-meta strong { font-size: .85rem; color: var(--bs-body-color); }
.rfx-user-caret { color: var(--bs-secondary-color); }

.rfx-user-toggle-guest {
  position: relative;
}
/* malý oranžový dot na guest ikone pre upozornenie že nie je prihlásený */
.rfx-user-toggle-guest::after {
  content: ""; position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rfx-orange); border: 2px solid #fff;
}

.rfx-user-menu {
  min-width: 240px; padding: .75rem;
  border: 1px solid var(--bs-border-color); border-radius: .75rem;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.18);
  margin-top: .5rem;
}
.rfx-user-menu-head {
  display: flex; flex-direction: column;
  padding: .25rem .5rem .75rem;
  border-bottom: 1px solid var(--bs-border-color);
  margin-bottom: .5rem;
}
.rfx-user-menu-head strong { font-size: .95rem; }
.rfx-user-menu-head small { font-size: .75rem; color: var(--bs-secondary-color); }
.rfx-user-menu .dropdown-item {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem .75rem; border-radius: .5rem;
  font-size: .85rem;
}
.rfx-user-menu .dropdown-item:hover {
  background: var(--rfx-bg-soft); color: var(--rfx-orange);
}
.rfx-user-menu .dropdown-item svg { color: var(--rfx-orange); flex: 0 0 auto; }
.rfx-user-menu .dropdown-divider { margin: .35rem -.25rem; }
.rfx-user-logout { color: #00376f !important; }
.rfx-user-logout:hover { background: #eaf3fe !important; }

.rfx-user-menu-guest { padding: 1rem; min-width: 260px; }

.rfx-nav-main {
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: #fff;
}
.rfx-nav-main .nav-link {
  color: var(--bs-body-color);
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.35;
  border-bottom: 2px solid transparent;
  padding: .7rem 1rem;
}
.rfx-nav-main .nav-link:hover,
.rfx-nav-main .nav-link.active {
  color: var(--rfx-orange);
  border-bottom-color: var(--rfx-orange);
}
.rfx-nav-main .nav-link {
  display: inline-flex; align-items: center; gap: .45rem;
}
.rfx-nav-icon {
  width: 20px; height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  color: var(--rx-slate, #6b6660);
}
/* Force show main nav menu na desktop (Bootstrap .collapse defaultne display:none) */
@media (min-width: 992px) {
  .rfx-nav-main .collapse,
  .rfx-nav-main .navbar-collapse { display: flex !important; }
}

/* =========================== BREADCRUMBS =========================== */
.breadcrumb { font-size: .8rem; --bs-breadcrumb-divider-color: var(--bs-border-color); margin-bottom: 1rem; }
.breadcrumb a { color: var(--bs-secondary-color); text-decoration: none; }
.breadcrumb a:hover { color: var(--rfx-orange); }
.breadcrumb-item.active { color: var(--bs-secondary-color); }

/* =========================== PRODUCT GALLERY (Swiper 11) =========================== */
/* WC core injectuje inline `<style>` `.woocommerce-product-gallery{display:flex;flex-flow:column}`
   čo rozhodí Swiper layout (slide width loop → 33 554 432 px). Musíme to prebiť. */
.rfx-product-gallery .woocommerce-product-gallery {
  display: block;
  background: var(--rfx-bg-soft);
  border-radius: var(--bs-border-radius-lg);
  padding: 1.5rem;
}
.rfx-gallery-main {
  position: relative;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  background: #fff;
}
/* Slide má fixný aspect ratio 1:1, img sa scaleuje contain. Bez toho by sa wrapper
   roztiahol na výšku portrait obrázku (1200×1800 → ~1200px na desktope). */
.rfx-gallery-main .swiper-slide {
  aspect-ratio: 1 / 1;
  height: auto;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}
.rfx-gallery-main .swiper-slide img,
.rfx-product-gallery .woocommerce-product-gallery__image img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  aspect-ratio: auto;
}
.rfx-gallery-main.swiper-grab-cursor .swiper-slide,
.rfx-gallery-main .swiper-slide-active {
  cursor: grab;
}
.rfx-gallery-main.swiper-grabbing .swiper-slide {
  cursor: grabbing;
}
.rfx-gallery-main .swiper-slide a {
  display: block; width: 100%; height: 100%;
}

.rfx-gallery-prev, .rfx-gallery-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85); border: 1px solid var(--bs-border-color);
  border-radius: 50%; color: var(--bs-body-color);
  cursor: pointer; padding: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
  opacity: .75;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.rfx-gallery-prev { left: .75rem; }
.rfx-gallery-next { right: .75rem; }
.rfx-gallery-main:hover .rfx-gallery-prev,
.rfx-gallery-main:hover .rfx-gallery-next { opacity: 1; }
.rfx-gallery-prev:hover, .rfx-gallery-next:hover {
  background: #fff; color: var(--rfx-orange); border-color: var(--rfx-orange);
}
.rfx-gallery-prev.swiper-button-disabled,
.rfx-gallery-next.swiper-button-disabled { opacity: .25; pointer-events: none; }

.rfx-gallery-counter {
  position: absolute; bottom: .75rem; right: .75rem; z-index: 10;
  background: rgba(0,0,0,.55); color: #fff;
  padding: .15rem .55rem; border-radius: 999px;
  font-size: .75rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.rfx-gallery-thumbs {
  margin-top: .75rem;
}
.rfx-gallery-thumbs .swiper-slide {
  width: 80px; height: 80px;
  border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius);
  cursor: pointer; opacity: .6;
  overflow: hidden; background: #fff;
  transition: opacity .15s ease, border-color .15s ease;
}
.rfx-gallery-thumbs .swiper-slide img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.rfx-gallery-thumbs .swiper-slide:hover { opacity: .9; }
.rfx-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1; border-color: var(--rfx-orange);
}

/* =========================== PRODUCT SUMMARY =========================== */
.rfx-product-page { padding: 1.25rem 1.5rem !important; }

/* General WC .button safety override — žiadny WC link/button v product summary
   nesmie expandovať na celú šírku ako "ohavný oranžový pruh". Spadne to napr.
   na out-of-stock fallback link "Pre objednanie" alebo "Read more". */
.rfx-product-page a.button,
.rfx-product-page button.button,
.rfx-product-page input.button {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  width: auto !important;
  max-width: 100%;
  padding: .55rem 1.1rem !important;
  background: var(--rfx-orange);
  color: #fff !important;
  border: 0; border-radius: var(--bs-border-radius-pill);
  font-weight: 600; font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.rfx-product-page a.button:hover,
.rfx-product-page button.button:hover { background: var(--rfx-orange-dark); }

.rfx-brand-tag {
  display: inline-block;
  padding: .3rem .85rem;
  background: #1976d2;
  color: #fff !important;
  border-radius: var(--bs-border-radius);
  font-weight: 700; font-size: .78rem; letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(33,150,243,.25);
}

/* Brand logo (PWB attachment) — namiesto textového tagu, ak je k dispozícii */
.rfx-brand-logo {
  display: inline-flex; align-items: center; justify-content: center;
  max-width: 120px; height: 50px;
  padding: .25rem .5rem;
  text-decoration: none;
}
.rfx-brand-logo img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain; display: block;
}

.rfx-product-title {
  font-size: 1.55rem; font-weight: 700; line-height: 1.25;
  margin-right: 110px; /* miesto pre brand tag */
}

.rfx-product-sku { color: var(--bs-secondary-color); }
.rfx-product-sku strong { color: var(--bs-body-color); font-weight: 600; }

.rfx-price-row {
  display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap;
}
.rfx-price { font-size: 1.85rem; font-weight: 700; color: var(--rfx-orange); line-height: 1; }
.rfx-price del { color: var(--bs-secondary-color); font-size: 1rem; margin-right: .5rem; font-weight: 400; }
.rfx-price ins { text-decoration: none; }
.rfx-price .woocommerce-Price-amount { color: var(--rfx-orange); }
.rfx-price-excl { color: var(--bs-secondary-color); font-size: .85rem; }

.rfx-stock {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem;
  border-radius: var(--bs-border-radius-pill);
  font-size: .85rem;
}
.rfx-stock--in {
  background: #e8f5e9; color: #1b5e20;
  border: 1px solid #c8e6c9;
}
.rfx-stock--out {
  background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2;
}
.rfx-stock-tick { font-weight: 700; }
.rfx-stock-x { font-weight: 700; }
.rfx-stock-note { color: rgba(0,0,0,.55); }

/* "Informujte ma" button + modal pri out-of-stock produktoch */
.rfx-notify-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.25rem; height: 2.75rem;
  background: #1976d2; color: #fff;
  border: 0; border-radius: var(--bs-border-radius-pill);
  font-weight: 700; cursor: pointer;
  transition: background-color .15s ease, transform .1s ease;
}
.rfx-notify-btn:hover { background: #1565c0; }
.rfx-notify-btn:active { transform: translateY(1px); }
.rfx-notify-form .rfx-notify-feedback.alert-success {
  background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9;
  padding: .65rem .85rem; border-radius: var(--bs-border-radius);
}
.rfx-notify-form .rfx-notify-feedback.alert-danger {
  background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2;
  padding: .65rem .85rem; border-radius: var(--bs-border-radius);
}
.rfx-notify-submit:disabled { opacity: .6; cursor: progress; }

/* WC plugin "woo-custom-stock-status" duplikuje stock info — máme vlastný rfx-stock */
.rfx-product-page p.stock,
.rfx-product-page .woo-custom-stock-status { display: none; }

/* =========================== ADD TO CART ROW =========================== */
.rfx-product-page form.cart {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin: 1rem 0 0;
}
/* Žiadny child sa nesmie natiahnuť na celú šírku — buttony musia zostať kompaktné.
   Inak ich Bootstrap/Woo/plugin rule s flex:1 alebo width:100% rozhádže do stĺpca. */
.rfx-product-page form.cart > *,
.rfx-product-page form.cart > div,
.rfx-product-page form.cart > button,
.rfx-product-page form.cart > a {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 100%;
}
.rfx-product-page form.cart .quantity {
  display: inline-flex; align-items: stretch;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-pill); overflow: hidden;
  background: #fff;
  height: 2.75rem;
}
.rfx-product-page form.cart .quantity input[type="number"] {
  width: 2.5rem; text-align: center; border: 0; padding: 0;
  font-size: 1rem; font-weight: 600; -moz-appearance: textfield; background: transparent;
  outline: none;
}
.rfx-product-page form.cart .quantity input[type="number"]::-webkit-outer-spin-button,
.rfx-product-page form.cart .quantity input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Vlastné +/- tlačidlá okolo qty inputu — JS (main.js) ich injektuje pri DOMContentLoaded. */
.rfx-product-page form.cart .quantity .rfx-q-minus,
.rfx-product-page form.cart .quantity .rfx-q-plus {
  width: 2.25rem; height: 100%;
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; line-height: 1; font-weight: 600; color: var(--bs-body-color);
  transition: background-color .12s ease, color .12s ease;
  padding: 0;
  user-select: none;
}
.rfx-product-page form.cart .quantity .rfx-q-minus:hover,
.rfx-product-page form.cart .quantity .rfx-q-plus:hover { background: var(--rfx-bg-soft); color: var(--rfx-orange); }
.rfx-product-page form.cart .quantity .rfx-q-minus:active,
.rfx-product-page form.cart .quantity .rfx-q-plus:active { background: rgba(0,0,0,.06); }
.rfx-product-page form.cart .quantity .rfx-q-minus { border-right: 1px solid var(--bs-border-color); }
.rfx-product-page form.cart .quantity .rfx-q-plus { border-left: 1px solid var(--bs-border-color); }

.rfx-product-page form.cart button.single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--rfx-orange); color: #fff !important;
  padding: 0 1.5rem; height: 2.75rem; border: 0;
  border-radius: var(--bs-border-radius-pill);
  font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease;
}
.rfx-product-page form.cart button.single_add_to_cart_button::before {
  content: ""; width: 18px; height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>") center/contain no-repeat;
}
.rfx-product-page form.cart button.single_add_to_cart_button:hover { background: var(--rfx-orange-dark); }

.rfx-product-page form.cart .rfx-quick-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.75rem; padding: 0 1.25rem;
  font-weight: 700; white-space: nowrap;
  margin: 0 !important;
}
.rfx-product-page form.cart .rfx-quick-buy::before {
  content: ""; width: 16px; height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M13 2L3 14h7l-1 8 10-12h-7l1-8z'/></svg>") center/contain no-repeat;
}

/* =========================== SPECIFIKÁCIA (2-col grid) =========================== */
.rfx-specs {
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius-lg);
  background: #fff;
  overflow: hidden;
}
.rfx-specs-header {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem;
  background: var(--rfx-bg-soft);
  font-weight: 700;
  border-bottom: 1px solid var(--bs-border-color);
}
.rfx-specs-header svg { color: var(--rfx-orange); }

.rfx-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0; margin: 0; padding: 0;
}
@media (min-width: 768px) {
  .rfx-specs-grid { grid-template-columns: 1fr 1fr; }
  .rfx-specs-grid .rfx-specs-item:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
}
.rfx-specs-item {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .55rem 1rem;
  border-bottom: 1px solid var(--bs-border-color);
  font-size: .85rem;
}
.rfx-specs-item:last-child { border-bottom: 0; }
.rfx-specs-grid .rfx-specs-item:nth-child(odd):not(:last-child) {
  border-right: 1px solid var(--bs-border-color);
}
.rfx-specs-item dt { color: var(--bs-secondary-color); font-weight: 400; margin: 0; }
.rfx-specs-item dd { font-weight: 600; text-align: right; margin: 0; }

/* =========================== SHARE =========================== */
.rfx-share {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--bs-border-color);
  font-size: .85rem; color: var(--bs-secondary-color);
}
.rfx-share-label { font-weight: 500; margin-right: .25rem; }
.rfx-share a {
  width: 1.875rem; height: 1.875rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: var(--bs-secondary-color); background: var(--rfx-bg-soft);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.rfx-share a:hover { background: var(--rfx-orange); color: #fff; }

.rfx-short-desc { font-size: .9rem; line-height: 1.55; color: var(--bs-body-color); }

/* =========================== TABS (WC nativny output) =========================== */
.woocommerce-tabs ul.tabs {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: flex; justify-content: center; flex-wrap: wrap;
  border-bottom: 1px solid var(--bs-border-color);
}
.woocommerce-tabs ul.tabs li { margin: 0 1.25rem; }
.woocommerce-tabs ul.tabs li a {
  display: inline-block; padding: 1rem 0;
  color: var(--bs-secondary-color); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-bottom: 3px solid transparent;
  text-decoration: none;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  color: var(--rfx-orange); border-bottom-color: var(--rfx-orange);
}
.woocommerce-tabs .panel { padding: .5rem 0; line-height: 1.7; max-width: 880px; margin: 0 auto; }
.woocommerce-tabs .panel > h2:first-child { display: none; }

.rfx-brand-tab { text-align: center; padding: 1rem 0; }
.rfx-brand-tab .rfx-brand-logo-box {
  display: inline-block; padding: .75rem 2rem;
  background: linear-gradient(135deg, #2196f3, #1976d2); color: #fff;
  font-weight: 800; font-size: 1.4rem; letter-spacing: 2px;
  border-radius: var(--bs-border-radius);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(33,150,243,.25);
}
.rfx-brand-tab h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.rfx-brand-tab p { color: var(--bs-secondary-color); max-width: 640px; margin: 0 auto; }

.rfx-product-description,
.woocommerce-Tabs-panel--description { line-height: 1.7; }
.woocommerce-Tabs-panel--description p { margin-bottom: 1rem; }
.woocommerce-Tabs-panel--description strong { color: var(--bs-body-color); }

/* Gutenberg fallback — wp-block-library je dequeue-nutá, takže pre opisy s blokmi
   doplnime minimálny layout (columns + Spectra/UAG containers). */
.woocommerce-Tabs-panel .wp-block-columns {
  display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.woocommerce-Tabs-panel .wp-block-column { flex: 1 1 240px; min-width: 0; }

/* Spectra / UAG containers — root-container je flex row, vnorené blocky sú columns.
   Spectra default `.wp-block-uagb-container { display: flex }` musíme overrideovať na block,
   inak img + h3 + p v každom stĺpci sú vedľa seba namiesto pod sebou a text presakuje. */
.woocommerce-Tabs-panel .wp-block-uagb-container {
  display: block;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.woocommerce-Tabs-panel .uagb-is-root-container {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  margin: 0 0 1.5rem;
}
.woocommerce-Tabs-panel .uagb-is-root-container > .wp-block-uagb-container {
  flex: 1 1 220px; min-width: 0;
}
.woocommerce-Tabs-panel .wp-block-uagb-container figure.wp-block-image { margin: 0 0 .75rem; }
.woocommerce-Tabs-panel .wp-block-uagb-container figure.wp-block-image img {
  width: 100%; height: auto; border-radius: var(--bs-border-radius);
  aspect-ratio: 3 / 2; object-fit: cover;
}
.woocommerce-Tabs-panel .wp-block-uagb-container h3.wp-block-heading {
  font-size: 1.05rem; font-weight: 700; margin: .25rem 0 .35rem;
}
.woocommerce-Tabs-panel .wp-block-uagb-container p { font-size: .9rem; margin: 0 0 .5rem; }

/* Image figures všeobecne v opise */
.woocommerce-Tabs-panel figure.wp-block-image { margin: 1rem 0; }
.woocommerce-Tabs-panel figure.wp-block-image img {
  max-width: 100%; height: auto; display: block; border-radius: var(--bs-border-radius);
}
.woocommerce-Tabs-panel h2.wp-block-heading { font-size: 1.4rem; margin: 1.5rem 0 .75rem; }
.woocommerce-Tabs-panel h3.wp-block-heading { font-size: 1.15rem; margin: 1.25rem 0 .5rem; }

.rfx-empty-tab { color: var(--bs-secondary-color); text-align: center; padding: 2rem 0; font-style: italic; }

/* =========================== EDITORIAL ARCHIVE (grid.html dizajn) =========================== */
:root {
  --rx-paper: #faf7f1;
  --rx-paper-2: #f3efe6;
  --rx-line: #e6e1d8;
  --rx-line-2: #ede9e0;
  --rx-ink: #100f0d;
  --rx-ink-2: #1e1c19;
  --rx-graphite: #3a3733;
  --rx-slate: #6b6660;
  --rx-mute: #97918a;
  --rx-orange-rx: #0175ea;
  --rx-orange-deep: #c4451d;
  --rx-orange-soft: #fdebe1;
  --rx-r-sm: 6px;
  --rx-r-md: 10px;
  --rx-r-lg: 16px;
  --rx-r-xl: 24px;
  --rx-shadow-sm: 0 1px 2px rgba(20,18,12,.04), 0 1px 1px rgba(20,18,12,.03);
  --rx-shadow-md: 0 6px 24px -8px rgba(20,18,12,.10), 0 2px 6px -2px rgba(20,18,12,.06);
}
body { background: #fff; }
/* Subtle delineation namiesto cream pozadia */
.rfx-archive { background: #fff; }

.rfx-archive .breadcrumb { font-size: .78rem; color: var(--rx-mute); margin-bottom: 1rem; }

/* Subkategórie ako ikonky-grid (top-level kategória → rekapitulácia podkategórií) */
.rfx-subcat-grid-wrap {
  background: #fff;
  border: 1px solid var(--rx-line, #e6e1d8);
  border-radius: 10px;
  padding: 1rem;
}
.rfx-subcat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
@media (min-width: 768px) { .rfx-subcat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* auto-fit: karty vyplnia celú šírku boxu aj pri menšom počte (žiadny prázdny stĺpec) */
@media (min-width: 992px) { .rfx-subcat-grid { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); } }

/* Kompaktná horizontálna karta - malý obrázok vľavo, názov vedľa */
.rfx-subcat-card {
  display: flex; flex-direction: row; align-items: center;
  gap: .65rem; padding: .45rem .65rem;
  color: var(--rx-ink, #100f0d);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--rx-line, #e6e1d8);
  background: #fff;
  text-align: left; min-height: 62px;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rfx-subcat-card:hover {
  border-color: var(--rfx-orange);
  color: var(--rfx-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.1);
}
.rfx-subcat-card-img {
  width: 52px; height: 46px;
  flex: 0 0 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--rx-slate, #6b6660);
}
.rfx-subcat-card-img img,
.rfx-subcat-card-img svg {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.rfx-subcat-card-name {
  font-size: .84rem; font-weight: 500; line-height: 1.25;
}

/* Page head — kompaktný titulok + krátky popis */
.rfx-page-head { margin-bottom: 1rem; }
.rfx-page-title {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--rx-ink); margin: 0 0 .35rem;
}
.rfx-page-desc {
  max-width: 70ch; color: var(--rx-slate);
  font-size: .85rem; line-height: 1.5; margin: 0;
}

/* SUBCATEGORY PILLS */
.rfx-subcat-pills {
  display: flex; gap: .375rem; flex-wrap: wrap;
  margin: 0 0 1rem;
}
.rfx-pill {
  display: inline-flex; align-items: center;
  padding: .45rem .95rem;
  background: #fff; color: var(--rx-graphite);
  border: 1px solid var(--rx-line);
  border-radius: 999px; font-size: .82rem; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rfx-pill:hover { color: var(--rx-orange-rx); border-color: var(--rx-orange-rx); }
.rfx-pill.is-active { background: var(--rx-ink); color: #fff; border-color: var(--rx-ink); }
.rfx-pill-icon {
  width: 18px; height: 18px;
  object-fit: contain; margin-right: .4rem;
  vertical-align: middle;
}

/* TOOLBAR (count + sort) */
.rfx-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  padding: .75rem 0 1rem;
  border-bottom: 1px solid var(--rx-line); margin-bottom: 1rem;
}
.rfx-toolbar-count { font-size: .85rem; color: var(--rx-slate); font-variant-numeric: tabular-nums; }
.rfx-toolbar-count strong { color: var(--rx-ink); font-weight: 700; }
.rfx-sort { display: flex; gap: .25rem; flex-wrap: wrap; }
.rfx-sort-link {
  padding: .35rem .75rem; border-radius: 999px;
  color: var(--rx-slate); font-size: .82rem; font-weight: 500;
  text-decoration: none;
}
.rfx-sort-link:hover { color: var(--rx-orange-rx); background: var(--rx-paper-2); }
.rfx-sort-link.is-active { background: var(--rx-ink); color: #fff; }

/* FILTER SIDEBAR — clean editorial */
.rfx-shop-sidebar { padding-right: .5rem; }
.rfx-filter-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--rx-mute);
}
.rfx-filter-reset-link {
  background: none; border: 0; padding: 0;
  color: var(--rx-orange-rx); font-size: .75rem; font-weight: 600;
  text-transform: none; letter-spacing: 0;
  cursor: pointer;
}
.rfx-filter-block {
  padding: 1rem 0;
  border-top: 1px solid var(--rx-line);
}
.rfx-filter-block:first-of-type { border-top: 0; padding-top: 0; }
.rfx-filter-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  color: var(--rx-graphite); margin-bottom: .65rem; text-transform: uppercase;
}
/* Kategória tree — ikony + jasný active/parent indikátor */
.rfx-cat-tree { margin: 0; padding: 0; }
.rfx-cat-tree .rfx-cat-item { position: relative; }
.rfx-cat-tree .rfx-cat-link {
  display: flex; align-items: center; gap: .55rem;
  padding: .5rem .65rem; margin-bottom: .1rem;
  color: var(--rx-graphite, #3a3733);
  font-size: .88rem; font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background-color .12s ease, color .12s ease, border-left-color .12s ease;
}
.rfx-cat-tree .rfx-cat-link:hover {
  background: #f7f4ef;
  color: var(--rfx-orange);
}

/* Ikona kategórie */
.rfx-cat-icon {
  width: 24px; height: 24px;
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--rx-slate, #6b6660);
}
.rfx-cat-icon img,
.rfx-cat-icon svg { width: 100%; height: 100%; object-fit: contain; }

.rfx-cat-name { flex: 1; min-width: 0; line-height: 1.25; }
.rfx-cat-caret {
  flex: 0 0 auto;
  color: var(--rx-mute, #97918a);
  transition: transform .15s ease;
}

/* PARENT — kategória ktorá obsahuje aktívnu (highlight mid) */
.rfx-cat-tree .rfx-cat-link.is-parent {
  background: #eaf3fe;
  color: var(--rfx-orange);
  border-left-color: var(--rfx-orange);
  font-weight: 600;
}
.rfx-cat-tree .rfx-cat-link.is-parent .rfx-cat-icon { color: var(--rfx-orange); }
.rfx-cat-tree .rfx-cat-item.is-open > .rfx-cat-link .rfx-cat-caret { transform: rotate(90deg); }

/* CURRENT — aktuálne kliknutá kategória (highlight max) */
.rfx-cat-tree .rfx-cat-link.is-current {
  background: var(--rfx-orange);
  color: #fff;
  border-left-color: var(--rfx-orange-dark);
  font-weight: 700;
}
.rfx-cat-tree .rfx-cat-link.is-current .rfx-cat-icon,
.rfx-cat-tree .rfx-cat-link.is-current .rfx-cat-caret { color: #fff; }

/* Children — odsadené s vertikálnou orange-vou guide čiarou */
.rfx-cat-tree .rfx-cat-children {
  margin: .15rem 0 .5rem 1.5rem;
  padding-left: .55rem;
  border-left: 2px solid var(--rfx-orange-soft, #fdebe1);
}
.rfx-cat-tree .rfx-cat-sub {
  padding: .3rem .65rem;
  font-size: .8rem; font-weight: 400;
  color: var(--rx-slate, #6b6660);
  border-left: 0; border-radius: 6px;
}
.rfx-cat-sub-dot {
  width: 6px; height: 6px; flex: 0 0 auto;
  border-radius: 50%;
  background: var(--rx-line, #e6e1d8);
  transition: background-color .12s ease, transform .12s ease;
}
.rfx-cat-tree .rfx-cat-sub:hover { background: #f7f4ef; color: var(--rfx-orange); }
.rfx-cat-tree .rfx-cat-sub:hover .rfx-cat-sub-dot { background: var(--rfx-orange); }

/* Sub-kategória CURRENT — bez bold */
.rfx-cat-tree .rfx-cat-sub.is-current {
  background: var(--rfx-orange);
  color: #fff;
  font-weight: 500;
}
.rfx-cat-tree .rfx-cat-sub.is-current .rfx-cat-sub-dot {
  background: #fff; transform: scale(1.4);
}

/* =========================== CARDS — editorial =========================== */
.rfx-card {
  container-type: inline-size;
  background: #fff;
  border: 1px solid var(--rx-line);
  border-radius: var(--rx-r-md);
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.rfx-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rx-shadow-md);
  border-color: var(--rx-line-2);
}
.rfx-card-link {
  display: flex; flex-direction: column;
  color: var(--rx-ink); text-decoration: none; height: 100%;
}

.rfx-card-figure {
  position: relative;
  margin: 0; padding: 1rem;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .rfx-card-figure { height: 200px; }
}
.rfx-card-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.rfx-card:hover .rfx-card-img { transform: scale(1.04); }

.rfx-card-badge {
  position: absolute; z-index: 2;
  padding: .2rem .55rem;
  font-size: .65rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--rx-r-sm);
}
.rfx-card-badge--sale {
  top: .75rem; left: .75rem;
  background: var(--rx-orange-rx); color: #fff;
}
.rfx-card-badge--brand {
  top: .75rem; right: .75rem;
  background: var(--rx-ink); color: #fff;
  font-weight: 800;
}

.rfx-card-body {
  padding: .65rem 1rem .35rem;
  background: #fff;
  flex: 1; display: flex; flex-direction: column;
  gap: .4rem;
}
.rfx-card-title {
  font-size: .9rem; font-weight: 600; line-height: 1.3;
  margin: 0; color: var(--rx-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 2.4em;
  letter-spacing: -.005em;
}
.rfx-card-meta-row {
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap;
}
.rfx-card-stock {
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .2rem .55rem; border-radius: 999px;
  white-space: nowrap;
}
.rfx-card-stock.is-in { background: #e8f5e9; color: #1b5e20; }
.rfx-card-stock.is-out { background: #f5f1eb; color: var(--rx-mute, #97918a); }
.rfx-card-rating {
  display: inline-flex; gap: 1px;
  color: #f5b800;
  line-height: 1;
}

/* Bottom row — cena vľavo (+ bez DPH pod) | round cart button vpravo */
.rfx-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 1rem 1rem;
  background: #fff;
  gap: .75rem;
}
.rfx-card-price-wrap {
  display: flex; flex-direction: column;
  line-height: 1.1; min-width: 0;
}
.rfx-card-price {
  font-size: 1.2rem; font-weight: 700;
  color: var(--rfx-orange); font-variant-numeric: tabular-nums;
  letter-spacing: -.01em; line-height: 1.1;
}
.rfx-card-price ins { text-decoration: none; color: var(--rfx-orange); }
.rfx-card-price del { color: var(--rx-mute, #97918a); font-size: .8rem; font-weight: 400; margin-right: .3rem; }
.rfx-card-price .woocommerce-Price-amount { color: inherit; }
.rfx-card-price-excl {
  font-size: .7rem; color: var(--rx-mute, #97918a);
  margin-top: .15rem; font-weight: 400;
  font-variant-numeric: tabular-nums;
}

/* Round cart button (orange kruh s SVG cart ikonou) */
.rfx-cart-btn {
  width: 42px; height: 42px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rfx-orange); color: #fff;
  border: 0; border-radius: 50%;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.rfx-cart-btn:hover {
  background: var(--rfx-orange-dark);
  color: #fff; transform: scale(1.05);
}
.rfx-cart-btn--info { background: var(--rx-graphite, #3a3733); }
.rfx-cart-btn--info:hover { background: var(--rx-ink, #100f0d); }
.rfx-cart-btn.added { background: var(--bs-success); }
.rfx-cart-btn + .added_to_cart { display: none; }

/* Container query: pri úzkej karte ukry brand badge */
@container (max-width: 220px) {
  .rfx-card-badge--brand { display: none; }
}

/* Pagination — editorial paper štýl */
.rfx-pagination .page-numbers {
  background: #fff;
  border-color: var(--rx-line);
  color: var(--rx-graphite);
}
.rfx-pagination a.page-numbers:hover {
  background: var(--rx-paper-2);
  border-color: var(--rx-ink);
  color: var(--rx-ink);
}
.rfx-pagination .page-numbers.current {
  background: var(--rx-ink);
  border-color: var(--rx-ink);
  color: #fff;
}

/* =========================== PAGINATION (WC default → Bootstrap štýl) =========================== */
.rfx-pagination .woocommerce-pagination ul.page-numbers {
  list-style: none; padding: 0; margin: 0;
  display: inline-flex; gap: .25rem; flex-wrap: wrap;
}
.rfx-pagination .woocommerce-pagination ul.page-numbers li { margin: 0; }
.rfx-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.25rem; height: 2.25rem; padding: 0 .625rem;
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  background: #fff; color: var(--bs-body-color);
  font-weight: 500; font-size: .875rem;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.rfx-pagination a.page-numbers:hover {
  background: var(--bs-primary-bg-subtle);
  border-color: var(--rfx-orange);
  color: var(--rfx-orange);
}
.rfx-pagination .page-numbers.current {
  background: var(--rfx-orange);
  border-color: var(--rfx-orange);
  color: #fff;
}
.rfx-pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* =========================== SIDEBAR (filter) =========================== */
.rfx-cat-tree li a { text-decoration: none; padding: .35rem .5rem; border-radius: var(--bs-border-radius); }
.rfx-cat-tree li a:hover { background: var(--rfx-bg-soft); color: var(--rfx-orange); }
.rfx-cat-tree li a.is-active { background: var(--bs-primary-bg-subtle); color: var(--rfx-orange); font-weight: 600; }
.rfx-cat-icon { width: 24px; height: 24px; flex-shrink: 0; object-fit: contain; border-radius: 4px; }
.rfx-cat-icon-empty { background: var(--rfx-bg-soft); display: inline-block; }

.rfx-brand-list { max-height: 240px; overflow-y: auto; }
.rfx-brand-list a { text-decoration: none; color: var(--bs-body-color); }
.rfx-brand-list a:hover { background: var(--rfx-bg-soft); }
.rfx-brand-list a.is-active { color: var(--rfx-orange); font-weight: 600; }
.rfx-brand-check {
  display: inline-block; width: 1rem; height: 1rem;
  border: 1px solid var(--bs-border-color); border-radius: 3px;
  text-align: center; line-height: 14px; font-size: 11px;
  color: var(--rfx-orange); background: #fff;
}
.is-active .rfx-brand-check { background: var(--rfx-orange); color: #fff; border-color: var(--rfx-orange); }

/* =========================== FOOTER =========================== */
.rfx-footer {
  background: #fff;
  border-top: 1px solid var(--bs-border-color);
  padding: 2.5rem 0 1.5rem;
}
.rfx-footer-logo img {
  display: block;
  width: 190px; height: 40px;
  aspect-ratio: 639 / 136;
}
.rfx-footer h4 { font-size: 1rem; font-weight: 700; margin-bottom: .875rem; }
.rfx-footer ul a { color: var(--bs-body-color); display: inline-block; padding: .25rem 0; font-size: .85rem; text-decoration: none; }
.rfx-footer ul a:hover { color: var(--rfx-orange); }
.rfx-footer address { font-style: normal; font-size: .85rem; line-height: 1.8; }
.rfx-footer address a { color: var(--bs-body-color); text-decoration: none; }
.rfx-footer address a:hover { color: var(--rfx-orange); }
.rfx-social a {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rfx-bg-soft); border-radius: 50%;
  color: var(--bs-body-color); font-weight: 700; text-decoration: none;
}
.rfx-social a:hover { background: var(--rfx-orange); color: #fff; }

/* =========================== UTILITY =========================== */
.rfx-bg-soft { background: var(--rfx-bg-soft); }

/* =========================== FILTER SIDEBAR (ajax) =========================== */
.rfx-filters .card-header { padding: .55rem .75rem; }
.rfx-filters .card-body   { padding: .6rem .75rem; }

.rfx-checkbox-list .rfx-cb-item label { cursor: pointer; margin: 0; }
.rfx-checkbox-list .rfx-cb-item label:hover { background: var(--rfx-bg-soft); }
.rfx-filter-cb { flex-shrink: 0; }

/* Dual range slider */
.rfx-range { position: relative; height: 32px; margin: 8px 4px 0; }
.rfx-range-track {
  position: absolute; left: 0; right: 0; top: 50%;
  height: 4px; transform: translateY(-50%);
  background: #e5e7eb; border-radius: 4px; pointer-events: none;
}
.rfx-range-fill {
  position: absolute; top: 0; bottom: 0;
  background: var(--rfx-orange); border-radius: 4px;
}
.rfx-range input[type="range"] {
  position: absolute; left: 0; right: 0; top: 0;
  width: 100%; height: 32px;
  appearance: none; -webkit-appearance: none;
  background: transparent; pointer-events: none; margin: 0;
}
.rfx-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--rfx-orange);
  cursor: grab; pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.rfx-range input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--rfx-orange);
  cursor: grab; pointer-events: auto;
  box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.rfx-range input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; }
.rfx-range input[type="range"]::-moz-range-thumb:active     { cursor: grabbing; }
.rfx-range input[type="range"]::-webkit-slider-runnable-track { background: transparent; }
.rfx-range input[type="range"]::-moz-range-track              { background: transparent; }

.rfx-range-values { font-variant-numeric: tabular-nums; }

/* Loading state */
[data-rfx-grid-wrap].rfx-loading {
  position: relative; min-height: 200px;
  opacity: .55; transition: opacity .15s;
}
[data-rfx-grid-wrap].rfx-loading::after {
  content: ""; position: absolute; left: 50%; top: 80px;
  width: 32px; height: 32px; margin-left: -16px;
  border: 3px solid var(--rfx-orange); border-top-color: transparent;
  border-radius: 50%; animation: rfx-spin .7s linear infinite;
}
@keyframes rfx-spin { to { transform: rotate(360deg); } }

.rfx-filter-search { margin-bottom: .4rem; }

/* Facet: položky bez výsledkov — zošednuté, neklikateľné, stále viditeľné */
.rfx-cb-empty > label {
  opacity: .42;
  color: #94a3b8;
  pointer-events: none;
  cursor: not-allowed;
}
.rfx-cb-empty .rfx-filter-cb { pointer-events: none; }
.rfx-range-facet-info { line-height: 1.2; }

/* =========================== FRONT PAGE — PRODUCT CARDS BOOST =========================== */
.rfx-bestsellers, .rfx-newest { background: #fff; }
.rfx-card {
  border: 1px solid var(--bs-border-color); border-radius: 1rem; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
}
.rfx-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.15);
  border-color: var(--rfx-orange);
}
.rfx-card .card-img-top {
  width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain;
  background: var(--rfx-bg-soft); padding: 1rem;
}
/* Box obrázka v jednoduchých kartách (súvisiace, nedávno zobrazené): vždy štvorec, obrázok vnútri contain */
.rfx-card .rfx-card-imgbox {
  aspect-ratio: 1 / 1; width: 100%; overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.rfx-card .rfx-card-imgbox img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; padding: 0; }
.rfx-card .card-title { font-size: .9rem; line-height: 1.3; min-height: 2.6em; }
.rfx-card-price { font-size: 1.05rem; font-weight: 700; color: var(--rfx-orange); }
.rfx-card-price del { color: var(--bs-secondary-color); font-weight: 400; font-size: .8rem; margin-right: .35rem; }
.rfx-card-price ins { text-decoration: none; }

.rfx-sale-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  background: var(--rfx-orange); color: #fff;
  font-size: .7rem; letter-spacing: .05em; padding: .4rem .7rem;
}
.rfx-new-badge {
  position: absolute; top: .75rem; left: .75rem; z-index: 2;
  background: #4caf50; color: #fff;
  font-size: .7rem; letter-spacing: .05em; padding: .4rem .7rem;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .rfx-hero-title { font-size: 1.85rem; }
  .rfx-hero-card { transform: none; margin-top: 1.5rem; }
  .rfx-hero-slide { padding: 1.25rem .75rem; border-radius: 1rem; }
  .rfx-hero-controls { gap: .5rem; margin-top: 1rem; }
  .rfx-hero-bullet { width: 22px; }
  .rfx-hero-bullet-active { width: 36px; }
  .rfx-banner-box { padding: 2rem 1.25rem; }
  .rfx-news-box { padding: 1.75rem 1.25rem; }
  .rfx-news-form { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .rfx-pulse, .rfx-brand-track { animation: none !important; }
  .rfx-card, .rfx-cat-card, .rfx-hero-card { transition: none !important; }
}

/* Sidebar kategórie — odkaz späť na rodiča (kontextový strom) */
.rfx-cat-back {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .8rem; color: var(--bs-secondary-color);
  text-decoration: none; margin-bottom: .5rem;
}
.rfx-cat-back:hover { color: var(--rfx-orange); }

/* Produktové fotky s bielym pozadím jemne splynú so sivým podkladom (multiply overlay) */
.rfx-hero-img-wrap img,
.rfx-cat-img-wrap img { mix-blend-mode: multiply; }
.rfx-card-imgbox { background: var(--rfx-bg-soft); }
.rfx-card-imgbox .card-img-top { background: transparent; mix-blend-mode: multiply; }

/* Subkategorie v archive - obrazky na sivom podklade s multiply overlay */
.rfx-subcat-card-img {
  background: var(--rfx-bg-soft);
  border-radius: .75rem;
  padding: .5rem;
}
.rfx-subcat-card-img img { mix-blend-mode: multiply; }

/* =========================== KOŠÍK / POKLADŇA / ÚČET — brand overridy nad WC core CSS =========================== */
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce, .woocommerce-account .woocommerce { font-size: .95rem; }
.woocommerce-cart button.button, .woocommerce-cart a.button,
.woocommerce-checkout button.button, .woocommerce-checkout a.button, .woocommerce-checkout #place_order,
.woocommerce-account button.button, .woocommerce-account a.button {
  background: var(--rfx-orange); color: #fff;
  border: 0; border-radius: 50rem;
  padding: .6rem 1.5rem; font-weight: 600;
  transition: background .2s;
}
.woocommerce-cart button.button:hover, .woocommerce-cart a.button:hover,
.woocommerce-checkout button.button:hover, .woocommerce-checkout a.button:hover, .woocommerce-checkout #place_order:hover,
.woocommerce-account button.button:hover, .woocommerce-account a.button:hover {
  background: var(--rfx-orange-dark, #045cb4); color: #fff;
}
.woocommerce-cart button.button:disabled, .woocommerce-cart button.button:disabled[disabled] {
  background: var(--rfx-orange); color: #fff; opacity: .45; padding: .6rem 1.5rem;
}
.woocommerce-cart table.shop_table, .woocommerce-checkout table.shop_table {
  border: 1px solid var(--bs-border-color); border-radius: .75rem;
}
.woocommerce-cart table.shop_table td, .woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table td, .woocommerce-checkout table.shop_table th {
  border-color: var(--bs-border-color);
}
.woocommerce-cart .cart_totals h2, .woocommerce-cart .cross-sells h2 { font-size: 1.25rem; font-weight: 700; }
.woocommerce-cart #coupon_code { border: 1px solid var(--bs-border-color); border-radius: 50rem; padding: .55rem 1rem; }
.woocommerce-cart .woocommerce-message, .woocommerce-checkout .woocommerce-message,
.woocommerce-cart .woocommerce-info, .woocommerce-checkout .woocommerce-info {
  border-top-color: var(--rfx-orange);
}
.woocommerce-cart .woocommerce-message a.button { margin-top: -6px; }
.woocommerce-cart a.remove { color: #b91c1c !important; }
.woocommerce-cart a.remove:hover { background: #b91c1c; color: #fff !important; }

/* Kategórie v sidebari — samostatný panel nad filtrami */
.rfx-cat-panel {
  background: #fff;
  border: 1px solid var(--rx-line, #e6e1d8);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.rfx-cat-panel .rfx-cat-back { margin-bottom: .65rem; }
.rfx-cat-panel .rfx-cat-tree { margin-bottom: 0; }

/* Kategórie v sidebari — vzhľad ľavého menu (vzdušné riadky, hover, aktívna pilulka) */
.rfx-cat-panel { padding: .6rem; }
.rfx-cat-panel .rfx-cat-back {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .75rem .75rem; margin: 0 0 .5rem;
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--bs-secondary-color);
  border-bottom: 1px solid var(--rx-line, #e6e1d8);
  text-decoration: none;
}
.rfx-cat-panel .rfx-cat-back:hover { color: var(--rfx-orange); }
.rfx-cat-panel .rfx-cat-tree li + li { margin-top: 2px; }
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  padding: .6rem .75rem;
  border-radius: .5rem;
  font-size: .92rem; font-weight: 500; line-height: 1.35;
  color: var(--bs-body-color); text-decoration: none;
  transition: background .15s, color .15s;
}
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub:hover { background: var(--rfx-bg-soft); color: var(--rfx-orange); }
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub.is-current { background: var(--rfx-orange); color: #fff; font-weight: 600; }
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub.is-current:hover { background: var(--rfx-orange-dark, #045cb4); color: #fff; }
.rfx-cat-panel .rfx-cat-sub-dot { display: none; }
.rfx-cat-panel .rfx-cat-name { flex: 1 1 auto; font-size: inherit; font-weight: inherit; margin: 0; }
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub::after {
  content: ""; width: 7px; height: 7px; flex: 0 0 auto;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); opacity: .4;
}
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub.is-current::after { opacity: .9; }

.rfx-price-on-request { font-size: 1rem; font-weight: 600; color: var(--bs-secondary-color); }
.rfx-card-price .rfx-price-on-request { font-size: .9rem; }

/* SEO popis kategórie pod titulkom (excerpt + Čítať viac) */
.rfx-seo { max-width: 78ch; margin: .35rem 0 .5rem; font-size: .95rem; color: var(--bs-secondary-color); }
.rfx-seo p { margin-bottom: .75rem; }
.rfx-seo a { color: var(--rfx-orange); text-decoration: underline; text-underline-offset: 2px; }
.rfx-seo a:hover { color: var(--rfx-orange-dark, #045cb4); }
.rfx-seo h2 { font-size: 1.1rem; font-weight: 700; margin: 1.25rem 0 .5rem; color: var(--bs-body-color); }
.rfx-seo-toggle {
  border: 0; background: none; padding: 0;
  color: var(--rfx-orange); font-weight: 600; font-size: .9rem;
  cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
}
.rfx-seo-toggle:hover { color: var(--rfx-orange-dark, #045cb4); }
.rfx-seo-toggle::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .15s;
}
.rfx-seo-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }

/* SEO popis: zbaleny stav = 3 riadky (max-height). Toggle "Čítať viac" sa zobrazí
   len keď text pretečie (JS doplní .has-more), krátky popis sa ukáže celý bez tlačidla. */
.rfx-seo { position: relative; }
.rfx-seo.is-clamped .rfx-seo-text {
  max-height: 4.5em; /* 3 x line-height 1.5 */
  overflow: hidden;
}
.rfx-seo:not(.has-more) .rfx-seo-toggle { display: none; }
.rfx-seo .rfx-seo-text p:last-child { margin-bottom: .25rem; }
.rfx-seo-toggle { margin-top: .35rem; }

/* Miniatúry kategórií v ľavom menu */
.rfx-cat-panel .rfx-cat-thumb {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--rfx-bg-soft);
  border-radius: .5rem;
  padding: 3px;
  color: var(--bs-secondary-color);
}
.rfx-cat-panel .rfx-cat-thumb img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub { padding: .45rem .6rem; }
.rfx-cat-panel .rfx-cat-link.rfx-cat-sub.is-current .rfx-cat-thumb { background: #fff; color: var(--rfx-orange); }

/* =========================== MOBILNÁ HLAVIČKA (<lg) =========================== */
@media (max-width: 991.98px) {
  .rfx-main-header { padding-top: .6rem; padding-bottom: .6rem; }
  .rfx-main-header .container-xl { display: flex; flex-wrap: wrap; align-items: center; }
  /* poradie: hamburger | logo v strede | akcie vpravo | vyhľadávanie na celý riadok */
  .rfx-main-header .navbar-toggler { order: 0; border: 0; padding: .35rem .4rem; margin-left: -.4rem; flex: 0 0 auto; }
  .rfx-main-header .navbar-toggler:focus { box-shadow: none; }
  .rfx-main-header .rfx-logo { order: 1; margin: 0 auto !important; flex: 0 1 auto; min-width: 0; }
  .rfx-main-header .rfx-logo img { width: 132px; height: 28px; }
  .rfx-main-header .container-xl > .d-flex.align-items-center { order: 2; margin-left: 0 !important; gap: .1rem; flex: 0 0 auto; flex-wrap: nowrap; }
  .rfx-main-header .rfx-search {
    order: 3; flex: 0 0 100%; max-width: 100% !important;
    margin: .7rem 0 0 !important;
  }
  .rfx-action-cart { margin-left: .25rem !important; }
  .rfx-cart-count { font-size: .8rem; }
}
/* Telefóny: suma košíka sa do riadku nezmestí (lámala hlavičku do 2 riadkov) - ostáva ikonka */
@media (max-width: 575.98px) {
  .rfx-main-header .rfx-cart-count { display: none; }
  .rfx-main-header .rfx-logo img { max-width: 42vw; height: auto; }
}

/* Home ikonka v breadcrumbe - text Domov ostava pre citacky, vizualne ikonka zo sprite */
.breadcrumb .breadcrumb-item:first-child { display: inline-flex; align-items: center; }
.breadcrumb .breadcrumb-item:first-child a {
  font-size: 0; line-height: 0;
  display: block; width: 15px; height: 15px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6660' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9.5 12 3l9 6.5V20a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/></svg>") no-repeat center / contain;
}

/* Zarovnanie navigácií s logom - prvý item začína textom/ikonou na hrane kontajnera */
@media (min-width: 992px) {
  .rfx-nav-main .navbar-nav { margin-left: -1rem; }
}
.rfx-topbar-cats { margin-left: -.5rem; }

/* Detail produktu na účiare loga - karta siaha do paddingu kontajnera, obsah na 0.75rem */
.rfx-product-page.bg-white {
  margin-left: -.75rem; margin-right: -.75rem;
  padding-left: .75rem !important;
  padding-right: .75rem !important;
}

/* Horný topbar - modrý s bielym textom */
.rfx-topbar { background: var(--rfx-orange); border-bottom: 0; }
.rfx-topbar-cats a { color: #fff; }
.rfx-topbar-cats a:hover { color: #fff; background: rgba(255,255,255,.16); }
.rfx-topbar .rfx-tb-item { color: #fff; }
.rfx-topbar .rfx-tb-item:hover { color: #fff; opacity: .85; }
.rfx-topbar .rfx-tb-item small { color: rgba(255,255,255,.75); }
.rfx-topbar .rfx-tb-item strong, .rfx-topbar .rfx-tb-item svg { color: #fff; }

/* =========================== STICKY MINI HLAVIČKA =========================== */
body.rfx-stuck .rfx-main-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  box-shadow: 0 10px 28px -14px rgba(0, 40, 80, .25);
  animation: rfxSlideDown .22s ease;
}
body.admin-bar.rfx-stuck .rfx-main-header { top: 32px; }
@keyframes rfxSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
/* Mini verzia LEN na desktope - na mobile sa pripína plná mobilná hlavička bezo zmien */
@media (min-width: 992px) {
  body.rfx-stuck .rfx-main-header { padding-top: .3rem !important; padding-bottom: .3rem !important; }
  body.rfx-stuck .rfx-main-header .rfx-logo img { width: 150px; height: 32px; }
  body.rfx-stuck .rfx-main-header .rfx-action-icon.d-lg-flex { display: none !important; }
  body.rfx-stuck .rfx-search input[type="search"],
  body.rfx-stuck .rfx-search .dgwt-wcas-search-input {
    padding-top: .3rem !important; padding-bottom: .3rem !important; min-height: 0 !important;
  }
}
/* Desktop: hamburger vypnutý (Bootstrap default ho skrýva >= lg), navigáciu
   rieši ľavý panel s kompletným stromom kategórií; drawer ostáva pre mobil */

/* Kompletný strom kategórií v ľavom paneli */
.rfx-cat-full .rfx-ct-row { display: flex; align-items: center; }
/* V strome chevron rieši toggle tlačidlo - CSS šípka linku by bola duplicitná */
.rfx-cat-full .rfx-cat-link.rfx-cat-sub::after { display: none; }
.rfx-cat-full .rfx-ct-row .rfx-cat-link { flex: 1 1 auto; min-width: 0; }
.rfx-ct-toggle {
  flex: 0 0 28px; width: 28px; height: 28px;
  border: 0; background: none; border-radius: .4rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--bs-secondary-color); cursor: pointer;
}
.rfx-ct-toggle:hover { background: var(--rfx-bg-soft); color: var(--rfx-orange); }
.rfx-ct-toggle svg { transition: transform .15s ease; }
.rfx-ct-li.is-open > .rfx-ct-row .rfx-ct-toggle svg { transform: rotate(90deg); }
.rfx-cat-full .rfx-ct-kids { display: none; padding-left: 1rem; }
.rfx-ct-li.is-open > .rfx-ct-kids { display: block; }

/* Telefón v sticky mini hlavičke */
.rfx-stuck-phone { display: none; }
@media (max-width: 991.98px) { body.rfx-stuck .rfx-stuck-phone { display: none !important; } }
body.rfx-stuck .rfx-stuck-phone {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--rfx-orange); text-decoration: none;
  font-weight: 700; font-size: .85rem;
  padding: .35rem .5rem; white-space: nowrap;
}
body.rfx-stuck .rfx-stuck-phone:hover { color: var(--rfx-orange-dark, #045cb4); }
@media (max-width: 991.98px) {
  body.rfx-stuck .rfx-stuck-phone-num { display: none; }
}

/* Filter head bez napisu - len reset vpravo */
.rfx-filter-head { justify-content: flex-end; margin-bottom: .5rem; }

/* Ploché checkboxy vo filtroch (namiesto natívnych 3D) */
.rfx-shop-sidebar input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--bs-border-color);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  vertical-align: -3px;
  transition: background .12s, border-color .12s;
}
.rfx-shop-sidebar input[type="checkbox"]:hover { border-color: var(--rfx-orange); }
.rfx-shop-sidebar input[type="checkbox"]:checked {
  background: var(--rfx-orange);
  border-color: var(--rfx-orange);
}
.rfx-shop-sidebar input[type="checkbox"]:checked::after {
  content: "";
  position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.rfx-shop-sidebar input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(1, 117, 234, .35); outline-offset: 1px;
}

/* =========================== JEMNÉ ANIMÁCIE ÚVODKY =========================== */
.rfx-reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .85s cubic-bezier(.2, .7, .3, 1), transform .85s cubic-bezier(.2, .7, .3, 1);
}
.rfx-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  /* vstup hero prvkov (titulok neanimujeme kvôli LCP) */
  .rfx-hero-eyebrow { animation: rfxFadeUp .5s ease backwards .05s; }
  .rfx-hero-trust .rfx-trust-pill { animation: rfxFadeUp .45s ease backwards; }
  .rfx-hero-trust .rfx-trust-pill:nth-child(2) { animation-delay: .08s; }
  .rfx-hero-trust .rfx-trust-pill:nth-child(3) { animation-delay: .16s; }
  .rfx-hero-trust .rfx-trust-pill:nth-child(4) { animation-delay: .24s; }
  .rfx-hero-card { animation: rfxFloatIn .6s cubic-bezier(.2, .7, .3, 1) backwards .12s; }
}
@keyframes rfxFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rfxFloatIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

/* mikro interakcie - zoom fotky pri hoveri karty */
.rfx-card .rfx-card-imgbox img,
.rfx-cat-img-wrap img,
.rfx-hero-img-wrap img { transition: transform .35s ease; }
.rfx-card:hover .rfx-card-imgbox img { transform: scale(1.05); }
.rfx-cat-card:hover .rfx-cat-img-wrap img { transform: scale(1.07); }
.rfx-hero-card:hover .rfx-hero-img-wrap img { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .rfx-reveal { opacity: 1; transform: none; transition: none; }
}

/* Counter v ceste ako chip */
.breadcrumb .rfx-crumb-count {
  display: inline-block;
  min-width: 1.5em;
  padding: .05rem .42rem;
  margin-left: .15rem;
  border-radius: 50rem;
  background: var(--bs-primary-bg-subtle);
  color: var(--rfx-orange);
  font-size: .68rem; font-weight: 600; line-height: 1.5;
  text-align: center;
  vertical-align: 1px;
}



/* Filter bloky - neutralizacia legacy .rfx-filter-block paddingu a viditelne hlavicky */
.rfx-filters .rfx-filter-block {
  padding: 0;
  border-top: 0;
  background: #fff;
}
.rfx-filters .rfx-filter-block .card-header {
  background: linear-gradient(90deg, rgba(1, 117, 234, .12), rgba(1, 117, 234, .02) 70%, transparent) !important;
  border-bottom: 0;
  padding: .6rem .75rem;
  color: var(--bs-body-color);
}

/* Drawer logo je klikatelne na homepage */
#swm-drawer .swm-logo, #swm-drawer .swm-logo-text { cursor: pointer; }

/* Mobil: filter ikonka vedla vyhladavania + notification badge */
@media (max-width: 991.98px) {
  .rfx-search { display: flex; align-items: center; gap: .5rem; }
  .rfx-search > *:not(.rfx-mfilter) { flex: 1 1 auto; min-width: 0; }
}
.rfx-mfilter {
  position: relative; flex: 0 0 auto;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--bs-border-color); border-radius: 50rem;
  background: #fff; color: var(--bs-body-color);
  cursor: pointer;
}
.rfx-mfilter[aria-expanded="true"] { border-color: var(--rfx-orange); color: var(--rfx-orange); }
.rfx-mfilter-badge {
  position: absolute; top: -5px; right: -5px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 50rem;
  background: var(--rfx-orange); color: #fff;
  font-size: .66rem; font-weight: 700; line-height: 18px;
  text-align: center;
  border: 2px solid #fff; box-sizing: content-box;
}

/* Badge filtra cerveny (notification styl) */
.rfx-mfilter-badge { background: #d92b2b; }

/* Vyrazne vymazanie filtrov */
.rfx-filter-reset-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .8rem;
  border: 1px solid #f1b8b8; border-radius: 50rem;
  background: #fdecec; color: #b91c1c;
  font-size: .78rem; font-weight: 700;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.rfx-filter-reset-link::before {
  content: ""; width: 9px; height: 9px;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
}
.rfx-filter-reset-link:hover { background: #b91c1c; color: #fff; border-color: #b91c1c; }

/* Filter UX: chips, zbalitelne bloky, zobrazit viac, cenove inputy */
.rfx-active-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .85rem; }
.rfx-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .32rem .75rem;
  border: 1px solid var(--bs-border-color); border-radius: 50rem;
  background: #fff; color: var(--bs-body-color);
  font-size: .78rem; font-weight: 600;
  cursor: pointer; transition: border-color .15s, color .15s;
}
.rfx-chip::after {
  content: ""; width: 9px; height: 9px; opacity: .55;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%);
}
.rfx-chip:hover { border-color: #b91c1c; color: #b91c1c; }
.rfx-chip:hover::after { opacity: 1; }

.rfx-filters .card-header.rfx-collapsible { cursor: pointer; position: relative; padding-right: 2rem; }
.rfx-filters .card-header.rfx-collapsible::after {
  content: ""; position: absolute; right: .9rem; top: 50%;
  width: 7px; height: 7px; margin-top: -5px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .15s;
}
.rfx-filters .card-header.rfx-collapsible.is-closed::after { transform: rotate(-45deg); margin-top: -2px; }

.rfx-cb-item.rfx-clamped { display: none !important; }
.rfx-showmore {
  border: 0; background: none; padding: .35rem .5rem;
  color: var(--rfx-orange); font-size: .78rem; font-weight: 600; cursor: pointer;
}
.rfx-showmore:hover { color: var(--rfx-orange-dark, #045cb4); }

.rfx-range-inputs input[type="number"] { width: 5.6rem; font-size: .8rem; }

/* Mobil: zoradenie ako horizontalny scroll pasik */
@media (max-width: 767.98px) {
  .rfx-toolbar { flex-direction: column; align-items: stretch; gap: .5rem; }
  .rfx-sort {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 0; margin-right: 0;
    padding: .1rem 0;
    scroll-snap-type: x proximity;
  }
  .rfx-sort::-webkit-scrollbar { display: none; }
  .rfx-sort-link {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    border: 1px solid var(--bs-border-color);
  }
  .rfx-sort-link.is-active { border-color: transparent; }
}
@media (max-width: 767.98px) {
  [data-rfx-main] { min-width: 0; }
  .rfx-toolbar { max-width: 100%; min-width: 0; }
  .rfx-sort { max-width: 100%; min-width: 0; }
}

/* Mobil/tablet: vzdušnejší bočný okraj obsahu (12px bolo natlačené zľava) */
@media (max-width: 991.98px) {
  .container-xl { padding-left: 1.25rem; padding-right: 1.25rem; }
  .rfx-hero .rfx-hero-swiper.swiper { margin-left: -1.25rem; margin-right: -1.25rem; }
}

/* Uvodna stranka: kompletne menu struktury pod bannerom, top-level vetvy v stlpcoch */
.rfx-home-cats-below .rfx-cat-panel { padding: 1rem; }
@media (min-width: 768px) {
  .rfx-home-cats-below > .rfx-cat-panel > .rfx-cat-tree { column-count: 2; column-gap: 2rem; }
}
@media (min-width: 1200px) {
  .rfx-home-cats-below > .rfx-cat-panel > .rfx-cat-tree { column-count: 3; }
}
.rfx-home-cats-below > .rfx-cat-panel > .rfx-cat-tree > li {
  break-inside: avoid;
  margin-bottom: 2px;
}

/* Hlavne menu: horizontalne scrollovatelny pas chipov (obrazok + 2-riadkovy text) */
.rfx-cat-chips { background: #fff; border-top: 1px solid var(--rx-line, #e6e1d8); }
.rfx-cat-chips-track {
  display: flex; gap: .5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: .6rem 0;
  min-width: 0;
}
.rfx-cat-chips-track::-webkit-scrollbar { display: none; }
.rfx-cat-chip {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .45rem;
  width: 120px; height: 120px;
  padding: .5rem .4rem;
  border: 1px solid var(--bs-border-color);
  border-radius: .75rem;
  background: #fff;
  color: var(--bs-body-color); text-decoration: none;
  text-align: center;
  scroll-snap-align: center;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.rfx-cat-chip:hover { border-color: var(--rfx-orange); color: var(--rfx-orange); }
.rfx-cat-chip.is-active { border-color: var(--rfx-orange); background: var(--bs-primary-bg-subtle); color: var(--rfx-orange); font-weight: 600; }
.rfx-cat-chip-img {
  width: 36px; height: 32px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  color: var(--rx-slate, #6b6660);
}
.rfx-cat-chip .rfx-cat-chip-img img { width: 28px; height: 28px; object-fit: contain; }
.rfx-cat-chip-name {
  font-size: .8rem; font-weight: 500; line-height: 1.25;
  min-height: 1.8em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Chips pas hlavneho menu na celu sirku obrazovky */
.rfx-cat-chips > .container-xl { max-width: none; }

/* Load animacia chips pasu: dorazi zprava (~10% dlzky) + fade - naznak scrollovatelnosti */
@keyframes rfxChipsArrive {
  from { transform: translateX(9%); opacity: 0; }
  to   { transform: translateX(0);  opacity: 1; }
}
.rfx-cat-chips-track { animation: rfxChipsArrive .9s cubic-bezier(.2, .7, .2, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .rfx-cat-chips-track { animation: none; }
}

/* Velka modra sipka doprava - posunie cely slajd chips pasu */
.rfx-cat-chips > .container-xl { position: relative; }
.rfx-cat-chips > .container-xl::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 96px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #fff 78%);
  pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
.rfx-chips-next {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--rfx-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  box-shadow: 0 8px 20px -8px rgba(1, 117, 234, .55);
  opacity: 0; pointer-events: none;
  transition: background-color .15s ease, opacity .2s ease, transform .15s ease;
}
.rfx-chips-next:hover { background: var(--rfx-orange-dark, #045cb4); transform: translateY(-50%) scale(1.06); }
/* Sipka aj gradient su skryte, kym sa nezisti, ze je pas scrollovatelny a nie je na konci.
   Skryty vychodiskovy stav = pri nacitani nic nepreblikne (JS je deferred, plne CSS async). */
.rfx-cat-chips.is-scrollable:not(.is-end) .rfx-chips-next { opacity: 1; pointer-events: auto; }
.rfx-cat-chips.is-scrollable:not(.is-end) > .container-xl::after { opacity: 1; }
@media (max-width: 767.98px) {
  .rfx-chips-next { width: 40px; height: 40px; right: 8px; }
}

/* Lava sipka - viditelna len ked je pas zascrollovany doprava */
.rfx-cat-chips > .container-xl::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 96px;
  background: linear-gradient(270deg, rgba(255,255,255,0), #fff 78%);
  pointer-events: none; z-index: 1;
  opacity: 0; transition: opacity .2s ease;
}
.rfx-chips-prev {
  position: absolute; top: 50%; left: 14px; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--rfx-orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
  box-shadow: 0 8px 20px -8px rgba(1, 117, 234, .55);
  opacity: 0; pointer-events: none;
  transition: background-color .15s ease, opacity .2s ease, transform .15s ease;
}
.rfx-chips-prev:hover { background: var(--rfx-orange-dark, #045cb4); transform: translateY(-50%) scale(1.06); }
.rfx-cat-chips.is-scrolled .rfx-chips-prev { opacity: 1; pointer-events: auto; }
.rfx-cat-chips.is-scrolled > .container-xl::before { opacity: 1; }
@media (max-width: 767.98px) {
  .rfx-chips-prev { width: 40px; height: 40px; left: 8px; }
}

/* PJAX loading stav pri dynamickom prepnuti kategorie */
.rfx-pjax-loading [data-rfx-shop] { opacity: .45; pointer-events: none; transition: opacity .15s ease; }

/* Lavy panel filtrov: sticky pri scrolle (desktop), dlhy obsah scrolluje interne */
@media (min-width: 992px) {
  .rfx-shop-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    scrollbar-width: thin;
    padding-right: 2px;
  }
}


/* =========================== AQUAPULSE - HLAVIČKA DOPLNKY =========================== */
.rfx-topbar-note {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; font-size: .74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .05em;
}
.rfx-topbar-note strong { font-weight: 800; }
/* Chips hlavného menu: fotky kategórií (nie line ikony), o 20 % väčšie než pôvodných 44 px */
.rfx-cat-chip-img { width: 58px; height: 53px; }
.rfx-cat-chip .rfx-cat-chip-img img { width: 53px; height: 53px; object-fit: contain; border-radius: .5rem; background: #fff; }
/* Blend overlay (filter rfx_chip_image_blend): podfarbený box + multiply, biele pozadie fotky splynie s podkladom */
.rfx-cat-chip-img--blend {
  width: 58px; height: 58px; border-radius: .7rem;
  background: var(--bs-primary-bg-subtle);
  transition: background .15s ease;
}
.rfx-cat-chip .rfx-cat-chip-img--blend img { mix-blend-mode: multiply; background: transparent; border-radius: 0; }
.rfx-cat-chip:hover .rfx-cat-chip-img--blend { background: #ddebfb; }
.rfx-cat-chip.is-active .rfx-cat-chip-img--blend { background: #d5e6fb; }
.rfx-cat-chip--page .rfx-cat-chip-img { color: var(--rfx-orange); }
.rfx-brand-tag { font-size: .7rem; font-weight: 800; letter-spacing: .08em; color: var(--bs-secondary-color); }
.rfx-card-avail { font-size: .68rem; color: var(--bs-secondary-color); white-space: nowrap; }

/* =========================== AQUAPULSE - ÚVODNÁ STRÁNKA =========================== */
.aqp-section-title {
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem);
  font-weight: 700; letter-spacing: -.015em; line-height: 1.15;
}

/* Hero - fotka na celú šírku, text dole vľavo (ako pôvodná úvodka) */
.aqp-hero {
  position: relative; isolation: isolate;
  min-height: clamp(420px, 70vh, 720px);
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  color: #fff;
  margin-top: -1rem;
}
.aqp-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 20, 45, .22) 0%, rgba(0, 20, 45, .42) 50%, rgba(0, 20, 45, .72) 100%);
}
/* Text je vycentrovaný v časti hera nad dlaždicami - spodný padding = horný + 2.5rem prekrytia (.aqp-tiles margin-top) */
.aqp-hero-inner { max-width: 760px; padding: 3rem 0 5.5rem; text-shadow: 0 2px 14px rgba(0, 20, 45, .45); }
.aqp-hero-title {
  font-size: clamp(2rem, 1.35rem + 2.8vw, 3.6rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -.02em;
  margin-bottom: .75rem; color: #fff;
}
.aqp-hero-lead { font-size: clamp(1rem, .9rem + .5vw, 1.25rem); opacity: .92; margin: 0; max-width: 56ch; }
@media (max-width: 767.98px) {
  .aqp-hero { min-height: clamp(360px, 62vh, 560px); }
  .aqp-hero-inner { padding: 2rem 0 4.5rem; }
}

/* Tri dlaždice - prekrývajú spodok hera */
.aqp-tiles { position: relative; z-index: 2; margin-top: -2.5rem; }
.aqp-tile {
  display: block; position: relative; overflow: hidden;
  border-radius: 1rem; aspect-ratio: 3 / 2;
  background: #0f1c2b; color: #fff; text-decoration: none;
  box-shadow: 0 20px 40px -24px rgba(0, 20, 45, .5);
}
.aqp-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.aqp-tile:hover img { transform: scale(1.05); }
.aqp-tile-body {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: linear-gradient(0deg, rgba(0, 15, 35, .82), rgba(0, 15, 35, 0));
  color: #fff;
}
.aqp-tile-title { margin: 0; font-weight: 700; color: #fff; font-size: 1.35rem; }
.aqp-tile-body svg { flex: 0 0 auto; transition: transform .2s ease; }
.aqp-tile:hover .aqp-tile-body svg { transform: translateX(4px); }

/* Kategórie produktov - veľká dlaždica + 2x2 */
.aqp-cats { background: #fff; }
.aqp-cat-card {
  display: flex; flex-direction: column; height: 100%;
  min-height: 230px;
  background: #fff; border: 1px solid var(--bs-border-color); border-radius: 1rem;
  padding: 1rem 1.1rem; color: var(--bs-body-color); text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.aqp-cat-card:hover {
  transform: translateY(-5px); border-color: var(--rfx-orange);
  box-shadow: 0 20px 40px -22px rgba(0, 20, 45, .3);
  color: var(--rfx-orange);
}
.aqp-cat-card-title {
  font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.aqp-cat-card img {
  flex: 1 1 auto; width: 100%; height: 100%; max-height: 190px;
  object-fit: contain; object-position: center;
  transition: transform .35s ease;
}
.aqp-cat-card:hover img { transform: scale(1.05); }
.aqp-cat-card--big { min-height: 100%; }
.aqp-cat-card--big img { max-height: 460px; }
@media (max-width: 991.98px) {
  .aqp-cat-card--big { min-height: 320px; }
  .aqp-cat-card--big img { max-height: 280px; }
}
@media (max-width: 575.98px) {
  .aqp-cat-card { min-height: 190px; }
  .aqp-cat-card img { max-height: 130px; }
  .aqp-cat-card-title { font-size: .72rem; }
}

/* Uľahčite si život */
/* Uľahčite si život - video na pozadí (pôvodná Elementor sekcia „video banner", 70vh, biely text) */
.aqp-band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(400px, 70vh, 700px);
  display: flex; align-items: center;
  padding: 4rem 0; background: #0b1f3a; color: #fff;
}
.aqp-band-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
/* Prekryv 1:1 podľa Elementor sekcie: gradient 180deg z priehľadnej do Astra astglobalcolor0 (#0175ea), opacity 1 */
.aqp-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #0175ea 100%);
}
.aqp-band-inner { width: 100%; }
.aqp-band .rfx-section-eyebrow { color: #fff; }
.aqp-band .aqp-section-title { color: #fff; }
/* Tlačidlo ako v origináli: hover biele pozadie, modrý text */
.aqp-band .btn-primary:hover, .aqp-band .btn-primary:focus-visible { background: #fff; border-color: #fff; color: #0175ea; }
@media (max-width: 767.98px) {
  .aqp-band { min-height: clamp(340px, 55vh, 520px); padding: 3rem 0; }
}
/* prefers-reduced-motion: JS zdroje videa nepriradí, <video> bez zdrojov zobrazí len poster */

/* Záložky + karusely */
.aqp-tabs { background: #fff; }
.aqp-nav { gap: .5rem; }
.aqp-nav .nav-link {
  border-radius: 999px; border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color); background: #fff;
  padding: .5rem 1.15rem; font-weight: 600; font-size: .9rem;
  transition: background .15s, color .15s, border-color .15s;
}
.aqp-nav .nav-link:hover { border-color: var(--rfx-orange); color: var(--rfx-orange); }
.aqp-nav .nav-link.active { background: var(--rfx-orange); border-color: var(--rfx-orange); color: #fff; }
.aqp-carousel { position: relative; }
.aqp-carousel .swiper-slide { height: auto; }
.aqp-carousel .swiper-slide > .col { flex: 0 0 100%; width: 100%; max-width: 100%; padding: 0; height: 100%; }
.aqp-carousel .rfx-card { height: 100%; display: flex; flex-direction: column; }
.aqp-carousel .rfx-card-link { flex: 1 1 auto; }
.aqp-carousel-prev, .aqp-carousel-next {
  position: absolute; top: 40%; z-index: 5; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--bs-border-color); background: #fff; color: var(--bs-body-color);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 20, 45, .35);
  transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.aqp-carousel-prev { left: -8px; }
.aqp-carousel-next { right: -8px; }
.aqp-carousel-prev:hover, .aqp-carousel-next:hover { background: var(--rfx-orange); color: #fff; border-color: var(--rfx-orange); }
.aqp-carousel-prev.swiper-button-disabled, .aqp-carousel-next.swiper-button-disabled { opacity: 0; pointer-events: none; }
@media (min-width: 1200px) {
  .aqp-carousel-prev { left: -22px; }
  .aqp-carousel-next { right: -22px; }
}

/* Technika, ktorá zvládne záťaž */
.aqp-feature { background: #fafafa; }
.aqp-feature-box {
  background: #fff; border: 1px solid var(--bs-border-color);
  border-radius: 1.5rem; padding: 2.5rem;
}
.aqp-feature-text { font-size: 1.05rem; color: var(--bs-secondary-color); max-width: 60ch; margin-bottom: 1.5rem; }
.aqp-feature-img {
  background: var(--rfx-bg-soft); border-radius: 1rem; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.aqp-feature-img img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 767.98px) { .aqp-feature-box { padding: 1.5rem; } }

/* 3 benefity */
.aqp-benefits { background: #fafafa; }
.aqp-benefit {
  display: block; background: #fff; border: 1px solid var(--bs-border-color);
  border-radius: 1rem; padding: 1.5rem; color: var(--bs-body-color); text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, border-color .25s;
}
.aqp-benefit--link:hover { transform: translateY(-4px); border-color: var(--rfx-orange); color: var(--bs-body-color); box-shadow: 0 20px 40px -22px rgba(0, 20, 45, .3); }
.aqp-benefit-ico {
  width: 52px; height: 52px; border-radius: 16px; margin-bottom: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bs-primary-bg-subtle); color: var(--rfx-orange);
}
.aqp-benefit-title { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.aqp-benefit-text { font-size: .88rem; color: var(--bs-secondary-color); margin: 0; line-height: 1.55; }

/* Kontakt CTA */
.aqp-contact-cta {
  position: relative; isolation: isolate;
  background: #0b2a4a center / cover no-repeat; /* obrázok priradí rfx-front.js (data-bg) pri priblížení */
  padding: 5rem 0; color: #fff;
}
.aqp-contact-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 24, 52, .74); }
.aqp-contact-cta-box { max-width: 720px; }
@media (max-width: 767.98px) { .aqp-contact-cta { padding: 3.5rem 0; } }

/* =========================== AQUAPULSE - OBSAHOVÉ STRÁNKY =========================== */
.rfx-page .rfx-article > h1 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem);
  font-weight: 700; letter-spacing: -.015em; margin-bottom: 1.25rem;
}
.rfx-content { font-size: .95rem; line-height: 1.65; }
.rfx-content h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .75rem; }
.rfx-content h3 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.rfx-content p, .rfx-content ul, .rfx-content ol { margin-bottom: 1rem; }
.rfx-content img { max-width: 100%; height: auto; }
.rfx-content a:not(.btn) { color: var(--rfx-orange); }

.aqp-page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 1.5rem; min-height: 320px;
  background-size: cover; background-position: center;
  display: flex; align-items: flex-end; color: #fff; padding: 2.5rem;
  margin-bottom: 2.5rem;
}
.aqp-page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 45, .1), rgba(0, 20, 45, .75)); }
.aqp-page-hero h2, .aqp-page-hero .h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 700; margin: 0 0 .35rem; }
.aqp-page-hero p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; margin: 0; }
@media (max-width: 767.98px) { .aqp-page-hero { padding: 1.5rem; min-height: 240px; } }

.aqp-card {
  background: #fff; border: 1px solid var(--bs-border-color); border-radius: 1rem;
  padding: 1.5rem; height: 100%;
}
.aqp-card h3, .aqp-card .h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; }
.aqp-card p:last-child { margin-bottom: 0; }
.aqp-card--accent { border-top: 4px solid var(--rfx-orange); }
.aqp-lead { font-size: 1.1rem; color: var(--bs-secondary-color); max-width: 70ch; }

/* FAQ (Bootstrap accordion) */
.aqp-faq .accordion-item { border: 1px solid var(--bs-border-color); border-radius: .75rem !important; margin-bottom: .6rem; overflow: hidden; }
.aqp-faq .accordion-button { font-weight: 600; font-size: .95rem; padding: 1rem 1.25rem; box-shadow: none; }
.aqp-faq .accordion-button:not(.collapsed) { background: var(--bs-primary-bg-subtle); color: var(--rfx-orange); }
.aqp-faq .accordion-button:focus { box-shadow: none; border-color: var(--bs-border-color); }
.aqp-faq .accordion-body { color: var(--bs-body-color); padding: .5rem 1.25rem 1.25rem; }

/* Tím - avatar s iniciálami */
.aqp-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bs-primary-bg-subtle); color: var(--rfx-orange);
  font-size: 1.6rem; font-weight: 700; letter-spacing: .02em;
}

/* Kontaktný formulár (WPForms) v štýle témy */
.aqp-form .wpforms-container { margin: 0; }
.aqp-form .wpforms-field-label { font-weight: 600; font-size: .85rem; margin-bottom: .3rem; }
.aqp-form .wpforms-field input[type="text"],
.aqp-form .wpforms-field input[type="email"],
.aqp-form .wpforms-field input[type="tel"],
.aqp-form .wpforms-field textarea {
  width: 100%; max-width: 100%;
  border: 1px solid var(--bs-border-color); border-radius: .6rem;
  padding: .65rem .85rem; font-size: .95rem; font-family: inherit;
}
.aqp-form .wpforms-field input:focus, .aqp-form .wpforms-field textarea:focus {
  outline: 0; border-color: var(--rfx-orange); box-shadow: 0 0 0 .2rem rgba(1, 117, 234, .15);
}
.aqp-form .wpforms-submit,
.aqp-form button[type="submit"] {
  background: var(--rfx-orange) !important; color: #fff !important; border: 0 !important;
  border-radius: 999px !important; padding: .7rem 1.6rem !important; font-weight: 700 !important;
  font-family: inherit !important; font-size: .95rem !important; cursor: pointer;
}
.aqp-form .wpforms-submit:hover, .aqp-form button[type="submit"]:hover { background: var(--rfx-orange-dark) !important; }

/* Galéria */
.aqp-gallery-item { display: block; border-radius: .85rem; overflow: hidden; background: var(--rfx-bg-soft); aspect-ratio: 4 / 3; }
.aqp-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.aqp-gallery-item:hover img { transform: scale(1.04); }
.aqp-gallery-item--contain img { object-fit: contain; padding: 1rem; }


/* =========================== AQUAPULSE - OPRAVY PO NASADENÍ =========================== */
/* Cena: smartweb plugin po AJAX refreshi (dynamic-price) vracia aj riadok "bez DPH" - téma má vlastný */
.rfx-price .price-vat-container, .rfx-card-price .price-vat-container, .rfx-hero-card-meta .price-vat-container { display: none !important; }
/* Duplicitný riadok dostupnosti zo smartweb add-to-cart šablóny (téma má vlastný badge) */
.rfx-product-page .dynamic-stock, .rfx-product-page .stock-container, .rfx-product-page .summary p.stock, .rfx-product-page .col-lg-6 > p.stock, .rfx-product-page p.stock.in-stock, .rfx-product-page p.stock.out-of-stock { display: none; }
/* Štítok zľavy v galérii */
.rfx-product-gallery { position: relative; }
.rfx-product-gallery .onsale {
  position: absolute; top: 1rem; left: 1rem; z-index: 5;
  background: var(--rfx-orange); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: var(--rx-r-sm, 6px);
}
.rfx-gallery-placeholder img { opacity: .6; }
/* Košík / pokladňa: WC core CSS má vyššiu prioritu (načíta sa neskôr) - brand tlačidlá natvrdo */
.woocommerce-cart .woocommerce a.button, .woocommerce-cart .woocommerce button.button,
.woocommerce-checkout .woocommerce a.button, .woocommerce-checkout .woocommerce button.button, .woocommerce-checkout .woocommerce #place_order,
.woocommerce-account .woocommerce a.button, .woocommerce-account .woocommerce button.button,
.woocommerce .return-to-shop a.button, .woocommerce a.button.alt, .woocommerce button.button.alt {
  background-color: var(--rfx-orange) !important; color: #fff !important;
  border: 0; border-radius: 50rem; padding: .65rem 1.5rem; font-weight: 600; line-height: 1.3;
}
.woocommerce-cart .woocommerce a.button:hover, .woocommerce-cart .woocommerce button.button:hover,
.woocommerce-checkout .woocommerce a.button:hover, .woocommerce-checkout .woocommerce button.button:hover, .woocommerce-checkout .woocommerce #place_order:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background-color: var(--rfx-orange-dark) !important; color: #fff !important; }
.woocommerce-cart .woocommerce button.button:disabled, .woocommerce-cart .woocommerce button.button:disabled[disabled] { opacity: .45; color: #fff !important; }
.woocommerce-cart table.cart td.actions .coupon .input-text { width: 180px; }
/* Upozornenia bez ikonového fontu WooCommerce */
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before,
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-empty-cart-message .cart-empty {
  padding: 1rem 1.25rem !important; border-radius: .75rem; background: var(--bs-primary-bg-subtle); border: 1px solid #b4d5fb; border-top: 1px solid #b4d5fb;
  color: var(--bs-body-color); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem;
}
.woocommerce-error { background: #ffebee; border-color: #ffcdd2; display: block; }
.woocommerce-error li { list-style: none; }
/* Ikony dopravy (plugin Shipping Icons) - malé, vedľa názvu */
.woocommerce ul#shipping_method img, .woocommerce .shipping_method img, .woocommerce-shipping-methods img,
.woocommerce-cart .shipping img, .woocommerce-checkout .shipping img, .woocommerce td.shipping img {
  max-height: 34px !important; width: auto !important; height: auto; vertical-align: middle; margin-right: .5rem; display: inline-block;
}
.woocommerce ul#shipping_method li { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.woocommerce ul#shipping_method li label { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
/* Ikony platobných metód (plugin Payment Gateway Icons) - malé, v riadku s názvom */
.woocommerce-checkout ul.wc_payment_methods li img, .woocommerce-checkout .wc_payment_method label img,
.woocommerce-checkout .payment_methods img, .woocommerce-checkout #payment img {
  max-height: 30px !important; max-width: 90px !important; width: auto !important; height: auto !important;
  vertical-align: middle; margin: 0 .35rem 0 .5rem; display: inline-block; float: none !important;
}
.woocommerce-checkout ul.wc_payment_methods li { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; margin-bottom: .5rem; }
.woocommerce-checkout ul.wc_payment_methods li label { display: inline-flex; align-items: center; gap: .5rem; margin: 0; flex: 1 1 auto; }
.woocommerce-checkout ul.wc_payment_methods li .payment_box { flex: 0 0 100%; }
.woocommerce-checkout #payment { background: #fff; border: 1px solid var(--bs-border-color); border-radius: .75rem; }
.woocommerce-checkout #payment ul.payment_methods { padding: 1rem; border-bottom: 1px solid var(--bs-border-color); }
.woocommerce-checkout #payment .place-order { padding: 1rem; }
/* Úvodná stránka bez pásu kategórií: hero nadväzuje priamo na hlavičku */
.home .rfx-main-header { border-bottom: 1px solid var(--bs-border-color); }
/* Pás hlavného menu na stred: keď sa chipy zmestia, sú vycentrované; pri pretečení "safe" ponechá scroll od ľavého okraja */
.rfx-cat-chips-track { justify-content: safe center; }


/* Smartweb's Must Have - Cart: drawer a bublina preberajú farby témy */
:root {
  --sw-cart-accent: var(--rx-orange-rx, #0175ea);
  --sw-cart-accent-ink: #fff;
  --sw-cart-ink: var(--rx-ink, #100f0d);
  --sw-cart-mute: var(--rx-mute, #97918a);
  --sw-cart-line: var(--rx-line, #e6e1d8);
  --sw-cart-radius: var(--rx-r-md, 10px);
}
.rfx-action-cart .sw-cart-bubble__count { background: #fff; color: var(--rx-orange-rx, #0175ea); }
.rfx-action-cart { position: relative; }
.rfx-cart-btn.is-added { background: var(--bs-success, #198754); }


/* Swiper sa načítava na požiadanie: kým nie je inicializovaný, karusely a galéria držia tvar bez posunu layoutu */
[data-aqp-carousel]:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 16px; overflow: hidden; }
[data-aqp-carousel]:not(.swiper-initialized) .swiper-slide { flex: 0 0 calc(25% - 12px); max-width: calc(25% - 12px); }
@media (max-width: 991.98px) { [data-aqp-carousel]:not(.swiper-initialized) .swiper-slide { flex-basis: calc(33.333% - 11px); max-width: calc(33.333% - 11px); } }
@media (max-width: 767.98px) { [data-aqp-carousel]:not(.swiper-initialized) .swiper-slide { flex-basis: calc(50% - 6px); max-width: calc(50% - 6px); } }
@media (max-width: 575.98px) { [data-aqp-carousel]:not(.swiper-initialized) .swiper-slide { flex-basis: 83%; max-width: 83%; } }
.rfx-gallery-main:not(.swiper-initialized) .swiper-wrapper { display: flex; overflow: hidden; }
.rfx-gallery-main:not(.swiper-initialized) .swiper-slide { flex: 0 0 100%; max-width: 100%; }
.rfx-gallery-thumbs:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 10px; overflow: hidden; }
.rfx-gallery-thumbs:not(.swiper-initialized) .swiper-slide { flex: 0 0 calc(25% - 8px); max-width: calc(25% - 8px); }

/* Fallback font s metrikami Plus Jakarta Sans: menší posun layoutu pri výmene fontu (font-display: swap) */
@font-face {
  font-family: 'Plus Jakarta Sans Fallback';
  src: local('Arial'), local('Helvetica');
  size-adjust: 106%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* sw-critical:start */
/* Pravidlá, ktoré musia byť v kritickom CSS (filter sw_assets_critical_css ich pripája automaticky, blok nepremenúvať) */
/* LCP obrázok hera ako <img> (srcset podľa šírky displeja), pod prekryvom ::before */
.aqp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
/* Sekcie pod ohybom a karty: prehliadač preskočí ich štýl a layout, kým sa nepriblížia (content-visibility);
   výška placeholderu približne reálna, aby scrollbar nepreskakoval */
.aqp-cats { content-visibility: auto; contain-intrinsic-size: auto 730px; }
.aqp-band { content-visibility: auto; contain-intrinsic-size: auto 550px; }
.aqp-tabs { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.aqp-feature { content-visibility: auto; contain-intrinsic-size: auto 700px; }
.aqp-benefits { content-visibility: auto; contain-intrinsic-size: auto 600px; }
.aqp-contact-cta { content-visibility: auto; contain-intrinsic-size: auto 350px; }
.rfx-card { content-visibility: auto; contain-intrinsic-size: auto 360px; }
.rfx-filter-block[data-filter-type="checkbox"] { content-visibility: auto; contain-intrinsic-size: auto 160px; }
/* Jemny nastup textov hera. Musi byt v kritickom CSS: hero je nad ohybom a plne CSS dobehne az
   po ~280 ms, dovtedy by bola animacia po funkcii. Keyframes maju len `from`, takze kazdy prvok
   dobehne na svoju vlastnu cielovu opacity (.aqp-hero-lead ma .92, nie 1).
   LCP je hero fotka (.aqp-hero-img), nie text, takze animacia textu ho neodklada. */
@keyframes aqpTextIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: no-preference) {
  .aqp-hero-title { animation: aqpTextIn .9s cubic-bezier(.2, .7, .3, 1) backwards .1s; }
  .aqp-hero-lead { animation: aqpTextIn .9s cubic-bezier(.2, .7, .3, 1) backwards .3s; }
}
/* Sirka kontajnera na displejoch nad 1400 px. Kriticke CSS sa generuje pre 1366 px, takze
   bootstrapovsky breakpoint @media (min-width: 1400px) do neho nikdy nespadne a v kritickom CSS
   ostane len max-width 1140px. Po dobehnuti asynchronneho CSS by sa kontajner rozsiril na 1320px
   a cely obsah (najviditelnejsie horny pasik s justify-content: space-between) by odskocil
   o 90 px do stran. Hodnoty musia sediet s bootstrap.min.css. */
@media (min-width: 1400px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1320px; }
}
/* Sipky pasu kategorii: vychodiskovo skryte. Nastroj critical ich zachyti v stave zo stranky
   (bez tried od JS), takze bez tychto pravidiel by sipka doprava preblikla pri kazdom nacitani. */
.rfx-chips-next { opacity: 0; pointer-events: none; }
.rfx-cat-chips > .container-xl::after { opacity: 0; }
.rfx-cat-chips.is-scrollable:not(.is-end) .rfx-chips-next { opacity: 1; pointer-events: auto; }
.rfx-cat-chips.is-scrollable:not(.is-end) > .container-xl::after { opacity: 1; }
/* sw-critical:end */
