/* ============================================================
   ZDRAVIE-SHOP.SK – REDIZAJN 2026 pre šablónu DISCO (template-13)
   Paleta: petrolejová #2B6777 (farba z vyhľadávača)
   Nahrádza všetky predchádzajúce redizajnové súbory (Classic).
   Developed by NETMALL s.r.o.
   ============================================================ */

/* ---------- 0. PREPIS SÉMANTICKÝCH FARIEB ŠABLÓNY ----------
   Zelená primárna sa mení na petrolejovú – prenesie sa do tlačidiel,
   odkazov a prvkov štýlovaných z nastavení šablóny. */
:root {
  --color-primary: #2B6777;
  --color-primary-h: 193; --color-primary-s: 47%; --color-primary-l: 32%;
  --color-primary-hover: #1F4D59;
  --color-primary-hover-h: 193; --color-primary-hover-s: 48%; --color-primary-hover-l: 24%;
  --color-secondary: #2B6777;
  --color-secondary-h: 193; --color-secondary-s: 47%; --color-secondary-l: 32%;
  --color-secondary-hover: #1F4D59;
  --color-secondary-hover-h: 193; --color-secondary-hover-s: 48%; --color-secondary-hover-l: 24%;
  --color-tertiary-hover: #1F4D59;
  --color-tertiary-hover-h: 193; --color-tertiary-hover-s: 48%; --color-tertiary-hover-l: 24%;
}

/* ---------- 1. PALETA ---------- */
:root {
  --zs-primary: #2B6777;        /* petrolejová – CTA, odkazy, menu */
  --zs-primary-dark: #1F4D59;   /* hover */
  --zs-mint: #6FD1BE;           /* svetlý akcent do petrolejovej */
  --zs-ink: #1E2B32;            /* základný text */
  --zs-heading: #14323D;        /* nadpisy, pätička */
  --zs-bg: #F8FAFB;
  --zs-surface: #FFFFFF;
  --zs-border: #DEE9EC;
  --zs-border-input: #C9DCE1;
  --zs-muted: #5E7680;
  --zs-ice: #E8F2F4;            /* svetlé petrolejové plochy */
  --zs-sale: #C05B1E;
  --zs-star: #E8A33D;
  --zs-stock: #1A7A4F;
  --zs-radius: 18px;
  --zs-radius-btn: 24px;
}

/* ---------- 2. ZÁKLAD ---------- */
body { color: var(--zs-ink); background: var(--zs-bg); }
h1, h2, h3, h4, .category-title { font-weight: 800; color: var(--zs-heading); }
a { color: var(--zs-primary); }
a:hover, a:focus { color: var(--zs-primary-dark); }

/* ---------- 3. HORNÁ LIŠTA + HLAVIČKA ---------- */
.top-navigation-bar {
  background: var(--zs-heading) !important;   /* najtmavší pás – jasne odlíšený od menu */
  color: #fff !important;
  font-size: 13px;
  border-bottom: none !important;
}
.top-navigation-bar a,
.top-navigation-bar span,
.top-navigation-bar button,
.top-navigation-bar select,
.top-navigation-tools a,
.top-navigation-contacts a,
.top-navigation-menu a { color: #fff !important; }
.top-navigation-bar a:hover { color: var(--zs-mint) !important; }
.top-navigation-bar .container,
.top-navigation-bar > div,
.top-navigation-contacts,
.top-navigation-menu,
.top-navigation-tools,
.top-navigation-bar form { background: transparent !important; }
.top-navigation-bar select,
.top-navigation-bar .dropdown button {
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
}
.top-navigation-bar select option { color: #1E2B32; }

#header { background: var(--zs-surface); border-bottom: 1px solid var(--zs-border); }

/* Vyhľadávanie – Disco má lupu (.search-input-icon) absolútne vnútri poľa
   a tlačidlo skryté. Text začínal pod lupou → odsadíme ho. */
#formSearchForm { position: relative; }
#formSearchForm input[type="search"],
.search-form input[type="search"],
.search-form input[type="text"], #searchInput {
  height: 48px;
  border: 1.5px solid var(--zs-border-input) !important;
  border-radius: var(--zs-radius-btn) !important;
  padding-left: 50px !important;
  padding-right: 18px !important;
  background: #fff;
  font-size: 15px;
  color: var(--zs-ink);
  box-shadow: none;
}
#formSearchForm input[type="search"]:focus {
  border-color: var(--zs-primary) !important;
  box-shadow: 0 0 0 4px rgba(43, 103, 119, .12) !important;
}
#formSearchForm .search-input-icon {
  left: 18px !important;
  top: 50% !important;
  width: 22px !important;
  height: 22px !important;
  transform: translateY(-50%) !important;
  justify-content: center;
  align-items: center;
  color: var(--zs-primary);
  pointer-events: none;
  z-index: 2;
}
#formSearchForm .search-input-icon::before {
  width: 20px !important;
  font-size: 20px !important;
  color: var(--zs-primary) !important;
}
@media (min-width: 992px) {
  #header .search { flex: 1 1 auto; max-width: 560px; }
  #formSearchForm { width: 100%; }
}
body #searchForm button[type="submit"],
body .search-form .btn,
body #searchBtn,
body .search-form fieldset > button[type="submit"],
body .search-form .search-button {
  background: var(--zs-primary) !important;
  background-color: var(--zs-primary) !important;
  border-color: var(--zs-primary) !important;
  border-radius: 0 var(--zs-radius-btn) var(--zs-radius-btn) 0 !important;
  color: #fff !important;
  font-weight: 600;
}
body #searchBtn:hover,
body .search-form fieldset > button[type="submit"]:hover {
  background: var(--zs-primary-dark) !important;
  background-color: var(--zs-primary-dark) !important;
}

body #header .cart-count,
body #header .cart-count *,
body #header .cart-count::before,
body #headerCart, body #headerCart * { color: var(--zs-primary) !important; }
body #header .cart-count, body #headerCart {
  background: var(--zs-ice) !important;
  border-radius: var(--zs-radius-btn) !important;
}

/* ---------- 4. MENU – plná petrolejová lišta (schválený smer A) ---------- */
#navigation, #navigation .navigation-in {
  background: var(--zs-primary) !important;
  border-top: none;
  border-bottom: none;
}
.navigation-in > ul > li > a {
  color: #fff !important;
  background: transparent !important;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.navigation-in > ul > li > a:hover,
.navigation-in > ul > li.exp > a,
.navigation-in > ul > li.active > a {
  color: #fff !important;
  background: var(--zs-primary-dark) !important;
  border-bottom-color: var(--zs-mint);
}
.navigation-in ul.menu-level-2 {
  border: 1px solid var(--zs-border);
  border-radius: 12px;
  background: var(--zs-surface);
}
.navigation-in ul.menu-level-2 a { color: var(--zs-ink) !important; }
.navigation-in ul.menu-level-2 a:hover { color: var(--zs-primary) !important; }
body .menu-helper { background: var(--zs-primary-dark) !important; color: #fff !important; border-radius: 0; }
body .menu-helper span { color: #fff !important; }

/* ---------- 5. TLAČIDLÁ ---------- */
.btn-primary, .btn-conversion, .btn-cart, .add-to-cart-button {
  background: var(--zs-primary) !important;
  border-color: var(--zs-primary) !important;
  border-radius: var(--zs-radius-btn) !important;
  color: #fff !important;
  font-weight: 700;
}
.btn-primary:hover, .btn-conversion:hover,
.btn-cart:hover, .add-to-cart-button:hover {
  background: var(--zs-primary-dark) !important;
  border-color: var(--zs-primary-dark) !important;
}
.btn-secondary, .btn-default {
  background: #fff !important;
  border: 1.5px solid #9FC4CE !important;
  color: var(--zs-primary) !important;
  border-radius: var(--zs-radius-btn) !important;
  font-weight: 600;
}
.btn-secondary:hover, .btn-default:hover { background: var(--zs-ice) !important; }

/* ---------- 6. PRODUKTOVÉ KARTY ---------- */
.p, .product {
  background: var(--zs-surface);
  border: 1px solid var(--zs-border);
  border-radius: var(--zs-radius);
  transition: box-shadow .15s ease, transform .15s ease;
}
.p:hover, .product:hover {
  box-shadow: 0 10px 28px rgba(20, 50, 61, .12);
  transform: translateY(-2px);
}
.p .name, .p .name span, .product .name, .product .name span {
  color: var(--zs-ink) !important;
  font-weight: 600;
}
.p .name:hover span, .product .name:hover span { color: var(--zs-primary) !important; }
.p-desc { color: var(--zs-muted); }
.price-final { color: var(--zs-heading) !important; font-weight: 800; }
.price-standard { color: #8FA3AB; }
.price-save { color: var(--zs-sale); font-weight: 700; }
.availability { font-weight: 600; }
.availability [style*="green"],
.availability-value[style*="green"] { color: var(--zs-stock) !important; }
.flag { border-radius: 14px; font-weight: 700; }
.flag-action, .flag-discount { background: var(--zs-sale) !important; color: #fff; }
.flag-quantity-discount { background: #D9F2EB !important; color: #116B57 !important; }
.star.star-on, .rate-star .star-on { color: var(--zs-star); }

/* ---------- 7. ÚVOD – lišta výhod ---------- */
.benefitBanner { gap: 16px; }
.benefitBanner__item {
  background: var(--zs-surface);
  border: 1px solid var(--zs-border);
  border-radius: var(--zs-radius);
  padding: 14px 18px;
}
.benefitBanner__img, .benefitBanner__picture { display: none !important; }
.benefitBanner__content { font-weight: 600; color: var(--zs-ink); }

/* ---------- 8. ÚVOD – hero a dlaždice (uvod-bloky.html) ---------- */
.zs-hero {
  background: linear-gradient(135deg, #E8F2F4 0%, #EDF7F2 100%);
  border-radius: 24px;
  padding: 44px 40px;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.zs-hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #CBE2E8; border-radius: 20px;
  padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--zs-primary);
}
.zs-hero__badge::before { content: "★"; color: var(--zs-star); }
.zs-hero h1 { margin: 0; font-size: 40px; line-height: 1.15; color: var(--zs-heading); }
.zs-hero p { margin: 0; font-size: 16.5px; line-height: 1.6; color: #41565F; max-width: 640px; }
.zs-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.zs-hero__cta .zs-btn-main {
  background: var(--zs-primary); color: #fff !important; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 26px; text-decoration: none; display: inline-block;
}
.zs-hero__cta .zs-btn-main:hover { background: var(--zs-primary-dark); }
.zs-hero__cta .zs-btn-side {
  background: #fff; color: var(--zs-primary) !important; border: 1.5px solid #9FC4CE;
  font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 26px;
  text-decoration: none; display: inline-block;
}
.zs-hero__cta .zs-btn-side:hover { background: var(--zs-ice); }

.zs-tiles-heading { font-weight: 800; font-size: 26px; color: var(--zs-heading); margin: 8px 0 16px; }
.zs-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 28px; }
.zs-tiles a {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--zs-surface); border: 1px solid var(--zs-border); border-radius: var(--zs-radius);
  padding: 20px 22px; color: var(--zs-ink); text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
.zs-tiles a:hover { box-shadow: 0 10px 28px rgba(20,50,61,.12); transform: translateY(-2px); color: var(--zs-primary); }
.zs-tiles strong { font-size: 16px; font-weight: 700; }
.zs-tiles small { font-size: 13px; color: var(--zs-muted); }

/* ---------- 9. KATEGÓRIA ---------- */
.category-title { font-size: 32px; }
.category-perex { color: #41565F; font-size: 14.5px; line-height: 1.6; }
.subcategories a, .subcategories.with-image a {
  background: var(--zs-surface); border: 1px solid var(--zs-border);
  border-radius: 20px; color: var(--zs-ink); font-weight: 600;
}
.subcategories a:hover { color: var(--zs-primary); border-color: #9FC4CE; }
.filters-wrapper, .filters { background: var(--zs-surface); border: 1px solid var(--zs-border); border-radius: var(--zs-radius); }
.pagination__link { border-radius: 12px !important; border: 1px solid var(--zs-border); color: var(--zs-ink); font-weight: 600; }
.pagination__link:hover { color: var(--zs-primary); border-color: #9FC4CE; }
.pagination__currentPage {
  background: var(--zs-primary) !important; border-color: var(--zs-primary) !important;
  color: #fff !important; border-radius: 12px !important; font-weight: 700;
}

/* ---------- 10. DETAIL PRODUKTU ---------- */
.p-image-wrapper .p-image { background: #fff; border: 1px solid var(--zs-border); border-radius: 20px; padding: 10px; }
.p-thumbnails a { border: 1px solid var(--zs-border); border-radius: 12px; background: #fff; overflow: hidden; }
.p-thumbnails a:hover, .p-thumbnails a.active { border-color: var(--zs-primary); }
.p-detail-inner-header h1 { font-size: 28px; line-height: 1.2; }
.p-code, .p-code-label { color: var(--zs-muted); }
.add-to-cart .amount, .quantity input { border: 1.5px solid var(--zs-border-input); border-radius: 14px; font-weight: 600; }
.add-to-cart .add-to-cart-button { font-size: 16px !important; padding-top: 12px; padding-bottom: 12px; }
.shp-tabs li a, .p-detail-tabs li a { color: var(--zs-muted); font-weight: 600; border-bottom: 3px solid transparent; }
.shp-tabs li.active a, .p-detail-tabs li.active a {
  color: var(--zs-primary) !important; border-bottom-color: var(--zs-primary) !important; font-weight: 700;
}
.basic-description { font-size: 15px; line-height: 1.7; color: #33454E; }
body .add-comment, body .rate-form-trigger { color: var(--zs-primary) !important; }
body .availability-value a, body .availability a { color: var(--zs-stock) !important; }

/* blok dôvery vkladaný skriptom */
.zs-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.zs-trust span {
  background: var(--zs-ice); border-radius: 12px; padding: 10px 12px;
  font-size: 12.5px; font-weight: 600; color: var(--zs-ink); text-align: center;
}

/* mobilný panel „Do košíka“ */
.zs-mobilebar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff; border-top: 1px solid var(--zs-border);
  box-shadow: 0 -6px 20px rgba(20,50,61,.14);
  padding: 10px 14px; z-index: 9999;
  align-items: center; justify-content: space-between; gap: 12px;
}
.zs-mobilebar strong { font-size: 18px; color: var(--zs-heading); }
.zs-mobilebar button {
  background: var(--zs-primary); color: #fff; border: none; border-radius: 22px;
  font-weight: 700; font-size: 14.5px; padding: 12px 22px; cursor: pointer;
}

/* ---------- 11. PÄTIČKA ---------- */
#footer, .custom-footer { background: var(--zs-heading) !important; color: #BFD4DA; }
#footer a { color: #BFD4DA; }
#footer a:hover { color: #fff; }
#footer h4, #footer .footer-heading { color: #fff; }
#footerIcons, .footer-bottom {
  background: var(--zs-heading) !important;
  border-top: 1px solid #23505F;
  color: #8FB0BA;
}
.footer-bottom, .footer-bottom p, .footer-bottom span { color: #8FB0BA !important; }

/* ---------- 12. OZNAMOVACIA LIŠTA (zs-disco.js) ----------
   Svetlá mätová, aby sa jasne oddelila od tmavého horného pásu
   aj od petrolejového menu. */
.zs-announcement {
  background: #E4F4EF;
  color: var(--zs-heading);
  border-bottom: 1px solid #CDE9E1;
  font-size: 13px; font-weight: 600;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 36px; padding: 9px 16px;
}
.zs-announcement span { display: inline-flex; align-items: center; gap: 7px; }
.zs-announcement span::before {
  content: "";
  width: 16px; height: 16px; flex-shrink: 0;
  background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6777' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
}

/* ---------- 13. FORMULÁRE A OBRÁZKY ---------- */
input[type="text"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], select, textarea {
  border: 1.5px solid var(--zs-border-input);
  border-radius: 12px;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--zs-primary);
  box-shadow: 0 0 0 3px rgba(43, 103, 119, .14);
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--zs-primary); }
.carousel, .carousel img, .extended-banners img, .banners img { border-radius: 20px; }

/* mobilná hlavička – ikony */
@media (max-width: 991px) {
  body #header .responsive-tools a,
  body #header a[data-testid="hamburgerMenu"] { color: var(--zs-primary) !important; }
}

/* ---------- 14. MOBIL ---------- */
@media (max-width: 991px) {
  .zs-hero { padding: 28px 22px; }
  .zs-hero h1 { font-size: 28px; }
  .zs-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zs-tiles a { padding: 14px 16px; }
  .zs-trust { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .zs-announcement { font-size: 11.5px; gap: 4px 16px; }
  .p, .product { border-radius: 14px; }
  .type-detail .zs-mobilebar { display: flex; }
  .type-detail #footer { padding-bottom: 70px; }
}

/* ---------- 15. IKONY PRED POLOŽKAMI MENU ----------
   Ikony sú SVG masky → preberajú farbu textu (biela na lište,
   petrolejová v mobilnom menu). Priradené podľa ID kategórie. */
.navigation-in > ul > li > a::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  background-color: currentColor;
  -webkit-mask: var(--zs-ico) center / contain no-repeat;
          mask: var(--zs-ico) center / contain no-repeat;
}
.navigation-in > ul > li:not([class*="menu-item-"]):not(.nav-manufacturers) > a::before { display: none; }
.navigation-in > ul > li.menu-item-1074 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='4' rx='1'/%3E%3Cpath d='M12 8v13M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7M7.5 8a2.5 2.5 0 0 1 0-5C11 3 12 8 12 8s1-5 4.5-5a2.5 2.5 0 0 1 0 5'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-948 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.5 20.5a5 5 0 0 1-7-7l10-10a5 5 0 0 1 7 7z'/%3E%3Cpath d='M8.5 8.5l7 7'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1217 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 14c1.5-1.5 3-3.2 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.8 0-3 .5-4.5 2-1.5-1.5-2.7-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4 3 5.5l7 7z'/%3E%3Cpath d='M3.2 12h4.3l1.5-3 3 6 1.5-3h7.3'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1283 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8 5.8 21l1.2-6.8-5-4.9 6.9-1z'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1247 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.9 5.1L19 10l-5.1 1.9L12 17l-1.9-5.1L5 10l5.1-1.9z'/%3E%3Cpath d='M19 15l.8 2.2L22 18l-2.2.8L19 21l-.8-2.2L16 18l2.2-.8z'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-2552 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cpath d='M20 4L8.1 15.9M14.5 14.5L20 20M8.1 8.1L12 12'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1395 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-7 9 7v10a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1328 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18.4 2.6a2.17 2.17 0 0 1 3 3L5.6 21.4a2.17 2.17 0 0 1-3-3z'/%3E%3Cpath d='M10 10l4 4M9.5 14.5h.01M14.5 9.5h.01'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-2337 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 7c-1-2-3-3-5-2.5C4 5.5 3 9 4 12.5c1 3.6 3.5 8.5 6 8 1-.2 1.4-.6 2-.6s1 .4 2 .6c2.5.5 5-4.4 6-8 1-3.5 0-7-3-8-2-.5-4 .5-5 2.5z'/%3E%3Cpath d='M12 7c0-2 1-4 3-5'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1262 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9 10h.01M15 10h.01M9.5 15a3.5 3.5 0 0 0 5 0'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-1229 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.7l5.7 5.7a8 8 0 1 1-11.4 0z'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.menu-item-2386 > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 6.5v11M17.5 6.5v11M3 9v6M21 9v6M6.5 12h11'/%3E%3C/svg%3E"); }
.navigation-in > ul > li.nav-manufacturers > a { --zs-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4l-7.2 7.2a2 2 0 0 1-2.8 0L2 12V2h10l8.6 8.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3C/svg%3E"); }

/* ---------- 16. MENU – desktop rozmery ----------
   Disco má položky 21,6 px – príliš veľké, do lišty sa zmestí len pár.
   Menšie písmo + ikony = viac položiek viditeľných bez „Viac“. */
@media (min-width: 992px) {
  .navigation-in > ul > li > a {
    font-size: 15px !important;
    padding: 15px 14px !important;
    display: inline-flex !important;
    align-items: center;
    letter-spacing: 0;
  }
  .navigation-in > ul > li.splitted > a,
  .navigation-in ul.menu-level-2 a { font-size: 14.5px !important; }
  body .menu-helper { font-size: 15px !important; }
  #navigation, body .menu-helper { height: 54px !important; min-height: 54px !important; }
  .navigation-in > ul { height: 54px; align-items: center !important; }
  .navigation-in > ul > li { display: flex; align-items: center; height: 54px; }
  body .menu-helper { display: flex !important; align-items: center; padding: 0 18px !important; }
  .navigation-in > ul > li > a::after { display: none !important; } /* šípka pri položke */
}

/* ---------- 17. MOBILNÉ MENU ----------
   Biely panel, tmavý text, ikony v petrolejových krúžkoch,
   oddelené riadky, bez podčiarknutia. */
@media (max-width: 991px) {
  #navigation, #navigation .navigation-in,
  .navigation-window-visible #navigation {
    background: #fff !important;
  }
  .navigation-in > ul > li { border-bottom: 1px solid var(--zs-border) !important; }
  .navigation-in > ul > li > a {
    color: var(--zs-ink) !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    background: transparent !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center;
    min-height: 56px;
    padding-left: 16px !important;
  }
  .navigation-in > ul > li > a b { text-decoration: none !important; }
  .navigation-in > ul > li > a::before {
    width: 34px; height: 34px;
    margin-right: 12px;
    border-radius: 50%;
    background-color: var(--zs-primary);
    -webkit-mask-size: 18px; mask-size: 18px;
  }
  .navigation-in > ul > li > a:hover,
  .navigation-in > ul > li.exp > a,
  .navigation-in > ul > li.active > a {
    color: var(--zs-primary) !important;
    background: var(--zs-ice) !important;
  }
  .navigation-in .submenu-arrow,
  .navigation-in > ul > li > .submenu-arrow::after,
  .navigation-in > ul > li > a .submenu-arrow { color: var(--zs-primary) !important; }
  .navigation-in ul.menu-level-2 {
    border: none !important; border-radius: 0 !important;
    background: var(--zs-bg) !important;
  }
  .navigation-in ul.menu-level-2 a {
    color: var(--zs-ink) !important; text-decoration: none !important;
    font-weight: 600 !important; font-size: 15px !important;
  }
  /* horné odkazy (Moja objednávka…) v mobilnom menu */
  .navigation-in .top-navigation-menu a,
  #navigation .navigationActions a { color: var(--zs-ink) !important; text-decoration: none !important; }
}

/* ---------- 18. MOBIL – vyhľadávanie vždy viditeľné ----------
   Ako MojaLekáreň a GymBeam: vyhľadávanie je najpoužívanejší prvok
   v zdravotnom e-shope, nemá byť schované za ikonou. */
@media (max-width: 991px) {
  #header .search {
    display: block !important;
    position: static !important;
    width: 100% !important;
    order: 10;
    padding: 0 12px 10px !important;
    background: #fff;
    box-shadow: none !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #header .navigation-buttons a[data-testid="linkSearchIcon"] { display: none !important; }
  #formSearchForm input[type="search"] { height: 44px; font-size: 15px; }
}

/* ---------- 19. HLAVIČKA – drobnosti ---------- */
#header .cart-count .cart-price { font-weight: 700; }
#header .cart-count i, #header .cart-count .amount-badge,
#header .cart-count [class*="badge"] {
  background: var(--zs-sale) !important; color: #fff !important;
}

/* ---------- 20. DETAIL – mobil ---------- */
@media (max-width: 767px) {
  .p-detail-inner-header h1,
  .p-detail-inner-header-mobile .h1,
  .p-detail-inner-header-mobile h1,
  .type-detail h1 { font-size: 21px !important; line-height: 1.25 !important; }
  .p-image-wrapper .p-image { border-radius: 16px; }
}

/* ---------- 21. VÝSLEDKY VYHĽADÁVANIA – kategórie a články ako čipy ---------- */
.type-search .search-results-groups ul,
.type-search #search-group-categories ul,
.type-search #search-group-articles ul {
  list-style: none; padding: 0; margin: 6px 0 14px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.type-search .search-results-groups li,
.type-search #search-group-categories li,
.type-search #search-group-articles li { margin: 0; }
.type-search .search-results-groups li::before { display: none; }
.type-search .search-results-groups li a,
.type-search #search-group-categories li a,
.type-search #search-group-articles li a {
  display: inline-block;
  background: #fff; border: 1px solid var(--zs-border); border-radius: 20px;
  padding: 7px 14px; font-weight: 600; font-size: 14px;
  color: var(--zs-ink) !important; text-decoration: none;
}
.type-search .search-results-groups li a:hover { border-color: #9FC4CE; color: var(--zs-primary) !important; }

/* ---------- 22. KOŠÍK A OBJEDNÁVKA ---------- */
.quantity, .cart-table .quantity {
  border: 1.5px solid var(--zs-border-input) !important;
  border-radius: 24px !important;
  overflow: hidden;
  background: #fff;
}
.quantity input, .cart-table .quantity input { border: none !important; border-radius: 0 !important; }
.quantity button, .quantity .increase, .quantity .decrease { border: none !important; background: transparent !important; color: var(--zs-primary) !important; }
/* bonusový box – svetlejší, nech nekonkuruje tlačidlu Pokračovať */
.mehub-bonus-cart-container .card,
.mehub-bonus-cart-container .card.blue {
  background: var(--zs-ice) !important;
  color: var(--zs-heading) !important;
  border: 1px solid #CBE2E8 !important;
  border-radius: 14px !important;
}
.mehub-bonus-cart-container .card * { color: var(--zs-heading) !important; }
.mehub-bonus-cart-container .card a { color: var(--zs-primary) !important; }
/* kroky objednávky */
.cart-header .step.active::before, .cart-header .step.active .step-number { background: var(--zs-primary) !important; border-color: var(--zs-primary) !important; color: #fff !important; }
.cart-header .step.active { color: var(--zs-heading); font-weight: 700; }
/* hlavné tlačidlo Pokračovať – výraznejšie, bez kapitálok */
.next-step .btn, .cart-summary .btn-conversion, #continue-order-button, #continue-order-button .order-button-text {
  text-transform: none !important; font-size: 16px !important;
  padding: 14px 30px !important; letter-spacing: 0 !important;
}

/* ---------- 23. BLOG ---------- */
.news-wrapper .news-item, .type-posts-listing .news-item {
  background: #fff; border: 1px solid var(--zs-border);
  border-radius: var(--zs-radius); overflow: hidden;
  transition: box-shadow .15s ease, transform .15s ease;
}
.news-wrapper .news-item:hover, .type-posts-listing .news-item:hover {
  box-shadow: 0 10px 28px rgba(20,50,61,.12); transform: translateY(-2px);
}
.news-item .text, .news-item .description { padding: 0 18px 18px; }
.news-item .title, .news-item h2, .news-item h3 { padding: 0 18px; color: var(--zs-heading) !important; }
.news-item img { border-radius: 0; }

/* ---------- 24. TEXTOVÉ STRÁNKY (O nás, Doprava, Podmienky…) ---------- */
.type-page .content-inner, .type-page article, .type-page .text {
  max-width: 820px;
  font-size: 15.5px; line-height: 1.7; color: #33454E;
}
.type-page .content-inner h2, .type-page article h2 { margin-top: 28px; }
.type-page table { border-collapse: collapse; width: 100%; background: #fff; border-radius: 12px; overflow: hidden; }
.type-page table td, .type-page table th { border: 1px solid var(--zs-border); padding: 10px 12px; }
.type-page table th { background: var(--zs-ice); color: var(--zs-heading); }

/* ---------- 25. FORMULÁRE (registrácia, prihlásenie) ---------- */
.type-customer-registration form, .type-login form, .type-customer-login form {
  max-width: 560px;
}
.form-group label { font-weight: 600; color: var(--zs-heading); }
.form-control { height: 46px; }

/* ---------- 26. 404 ---------- */
.type-404 h1, .type-not-found h1 { font-size: 34px; }

/* ---------- 27. ODSADENIE OBSAHU OD OKRAJA ---------- */
@media (min-width: 992px) {
  .content-wrapper.container, .header-top-wrapper, .header-bottom-wrapper { padding-left: 20px; padding-right: 20px; }
}

/* ---------- 28. MENU – petrolejový pás cez celú šírku ----------
   Menu je v kontajneri, okolo neho ostával biely pás → farbíme celý riadok. */
@media (min-width: 992px) {
  #header .header-bottom { background: var(--zs-primary) !important; border-top: none; }
  #header .header-bottom .navigation-wrapper { background: transparent !important; }
}

/* ---------- 29. DETAIL – blok dôvery pod tlačidlom ---------- */
.p-detail .zs-trust { margin: 12px 0 4px; }

/* ---------- 30. MOBIL – vodorovné pretečenie stránky ----------
   Vyhľadávanie malo width:100% + padding → hlavička bola o 12 px širšia
   než displej a orezávali sa pravé okraje (pole, fotka, tlačidlá). */
#header .search, .plugin-fixed-header .search { box-sizing: border-box !important; max-width: 100% !important; }
@media (max-width: 991px) {
  html, body { overflow-x: clip; }
}

/* ---------- 31. DETAIL – blok dôvery na mobile ako kompaktný zoznam ---------- */
.p-detail .zs-trust { width: 100%; flex-basis: 100%; }
@media (max-width: 767px) {
  .p-detail .zs-trust { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 6px; }
  .p-detail .zs-trust span {
    background: transparent; padding: 0; text-align: left;
    font-size: 14px; font-weight: 600; color: var(--zs-ink);
    display: flex; align-items: center; gap: 8px;
  }
  .p-detail .zs-trust span::before {
    content: ""; width: 18px; height: 18px; flex-shrink: 0;
    background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6777' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  }
}

/* ---------- 32. MOBILNÝ PANEL „Do košíka“ – nič nesmie byť orezané ---------- */
.zs-mobilebar {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
}
.zs-mobilebar button { flex-shrink: 0; padding: 12px 26px; line-height: 1.2; }

/* ---------- 33. DETAIL – rámček fotky nesmie pretiecť ---------- */
.p-image-wrapper .p-image, .p-image-wrapper { box-sizing: border-box !important; max-width: 100%; }

/* ---------- 34. PREPÍNAČ JAZYKOV S VLAJKAMI (vedľa košíka) ---------- */
.zs-lang {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--zs-ice);
  border-radius: 22px;
  padding: 4px;
  margin-right: 10px;
  align-self: center;
}
.zs-lang__item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  border-radius: 18px;
  color: var(--zs-muted) !important;
  font-size: 13px; font-weight: 700;
  text-decoration: none !important;
  line-height: 1;
  min-height: 32px;
  opacity: .75;
  transition: background .15s ease, opacity .15s ease;
}
.zs-lang__item:hover { opacity: 1; background: rgba(255,255,255,.6); }
.zs-lang__item.is-active {
  background: #fff;
  color: var(--zs-heading) !important;
  opacity: 1;
  box-shadow: 0 1px 3px rgba(20,50,61,.15);
}
.zs-lang__item svg.shp-flag {
  width: 20px; height: 14px; flex-shrink: 0;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  display: block;
}
/* pôvodný textový výber jazyka v hornom páse už netreba (mena ostáva) */
body.zs-has-lang .top-navigation-bar [data-target="language"],
body.zs-has-lang .top-navigation-bar .js-languagesMenu__box[data-target="language"] { display: none !important; }

@media (max-width: 991px) {
  .zs-lang { margin-right: 8px; padding: 3px; }
  .zs-lang__item { padding: 6px 8px; min-height: 36px; gap: 5px; font-size: 12.5px; }
  .zs-lang__item svg.shp-flag { width: 22px; height: 15px; }
}
@media (max-width: 360px) {
  .zs-lang__code { display: none; }   /* na veľmi úzkych displejoch len vlajky */
}
/* šablóna štýluje odkazy v .navigation-buttons ako stĺpec s veľkým textom → prebijeme */
#header .navigation-buttons .zs-lang {
  flex: 0 0 auto !important; width: auto !important; height: auto !important;
}
#header .navigation-buttons .zs-lang .zs-lang__item {
  display: inline-flex !important; flex-direction: row !important;
  align-items: center !important; justify-content: center !important;
  width: auto !important; height: auto !important; min-width: 0 !important;
  font-size: 13px !important; line-height: 1 !important;
  padding: 7px 10px !important; margin: 0 !important;
  background-color: transparent;
}
#header .navigation-buttons .zs-lang .zs-lang__item.is-active { background-color: #fff !important; }
#header .navigation-buttons .zs-lang .zs-lang__item::before,
#header .navigation-buttons .zs-lang .zs-lang__item::after { display: none !important; content: none !important; }
#header .navigation-buttons .zs-lang .zs-lang__code { font-size: 13px !important; line-height: 1 !important; }
@media (max-width: 991px) {
  #header .navigation-buttons .zs-lang .zs-lang__item { padding: 8px 8px !important; font-size: 12.5px !important; }
}

/* ======================================================================
   VERZIA 6 – výsledky kompletného auditu
   ====================================================================== */

/* ---------- 35. ÚVOD – produkty v mriežke namiesto slidera ----------
   (rovnaký princíp ako na vitalplanet.sk; JS odpojí slider a pridá
   tlačidlo „Zobraziť ďalšie produkty“) */
.zs-grid.products-wrapper { padding: 0 !important; }
.zs-grid .products, .zs-grid .products-block {
  width: auto !important; overflow: visible !important; cursor: default !important;
  transform: none !important; transition: none !important;
}
.zs-grid .products-block {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.zs-grid .products-block > .product {
  width: auto !important; max-width: none !important; margin: 0 !important;
  float: none !important; display: flex !important;
}
.zs-grid .products-block > .product > .p { width: 100%; display: flex; flex-direction: column; }
.zs-grid .product.zs-hidden { display: none !important; }
.zs-grid .product-slider-pagination,
.zs-grid .product-slider-navigation { display: none !important; }
.zs-grid .p-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.zs-more {
  display: flex; justify-content: center; margin: 26px 0 8px;
}
.zs-more button {
  background: #fff; color: var(--zs-primary); border: 1.5px solid #9FC4CE;
  border-radius: 26px; padding: 13px 30px; font-weight: 700; font-size: 15px;
  cursor: pointer; font-family: inherit;
}
.zs-more button:hover { background: var(--zs-ice); }
@media (max-width: 991px) {
  .zs-grid .products-block { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
@media (max-width: 767px) {
  .zs-grid .products-block { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .zs-grid .p-desc { display: none; }
}

/* ---------- 36. JEDNOTNÉ NADPISY SEKCIÍ NA ÚVODE ---------- */
.in-index .homepage-group-title,
.in-index .zs-tiles-heading,
.in-index .zs-section-title {
  display: block;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--zs-heading) !important;
  text-align: center !important;
  margin: 44px 0 22px !important;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .in-index .homepage-group-title,
  .in-index .zs-tiles-heading,
  .in-index .zs-section-title { font-size: 22px !important; margin: 32px 0 16px !important; }
}
/* uvítací nadpis nad dlaždicami – menší, nech nekonkuruje hero */
.in-index .welcome .h1, .in-index .welcome > div > .h1 {
  font-size: 26px !important; text-align: center; color: var(--zs-heading); margin: 36px 0 6px;
}
@media (max-width: 767px) { .in-index .welcome .h1 { font-size: 21px !important; } }

/* ---------- 37. ČLÁNKY NA ÚVODE – mobil ---------- */
@media (max-width: 767px) {
  .news-item .title, .news-item h2, .news-item h3, .news-item .name { font-size: 18px !important; line-height: 1.3 !important; }
  .news-wrapper .news-item { margin-bottom: 16px; }
}

/* ---------- 38. PRÁZDNY SIVÝ PÁS NAD PÄTIČKOU ---------- */
.odber.zs-empty { display: none !important; }

/* ---------- 39. PÄTIČKA ---------- */
.custom-footer { padding-top: 40px !important; padding-bottom: 24px !important; }
.custom-footer > div { margin-bottom: 18px; }
.custom-footer h4, .custom-footer .zs-foot-title {
  color: #fff !important; font-size: 16px !important; font-weight: 800 !important;
  margin: 0 0 14px !important; text-transform: none; letter-spacing: 0;
}
.custom-footer a { color: #BFD4DA !important; text-decoration: none; }
.custom-footer a:hover { color: #fff !important; text-decoration: underline; }
.custom-footer__articles ul { padding: 0; margin: 0; list-style: none; }
.custom-footer__articles li { margin: 0 0 8px; }
.custom-footer__articles li::before { display: none !important; }
/* platobné metódy – obrázok s bielym pozadím zaoblíme ako kartu */
.custom-footer__banner8 img {
  max-width: 230px !important; height: auto; border-radius: 12px; padding: 6px; background: #fff;
}
.custom-footer__banner8 a, .custom-footer__banner8 .extended-empty { display: inline-block; background: transparent !important; }
/* facebook – odkaz ako tlačidlo */
.custom-footer__facebook a.zs-fb {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(255,255,255,.35); border-radius: 22px;
  padding: 9px 18px; color: #fff !important; font-weight: 700;
}
.custom-footer__facebook a.zs-fb:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.footer-bottom { padding: 14px 0 !important; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
@media (max-width: 767px) {
  .custom-footer { padding-top: 28px !important; }
  .custom-footer > div { margin-bottom: 26px !important; min-height: 0 !important; height: auto !important; }
  .footer-bottom .container { flex-direction: column-reverse; text-align: center; }
}

/* ---------- 40. FARBY VLOŽENÉ V EDITORE (popisy, textové stránky) ----------
   Zelené nadpisy a červené ceny z pôvodnej šablóny zjednotíme s paletou. */
.basic-description h1[style*="color"], .basic-description h2[style*="color"],
.basic-description h3[style*="color"], .basic-description h4[style*="color"],
.basic-description h2 [style*="color"], .basic-description h3 [style*="color"],
.type-page .content-inner h2[style*="color"], .type-page .content-inner h3[style*="color"],
.type-page .content-inner h2 [style*="color"], .type-page .content-inner h3 [style*="color"] {
  color: var(--zs-heading) !important;
}
.basic-description span[style*="color"], .basic-description strong[style*="color"],
.basic-description b[style*="color"], .basic-description a[style*="color"],
.type-page .content-inner span[style*="color"], .type-page .content-inner strong[style*="color"] {
  color: var(--zs-primary) !important;
}
.basic-description [style*="font-family"], .type-page .content-inner [style*="font-family"] { font-family: inherit !important; }
.basic-description [style*="font-size"] { font-size: inherit !important; }
.basic-description img { max-width: 100%; height: auto; border-radius: 12px; }
.type-page .content-inner img { max-width: 100%; height: auto; border-radius: 14px; }
/* boxy „Prečo si vybrať“ v popisoch – nech nie sú stlačené */
.basic-description div[style*="display: flex"], .basic-description div[style*="display:flex"] { flex-wrap: wrap; gap: 12px; }
.basic-description div[style*="display: flex"] > div, .basic-description div[style*="display:flex"] > div { flex: 1 1 200px; min-width: 0; }

/* ---------- 41. TEXTOVÉ STRÁNKY – prázdne odseky a hierarchia ---------- */
.type-page .content-inner p:empty, .type-page .content-inner p:has(> br:only-child) { display: none; }
.type-page .content-inner h1:not(:first-of-type) { font-size: 22px !important; margin: 28px 0 12px; }
.type-page .content-inner hr { border: 0; border-top: 1px solid var(--zs-border); margin: 28px 0; }

/* ---------- 42. NAPÍŠTE NÁM – formulár + kontaktná karta ---------- */
.zs-contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.zs-contact-layout form, .zs-contact-layout .zs-contact-form { max-width: none !important; width: 100%; }
.zs-contact-layout input[type="text"], .zs-contact-layout input[type="email"], .zs-contact-layout textarea { width: 100% !important; max-width: none !important; }
.zs-contact-card {
  background: var(--zs-ice); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: var(--zs-ink);
}
.zs-contact-card h3 { margin: 0; font-size: 19px; }
.zs-contact-card a { font-weight: 700; color: var(--zs-primary) !important; }
.zs-contact-card .zs-c-row { display: flex; flex-direction: column; gap: 2px; }
.zs-contact-card .zs-c-label { font-size: 12.5px; color: var(--zs-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 767px) { .zs-contact-layout { grid-template-columns: 1fr; } }
/* nadpisy stĺpcov pätičky – šablóna ich má, ale skryté */
.custom-footer .pageElement__heading {
  display: block !important; visibility: visible !important; position: static !important;
  color: #fff !important; font-size: 16px !important; font-weight: 800 !important; margin: 0 0 14px !important;
  clip: auto !important; width: auto !important; height: auto !important;
}
.custom-footer .pageElement__heading span { color: #fff !important; }
.custom-footer__facebook .fb-page, .custom-footer__facebook #fb-widget-wrap { max-width: 100%; overflow: hidden; }
/* mobil – vlajky bez skratiek, nech má logo dosť miesta */
@media (max-width: 480px) {
  #header .navigation-buttons .zs-lang .zs-lang__code { display: none !important; }
  #header .navigation-buttons .zs-lang .zs-lang__item { padding: 8px 7px !important; }
}
/* karty v mriežke – tlačidlá v jednej línii */
.zs-grid .p .p-bottom { margin-top: auto; }

/* ---------- 43. PODKATEGÓRIE – názvy sa neorezávajú, text centrovaný ---------- */
.subcategories li a, .subcategories.with-image li a {
  display: flex !important; align-items: center; justify-content: center;
  text-align: center; min-height: 54px; padding: 10px 14px !important;
}
.subcategories li a .text, .subcategories.with-image li a .text {
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important;
  padding: 0 !important; margin: 0 !important; width: auto !important; text-align: center; line-height: 1.25;
}
@media (max-width: 767px) {
  .subcategories li a, .subcategories.with-image li a { min-height: 48px; padding: 8px 10px !important; font-size: 14px; }
}

/* ---------- 44. PÄTIČKA – mobil bez veľkých medzier ---------- */
@media (max-width: 767px) {
  .custom-footer > [class*="custom-footer__"] {
    padding-top: 0 !important; padding-bottom: 0 !important; min-height: 0 !important; height: auto !important;
    margin-bottom: 26px !important;
  }
  .custom-footer .contact-box ul, .custom-footer ul { margin-bottom: 0 !important; }
}

/* ---------- 45. NÁZVY PRODUKTOV – na mobile a tablete 3 riadky ----------
   Šablóna má pevnú výšku 44 px a orezanie na 2 riadky. Výška = 3 riadky,
   aby karty ostali rovnako vysoké a ceny/tlačidlá v jednej línii. */
@media (max-width: 991px) {
  .products .p .name,
  .products-block .p .name,
  .zs-grid .p .name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3;
    overflow: hidden !important;
    font-size: 14.5px !important;
    line-height: 1.35 !important;
    height: calc(1.35em * 3) !important;
    max-height: none !important;
    text-overflow: ellipsis;
  }
  .products .p .name span { display: inline !important; }
}

/* ---------- 46. PODKATEGÓRIE S IKONAMI (Icons8 Color) ---------- */
.subcategories li a, .subcategories.with-image li a {
  justify-content: flex-start !important; text-align: left; gap: 10px; min-height: 64px; height: auto !important;
}
.subcategories li a .image, .subcategories.with-image li a .image {
  display: flex !important; align-items: center; justify-content: center;
  flex: 0 0 62px; width: 62px !important; height: 44px !important; margin: 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important;
}
.subcategories li a .image img, .subcategories.with-image li a .image img {
  display: block !important; width: 62px !important; height: 44px !important; max-width: none !important;
  object-fit: contain; transition: transform .2s ease;
}
.subcategories li a:hover .image img { transform: scale(1.08); }
.subcategories li a .text, .subcategories.with-image li a .text {
  text-align: left !important; flex: 1 1 auto; display: block !important;
  -webkit-line-clamp: unset !important; max-height: none !important; height: auto !important;
}
@media (max-width: 767px) {
  .subcategories li a, .subcategories.with-image li a { min-height: 58px; gap: 6px; padding: 8px 8px 8px 4px !important; font-size: 13.5px; }
  .subcategories li a .image, .subcategories.with-image li a .image { flex-basis: 48px; width: 48px !important; height: 34px !important; }
  .subcategories li a .image img, .subcategories.with-image li a .image img { width: 48px !important; height: 34px !important; }
}

/* ---------- 47. MEGAMENU – ikony kategórií + odsadenie od okraja ---------- */
@media (min-width: 992px) {
  .navigation-in ul.menu-level-2 {
    padding: 22px 28px !important; box-sizing: border-box;
    box-shadow: 0 14px 34px rgba(20,50,61,.12);
  }
  .navigation-in ul.menu-level-2 > li {
    display: flex !important; align-items: flex-start; gap: 12px;
    padding: 10px 12px !important; border-radius: 12px; transition: background .15s;
  }
  .navigation-in ul.menu-level-2 > li:hover { background: var(--zs-ice); }
  .navigation-in ul.menu-level-2 .menu-image {
    display: flex !important; align-items: center; justify-content: center;
    flex: 0 0 56px !important; width: 56px !important; min-width: 56px !important; max-width: 56px !important;
    height: 40px !important; margin: 0 !important; padding: 0 !important;
  }
  .navigation-in ul.menu-level-2 .menu-image img {
    display: block !important; width: 56px !important; height: 40px !important;
    max-width: none !important; object-fit: contain;
  }
  .navigation-in ul.menu-level-2 > li > div { flex: 1 1 auto; min-width: 0; padding: 0 !important; align-self: center; }
}
@media (max-width: 991px) {
  .navigation-in ul.menu-level-2 .menu-image { display: none !important; }
}

/* ---------- 48. HORNÝ PÁS – rozbaľovacie „Viac“ a menu meny čitateľné ---------- */
.top-navigation-bar .top-navigation-bar-menu-helper,
.top-navigation-bar .dropdown-menu {
  background: #fff !important; border: 1px solid var(--zs-border) !important; border-radius: 12px !important;
  box-shadow: 0 12px 30px rgba(20,50,61,.16) !important; padding: 8px !important; min-width: 240px; z-index: 1001;
}
.top-navigation-bar .top-navigation-bar-menu-helper li { list-style: none; padding: 0 !important; margin: 0 !important; }
.top-navigation-bar .top-navigation-bar-menu-helper li::before { display: none !important; content: none !important; }
.top-navigation-bar .top-navigation-bar-menu-helper a,
.top-navigation-bar .dropdown-menu a,
.top-navigation-bar .dropdown-menu span {
  display: block; color: var(--zs-ink) !important; padding: 9px 12px !important;
  border-radius: 8px; font-size: 14.5px; line-height: 1.3; white-space: normal; text-decoration: none !important;
}
.top-navigation-bar .top-navigation-bar-menu-helper a:hover,
.top-navigation-bar .dropdown-menu a:hover { background: var(--zs-ice) !important; color: var(--zs-primary) !important; }

/* ---------- 49. KOŠÍK v hlavičke – menší text, nevyteká ---------- */
#header .cart-count .cart-price {
  font-size: 16px !important; line-height: 1.2 !important; white-space: nowrap; letter-spacing: 0;
}
@media (min-width: 992px) and (max-width: 1439px) {
  #header .cart-count .cart-price { font-size: 15px !important; }
}
@media (min-width: 992px) {
  body #header .cart-count, body #headerCart {
    display: inline-flex !important; align-items: center; gap: 8px;
    width: auto !important; padding: 0 20px 0 16px !important; min-height: 48px;
  }
}
.top-navigation-bar .top-navigation-bar-menu-helper a::before { display: none !important; content: none !important; }

/* ---------- 50. LIŠTA VÝHOD – ikony, na mobile jeden striedajúci sa riadok ---------- */
.zs-announcement .zs-ann-item::before {
  width: 18px; height: 18px; background: var(--zs-primary) !important;
  -webkit-mask: var(--zs-ann-ico) no-repeat center / contain; mask: var(--zs-ann-ico) no-repeat center / contain;
}
.zs-ann-item[data-ico="truck"] { --zs-ann-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2M15 18H9M19 18h2a1 1 0 0 0 1-1v-3.7a1 1 0 0 0-.2-.6l-3.5-4.3a1 1 0 0 0-.8-.4H14'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3C/svg%3E"); }
.zs-ann-item[data-ico="pin"] { --zs-ann-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.zs-ann-item[data-ico="gift"] { --zs-ann-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12v10H4V12M2 7h20v5H2zM12 22V7M12 7H7.5a2.5 2.5 0 0 1 0-5C11 2 12 7 12 7zM12 7h4.5a2.5 2.5 0 0 0 0-5C13 2 12 7 12 7z'/%3E%3C/svg%3E"); }
.zs-ann-item[data-ico="check"] { --zs-ann-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E"); }
@media (max-width: 991px) {
  .zs-announcement.zs-announcement--mobile {
    position: relative; display: block; height: 38px; padding: 0 16px; overflow: hidden;
    font-size: 13px; gap: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .zs-announcement--mobile .zs-ann-item {
    position: absolute; left: 12px; right: 12px; top: 0; height: 38px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    opacity: 0; transform: translateY(70%); transition: opacity .45s ease, transform .45s ease; pointer-events: none;
  }
  .zs-announcement--mobile .zs-ann-item.is-active { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .zs-announcement--mobile .zs-ann-item { transition: none; transform: none; }
}

/* ---------- 51. PRODUKTOVÁ KARTA – výraznejší názov, menší popis, tesnejšie rozostupy ---------- */
.products .p .name, .products .p .name span,
.products-block .p .name, .products-block .p .name span {
  font-weight: 700 !important; color: var(--zs-heading) !important; letter-spacing: -.005em;
}
.products .p .p-in { padding-top: 8px !important; }
.products .p .ratings-wrapper { margin: 4px 0 0 !important; min-height: 0 !important; }
.products .p .stars-placeholder,
.products .p .stars-wrapper { margin: 2px 0 !important; }
.products .p .availability { font-size: 13.5px !important; line-height: 1.3 !important; margin: 2px 0 0 !important; }
.products .p .availability span { line-height: 1.3 !important; }
.products .p .p-bottom { padding-top: 10px !important; }
/* popis presunieme nad cenu (bližšie k názvu) a zmenšíme */
.products .p .p-bottom > div { display: flex !important; flex-direction: column; }
.products .p .p-bottom .p-desc {
  order: -1; margin: 0 0 10px !important;
  font-size: 13px !important; line-height: 1.45 !important; color: var(--zs-muted) !important;
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  height: auto !important; max-height: calc(1.45em * 2) !important;
}
.products .p .p-tools { padding: 10px 0 6px !important; }
@media (max-width: 991px) {
  .products .p .name, .products-block .p .name, .zs-grid .p .name { font-size: 15px !important; line-height: 1.3 !important; height: calc(1.3em * 3) !important; }
  .products .p .p-bottom .p-desc { font-size: 12.5px !important; }
  .products .p .p-tools .btn { min-height: 44px; padding-top: 8px !important; padding-bottom: 8px !important; font-size: 15px !important; }
}
