#main #content-wrap,
.separate-layout #main #content-wrap {
  padding-top: 0px;
}

.site-breadcrumbs {
  top: 70%;
}

.page-header-title {
  margin-top: 0px;
}

.widget-area {
  padding: 0px !important;
}

/* ===== Kategórie: 4 v rade, bez obrázkov, žlté boxy s textom (OceanWP) ===== */

.woocommerce ul.products li.product.product-category {
  float: left !important;
  clear: none !important;
  width: calc(25% - 11.25px) !important;
  margin: 0 15px 15px 0 !important;
  padding: 0 !important;
  background: #00305e;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s;
}

/* Každý 4. box bez pravého odstupu */

.woocommerce ul.products li.product.product-category:nth-child(4n) {
  margin-right: 0 !important;
}

.woocommerce ul.products li.product.product-category:hover {
  background: #f7941d;
}

/* Skrytie obrázkov */

.woocommerce ul.products li.product.product-category img,
.woocommerce ul.products li.product.product-category .woo-entry-image,
.woocommerce ul.products li.product.product-category .woo-entry-image-swap {
  display: none !important;
}

/* Skrytie prázdnych odkazov a odkazu, ktorý obsahuje len obrázok */

.woocommerce ul.products li.product.product-category a:empty,
.woocommerce ul.products li.product.product-category a:has(img):not(:has(h2)) {
  display: none !important;
}

/* Odkaz s názvom vyplní celý box */

.woocommerce ul.products li.product.product-category a {
  display: block;
  padding: 14px 10px;
  text-decoration: none;
}

/* Text názvu */

.woocommerce ul.products li.product.product-category .woocommerce-loop-category__title,
.woocommerce ul.products li.product.product-category h2 {
  font-size: 12px !important;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff;
}

/* Počet produktov v zátvorke */

.woocommerce ul.products li.product.product-category .count {
  background: none;
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
}

/* Prvý produkt za kategóriami začne nový riadok */

.woocommerce ul.products li.product.product-category + li.product:not(.product-category) {
  clear: both !important;
}

/* Tablet a mobil: 2 kategórie v rade */

@media (max-width: 768px) {
  .woocommerce ul.products li.product.product-category {
    width: calc(50% - 7.5px) !important;
    margin-right: 15px !important;
  }

  .woocommerce ul.products li.product.product-category:nth-child(2n) {
    margin-right: 0 !important;
  }
}

/* ===== Produkty pod podkategóriami: počítať len produkty, nie kategórie ===== */

.woocommerce ul.products li.product:not(.product-category) {
  clear: none !important;
}

/* Desktop: 3 v rade */

@media (min-width: 960px) {
  .woocommerce ul.products li.product:not(.product-category):nth-child(3n+1 of :not(.product-category)) {
    clear: both !important;
  }
}

/* Tablet: 2 v rade */

@media (min-width: 768px) and (max-width: 959px) {
  .woocommerce ul.products li.product:not(.product-category):nth-child(2n+1 of :not(.product-category)) {
    clear: both !important;
  }
}

/* Mobil: 1 v rade */

@media (max-width: 767px) {
  .woocommerce ul.products li.product:not(.product-category) {
    clear: both !important;
  }
}

/* ===== Widget Kategórie produktov: štýl zvislého menu ===== */

.widget_product_categories {
  padding: 0 !important;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Tmavá hlavička */

.widget_product_categories .widget-title {
  margin: 0 !important;
  padding: 14px 18px !important;
  background: #00305e;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px 6px 0 0;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.widget_product_categories .widget-title::before {
  font-family: "FontAwesome";
  content: "\f0c9";
  margin-right: 12px;
  color: #ffd800;
}

/* Reset pôvodných krúžkov a podčiarknutí */

.widget_product_categories ul li::before,
.widget_product_categories ul li::after {
  content: none !important;
  display: none !important;
}

.widget_product_categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget_product_categories li {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eee !important;
}

.widget_product_categories .product-categories > li:last-child {
  border-bottom: 0 !important;
}

/* Odkaz kategórie */

.widget_product_categories li > a {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none !important;
  transition: background 0.2s, padding 0.2s;
}

/* Počet produktov: obyčajný text vpravo */

.widget_product_categories .count {
  position: static !important;
  margin: 0 18px 0 0;
  padding: 0;
  background: none !important;
  color: #999 !important;
  font-size: 12px;
  font-weight: 500;
}

/* Hover: žltý riadok, jemný posun textu */

.widget_product_categories li:hover > a {
  background: #ffd800;
  color: #000;
  padding-left: 22px;
}

.widget_product_categories li:hover > .count {
  background: #ffd800 !important;
  color: #000 !important;
}

/* Aktívna kategória */

.widget_product_categories li.current-cat > a,
.widget_product_categories li.current-cat-parent > a {
  background: #fff8cc;
  font-weight: 700;
  box-shadow: inset 3px 0 0 #ffd800;
}

.widget_product_categories li.current-cat > .count,
.widget_product_categories li.current-cat-parent > .count {
  background: #fff8cc !important;
  color: #222 !important;
}

/* ===== Ikony hlavných kategórií ===== */

.widget_product_categories .product-categories > li > a::before {
  font-family: "FontAwesome";
  content: "\f101";
  width: 26px;
  margin-right: 8px;
  text-align: center;
  font-size: 15px;
  color: #c9a400;
  flex-shrink: 0;
}

.widget_product_categories a[href$="/kategoria-produktu/autochemia/"]::before {
  content: "\f0c3";
}

.widget_product_categories a[href$="/kategoria-produktu/autokozmetika/"]::before {
  content: "\f043";
}

.widget_product_categories a[href$="/kategoria-produktu/carcommerce/"]::before {
  content: "\f07a";
}

.widget_product_categories a[href$="/kategoria-produktu/clonky-roletky-folie-2/"]::before {
  content: "\f2d0";
}

.widget_product_categories a[href$="/kategoria-produktu/dekoracie/"]::before {
  content: "\f06b";
}

.widget_product_categories a[href$="/kategoria-produktu/detske-autosedacky-2/"]::before {
  content: "\f1ae";
}

.widget_product_categories a[href$="/kategoria-produktu/doplnky-interieru/"]::before {
  content: "\f1b2";
}

.widget_product_categories a[href$="/kategoria-produktu/elektro/"]::before {
  content: "\f0e7";
}

.widget_product_categories a[href$="/kategoria-produktu/exterier/"]::before {
  content: "\f1b9";
}

.widget_product_categories a[href$="/kategoria-produktu/interier/"]::before {
  content: "\f015";
}

.widget_product_categories a[href$="/kategoria-produktu/lapace/"]::before {
  content: "\f0b0";
}

.widget_product_categories a[href$="/kategoria-produktu/nabijacky-2/"]::before {
  content: "\f1e6";
}

.widget_product_categories a[href$="/kategoria-produktu/nano-2/"]::before {
  content: "\f0d0";
}

.widget_product_categories a[href$="/kategoria-produktu/novinka/"]::before {
  content: "\f005";
}

.widget_product_categories a[href$="/kategoria-produktu/novinky/"]::before {
  content: "\f135";
}

.widget_product_categories a[href$="/kategoria-produktu/ostatne-2/"]::before {
  content: "\f141";
}

.widget_product_categories a[href$="/kategoria-produktu/osvetlenie-2/"]::before {
  content: "\f0eb";
}

.widget_product_categories a[href$="/kategoria-produktu/popruhy-upinace-2/"]::before {
  content: "\f0c1";
}

.widget_product_categories a[href$="/kategoria-produktu/potahy-sedadiel-2/"]::before {
  content: "\f1fc";
}

.widget_product_categories a[href$="/kategoria-produktu/potahy-volantu-2/"]::before {
  content: "\f1ce";
}

.widget_product_categories a[href$="/kategoria-produktu/povinna-vybava-2/"]::before {
  content: "\f0f9";
}

.widget_product_categories a[href$="/kategoria-produktu/snehove-retaze-2/"]::before {
  content: "\f2dc";
}

.widget_product_categories a[href$="/kategoria-produktu/startovacie-kable-2/"]::before {
  content: "\f240";
}

.widget_product_categories a[href$="/kategoria-produktu/stierace/"]::before {
  content: "\f12d";
}

.widget_product_categories a[href$="/kategoria-produktu/vybava-prislusenstvo/"]::before {
  content: "\f0ad";
}

.widget_product_categories a[href$="/kategoria-produktu/zimne-obdobie-2/"]::before {
  content: "\f2c8";
}

/* ===== Podkategórie ===== */

.widget_product_categories ul.children {
  flex-basis: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
}

.widget_product_categories ul.children li {
  border-bottom: 1px solid #f2f2f2 !important;
}

.widget_product_categories ul.children li:last-child {
  border-bottom: 0 !important;
}

.widget_product_categories ul.children li > a {
  padding: 9px 18px 9px 30px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
}

.widget_product_categories ul.children li:hover > a {
  padding-left: 34px;
}

.widget_product_categories ul.children li > a::before {
  font-family: "FontAwesome";
  content: "\f105";
  margin-right: 8px;
  color: #c9a400;
}

/* Desktop: podkategórie vyskakujú vedľa pri prechode myšou */

@media (min-width: 960px) {
  .widget_product_categories ul.children {
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    width: 240px;
    z-index: 50;
    border: 1px solid #e5e5e5;
    border-left: 3px solid #ffd800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .widget_product_categories li:hover > ul.children {
    display: block;
  }

  /* Aktívna vetva zostáva rozbalená pod kategóriou */

  .widget_product_categories li.current-cat > ul.children,
  .widget_product_categories li.current-cat-parent > ul.children {
    display: block;
    position: static;
    width: auto;
    border: 0;
    border-top: 1px solid #eee;
    box-shadow: none;
    background: #fafafa;
  }
}

/* Mobil a tablet: všetko rozbalené pod sebou */

@media (max-width: 959px) {
  .widget_product_categories ul.children {
    display: block;
    background: #fafafa;
  }
}

/* ===== Oprava widgetu: pôvodné krúžky OceanWP a odsadenie textu ===== */

/* Zrušenie pôvodných bodiek na odkazoch */

.widget_product_categories li > a::after {
  content: none !important;
  display: none !important;
}

/* Reset pôvodného ::before (krúžok bol absolútne umiestnený) */

.widget_product_categories li > a::before {
  position: static !important;
  display: inline-block !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  height: auto;
  margin: 0 8px 0 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  line-height: 1;
}

/* Odsadenie textu a farby */

.widget_product_categories li > a {
  padding: 12px 18px !important;
  color: #222 !important;
}

.widget_product_categories ul.children li > a {
  padding: 9px 18px 9px 30px !important;
  color: #555 !important;
}

.widget_product_categories li:hover > a {
  padding-left: 22px !important;
  color: #000 !important;
}

.widget_product_categories ul.children li:hover > a {
  padding-left: 34px !important;
  color: #000 !important;
}

.widget_product_categories li.current-cat > a,
.widget_product_categories li.current-cat-parent > a {
  color: #000 !important;
}

.woocommerce ul.products .product {
  margin-bottom: -5px;
}

.woocommerce ul.products li.product .woo-entry-inner li:last-child {
  margin-bottom: 15px;
}

.woocommerce ul.products li.product li.title a {
  min-height: 45px;
}

h2 {
  margin-bottom: 0px;
}

/* Detail produktu – hover efekt */

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .button:focus {
  background-color: #e60000 !important;
  color: #ffffff !important;
  border-color: #e60000 !important;
}

/* Produktová karta */

.woocommerce ul.products li.product {
  position: relative;
}

/* ===== Widget Filtrovať podľa ceny: rovnaký štýl ako Kategórie produktov ===== */

.widget_price_filter {
  padding: 0 !important;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Tmavá hlavička */

.widget_price_filter .widget-title {
  margin: 0 !important;
  padding: 14px 18px !important;
  background: #00305e;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px 6px 0 0;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.widget_price_filter .widget-title::before {
  font-family: "FontAwesome";
  content: "\f0b0";
  margin-right: 12px;
  color: #ffd800;
}

/* Obsah widgetu */

.widget_price_filter .price_slider_wrapper {
  padding: 22px 18px 18px;
}

/* Posuvník */

.widget_price_filter .ui-slider {
  position: relative;
  height: 6px;
  margin: 0 8px 22px;
  background: #e8e8e8;
  border: 0;
  border-radius: 3px;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background: #ffd800;
  border-radius: 3px;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  top: -6px;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  background: #fff;
  border: 3px solid #ffd800;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* Cena a tlačidlo */

.widget_price_filter .price_slider_amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.widget_price_filter .price_slider_amount .price_label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
  text-transform: none;
}

.widget_price_filter .price_slider_amount .button {
  margin: 0;
  padding: 8px 18px;
  background: #ffd800 !important;
  color: #000 !important;
  border: 0 !important;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s;
}

.widget_price_filter .price_slider_amount .button:hover {
  background: #1f1f1f !important;
  color: #ffd800 !important;
}

/* Odstup medzi widgetmi */

.widget_price_filter,
.widget_product_categories {
  margin-bottom: 20px !important;
}

/* ===== Produkty v archíve: horizontálna karta ===== */

/* 2 karty v rade (tablet a desktop) */

@media (min-width: 768px) {
  .archive.woocommerce ul.products li.product:not(.product-category) {
    width: calc(50% - 10px) !important;
    margin: 0 20px 20px 0 !important;
  }

  .archive.woocommerce ul.products li.product:not(.product-category):nth-child(2n of :not(.product-category)) {
    margin-right: 0 !important;
  }

  .archive.woocommerce ul.products li.product:not(.product-category):nth-child(3n+1 of :not(.product-category)) {
    clear: none !important;
  }

  .archive.woocommerce ul.products li.product:not(.product-category):nth-child(2n+1 of :not(.product-category)) {
    clear: both !important;
  }
}

/* Mobil: 1 karta v rade */

@media (max-width: 767px) {
  .archive.woocommerce ul.products li.product:not(.product-category) {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
  }
}

/* Karta */

.archive.woocommerce ul.products li.product:not(.product-category) .product-inner {
  padding: 14px;
  background: #fff;
  border: 1px solid #dde5ee;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.archive.woocommerce ul.products li.product:not(.product-category):hover .product-inner {
  border-color: #c5d3e3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Obrázok vľavo, údaje vpravo */

.archive.woocommerce ul.products li.product:not(.product-category) ul.woo-entry-inner {
  display: grid;
  grid-template-columns: 42% 1fr;
  column-gap: 14px;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

.archive.woocommerce ul.products li.product:not(.product-category) ul.woo-entry-inner > li {
  grid-column: 2;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

.archive.woocommerce ul.products li.product:not(.product-category) ul.woo-entry-inner > li.image-wrap {
  grid-column: 1;
  grid-row: 1 / span 6;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.image-wrap img {
  display: block;
  width: 100%;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

/* Názov */

.archive.woocommerce ul.products li.product:not(.product-category) li.title {
  margin-bottom: 6px !important;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.title a,
.archive.woocommerce ul.products li.product:not(.product-category) li.title h2 {
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1f6fb2 !important;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.title a:hover {
  color: #124a7c !important;
}

/* Cena */

.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap {
  margin-bottom: 6px !important;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap .price,
.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap .amount {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  color: #0d2f57 !important;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap del,
.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap del .amount {
  font-size: 14px !important;
  font-weight: 400 !important;
  opacity: 0.55;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap ins {
  text-decoration: none;
}

/* Stav skladu pod cenou (podľa stavu produktu vo WooCommerce) */

.archive.woocommerce ul.products li.product:not(.product-category) li.price-wrap::after {
  display: block;
  margin-top: 6px;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 18px 18px;
}

.archive.woocommerce ul.products li.product.instock:not(.product-category) li.price-wrap::after {
  content: "Skladom";
  color: #1f2d3d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2322a559'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.archive.woocommerce ul.products li.product.outofstock:not(.product-category) li.price-wrap::after {
  content: "Nie je skladom";
  color: #b42318;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23d92d20'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.archive.woocommerce ul.products li.product.onbackorder:not(.product-category) li.price-wrap::after {
  content: "Na objednávku";
  color: #b54708;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23f79009'/%3E%3Cpath d='M12 6.5V12l3.5 2' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Oranžové tlačidlo s ikonou košíka */

.archive.woocommerce ul.products li.product:not(.product-category) li.btn-wrap a.button,
.archive.woocommerce ul.products li.product:not(.product-category) li.btn-wrap .button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0 !important;
  padding: 11px 12px !important;
  background: #f7941d !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.2;
  transition: background 0.2s;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.btn-wrap a.button::before {
  font-family: "FontAwesome";
  content: "\f07a";
  font-weight: normal;
}

.archive.woocommerce ul.products li.product:not(.product-category) li.btn-wrap a.button:hover {
  background: #e07f0a !important;
  color: #fff !important;
}

/* ===== Hlavička: telefón, účet, košík ===== */

#site-header .hdr-phone,
#site-header .hdr-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.2;
  text-decoration: none;
  color: #0d2f57;
}

#site-header .hdr-phone i,
#site-header .hdr-account i {
  font-size: 24px;
  color: #0d2f57;
}

#site-header .hdr-phone strong,
#site-header .hdr-account strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

#site-header .hdr-phone small,
#site-header .hdr-account small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #777;
}

#site-header .hdr-phone:hover strong,
#site-header .hdr-account:hover strong {
  color: #f7941d;
}

/* Košík: len ikona, obsah sa rozbalí pri prechode myšou */

#site-header .widget_shopping_cart {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
}

#site-header .widget_shopping_cart .widget-title {
  display: none !important;
}

#site-header .widget_shopping_cart::before {
  display: inline-block;
  font-family: "FontAwesome";
  content: "\f07a";
  font-size: 24px;
  color: #0d2f57;
  cursor: pointer;
}

#site-header .widget_shopping_cart .widget_shopping_cart_content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 320px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

#site-header .widget_shopping_cart:hover .widget_shopping_cart_content {
  display: block;
}

/* ===== Hlavička: šírky buniek a zarovnanie ===== */

#site-header .panel-grid {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

#site-header .so-panel {
  margin-bottom: 0 !important;
}

#site-header .panel-grid-cell {
  box-sizing: border-box;
}

/* Šírky: logo, vyhľadávanie, telefón, účet, košík */

#site-header .panel-grid-cell:nth-child(1) {
  flex: 0 0 22% !important;
  width: 22% !important;
}

#site-header .panel-grid-cell:nth-child(2) {
  flex: 0 0 38% !important;
  width: 38% !important;
}

#site-header .panel-grid-cell:nth-child(3) {
  flex: 0 0 18% !important;
  width: 18% !important;
}

#site-header .panel-grid-cell:nth-child(4) {
  flex: 0 0 14% !important;
  width: 14% !important;
}

#site-header .panel-grid-cell:nth-child(5) {
  flex: 0 0 8% !important;
  width: 8% !important;
  text-align: right;
}

/* Vyhľadávanie vyplní celú bunku */

#site-header .panel-grid-cell:nth-child(2) form,
#site-header .panel-grid-cell:nth-child(2) .widget_product_search,
#site-header .panel-grid-cell:nth-child(2) .woocommerce-product-search {
  width: 100%;
  max-width: 100%;
}

/* Telefón a účet: ikona vľavo, dva riadky textu vpravo */

#site-header .hdr-phone,
#site-header .hdr-account {
  display: grid !important;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  white-space: nowrap;
}

#site-header .hdr-phone > i,
#site-header .hdr-account > i {
  grid-row: 1 / span 2;
  grid-column: 1;
}

#site-header .hdr-phone > strong,
#site-header .hdr-account > strong,
#site-header .hdr-phone > small,
#site-header .hdr-account > small,
#site-header .hdr-phone > span,
#site-header .hdr-account > span {
  grid-column: 2;
  display: block;
  white-space: nowrap;
}

#site-header .hdr-phone span,
#site-header .hdr-account span {
  white-space: nowrap;
}

/* Tablet a mobil: skryť texty, nechať len ikony */

@media (max-width: 959px) {
  #site-header .hdr-phone strong,
  #site-header .hdr-phone small,
  #site-header .hdr-account strong,
  #site-header .hdr-account small {
    display: none;
  }
}

/* ===== Hlavička podľa vzoru ===== */

/* Šírky: logo, vyhľadávanie, tri rovnaké bunky vpravo */

#site-header .panel-grid-cell:nth-child(1) {
  flex: 0 0 26% !important;
  width: 26% !important;
}

#site-header .panel-grid-cell:nth-child(2) {
  flex: 0 0 38% !important;
  width: 38% !important;
}

#site-header .panel-grid-cell:nth-child(n+3) {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0;
  padding: 0 14px !important;
  text-align: left !important;
}

/* Tenké oddeľovače medzi telefónom, účtom a košíkom */

#site-header .panel-grid-cell:nth-child(n+4) {
  border-left: 1px solid #e3e8ef;
}

#site-header .panel-grid-cell .widget,
#site-header .panel-grid-cell .so-panel {
  margin: 0 !important;
  padding: 0 !important;
}

/* Telefón a účet: menšie, rovnaký štýl */

#site-header .hdr-phone,
#site-header .hdr-account {
  column-gap: 10px;
  color: #0d2f57;
}

#site-header .hdr-phone > i,
#site-header .hdr-account > i {
  font-size: 22px;
  color: #0d2f57;
}

#site-header .hdr-phone strong,
#site-header .hdr-account strong {
  font-size: 13px;
  font-weight: 700;
  color: #0d2f57;
}

#site-header .hdr-phone small,
#site-header .hdr-account small {
  font-size: 11px;
  color: #6b7785;
}

/* Košík (shortcode z bodu 2) */

#site-header .hdr-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0d2f57;
  text-decoration: none;
  white-space: nowrap;
}

#site-header .hdr-cart-icon {
  position: relative;
  font-size: 22px;
  line-height: 1;
}

#site-header .hdr-cart-count {
  position: absolute;
  top: -9px;
  right: -11px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #6aa51f;
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

#site-header .hdr-cart strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0d2f57;
}

#site-header .hdr-cart small,
#site-header .hdr-cart small .amount {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #6b7785;
}

/* Vyhľadávanie: biele pole s rámčekom a tmavomodrým štvorcovým tlačidlom */

#site-header .panel-grid-cell:nth-child(2) form {
  display: flex !important;
  align-items: stretch;
  width: 100%;
  margin: 0 !important;
}

#site-header .panel-grid-cell:nth-child(2) input[type="search"],
#site-header .panel-grid-cell:nth-child(2) input[type="text"] {
  flex: 1;
  height: 40px;
  padding: 0 14px !important;
  background: #fff !important;
  border: 1px solid #d5dbe3 !important;
  border-right: 0 !important;
  border-radius: 3px 0 0 3px !important;
  box-shadow: none !important;
  font-size: 13px;
}

#site-header .panel-grid-cell:nth-child(2) button,
#site-header .panel-grid-cell:nth-child(2) input[type="submit"] {
  position: static !important;
  width: 52px;
  height: 40px;
  padding: 0 !important;
  background: #0d2f57 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 3px 3px 0 !important;
  cursor: pointer;
}

#site-header .panel-grid-cell:nth-child(2) button:hover {
  background: #f7941d !important;
}

/* ===== FiboSearch (Solaris): pole + štvorcové tmavomodré tlačidlo ===== */

#site-header .dgwt-wcas-search-wrapp {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
}

#site-header .dgwt-wcas-sf-wrapp {
  display: flex !important;
  align-items: stretch;
  width: 100%;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#site-header .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  order: 1;
  flex: 1;
  width: auto !important;
  height: 40px !important;
  padding: 0 14px !important;
  background: #fff !important;
  border: 1px solid #d5dbe3 !important;
  border-right: 0 !important;
  border-radius: 3px 0 0 3px !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-style: normal !important;
}

#site-header .dgwt-wcas-search-input::placeholder {
  font-style: normal !important;
  color: #6b7785 !important;
  opacity: 1;
}

#site-header .dgwt-wcas-search-submit {
  order: 2;
  position: static !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  width: 52px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #0d2f57 !important;
  border: 0 !important;
  border-radius: 0 3px 3px 0 !important;
  cursor: pointer;
  transition: background 0.2s;
}

/* Zrušenie trojuholníka Solarisu */

#site-header .dgwt-wcas-search-submit::before,
#site-header .dgwt-wcas-search-submit::after {
  content: none !important;
  display: none !important;
}

#site-header .dgwt-wcas-search-submit:hover {
  background: #f7941d !important;
}

#site-header .dgwt-wcas-ico-magnifier {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

#site-header .dgwt-wcas-ico-magnifier path {
  fill: #fff !important;
}

/* ===== Telefón a účet: ikona cez CSS, text vedľa ===== */

#site-header .hdr-phone,
#site-header .hdr-account {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

/* Skrytie ikony z HTML, nahradí ju ::before */

#site-header .hdr-phone > i,
#site-header .hdr-account > i {
  display: none !important;
}

#site-header .hdr-phone::before,
#site-header .hdr-account::before {
  font-family: "FontAwesome";
  font-size: 22px;
  line-height: 1;
  width: 26px;
  text-align: center;
  color: #0d2f57;
  flex-shrink: 0;
}

#site-header .hdr-phone::before {
  content: "\f095";
}

#site-header .hdr-account::before {
  content: "\f007";
}

#site-header .hdr-phone > span,
#site-header .hdr-account > span {
  display: block;
}

/* ===== Košík: odznak už neprekrýva text ===== */

#site-header .hdr-cart {
  gap: 16px;
}

#site-header .hdr-cart-icon {
  color: #0d2f57 !important;
}

/* ===== Oprava: telefón a účet (ikona vľavo, dva riadky textu vpravo) ===== */

#site-header .hdr-phone,
#site-header .hdr-account {
  display: grid !important;
  grid-template-columns: 26px auto;
  column-gap: 10px;
  align-items: center;
  white-space: nowrap;
}

#site-header .hdr-phone::before,
#site-header .hdr-account::before {
  grid-column: 1;
  grid-row: 1 / span 2;
}

/* Ak editor nechal  okolo textu */

#site-header .hdr-phone > span,
#site-header .hdr-account > span {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Ak editor  odstránil a texty sú priamo v odkaze */

#site-header .hdr-phone > strong,
#site-header .hdr-account > strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
}

#site-header .hdr-phone > small,
#site-header .hdr-account > small {
  grid-column: 2;
  grid-row: 2;
  display: block;
}

#site-header .hdr-phone span strong,
#site-header .hdr-phone span small,
#site-header .hdr-account span strong,
#site-header .hdr-account span small {
  display: block;
}

/* Bunky vpravo nesmú pretekať */

#site-header .panel-grid-cell:nth-child(n+3) {
  min-width: 0;
  overflow: visible;
}

/* Košík: odstup medzi odznakom a textom */

#site-header .hdr-cart-text {
  margin-left: 6px;
}

/* ===== Lupa v tlačidle vyhľadávania ===== */

#site-header .dgwt-wcas-search-submit svg {
  display: none !important;
}

#site-header .dgwt-wcas-search-submit::before {
  content: "\f002" !important;
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  transform: none !important;
  font-family: "FontAwesome";
  font-size: 16px;
  line-height: 1;
  color: #fff;
}

/* ===== Zarovnanie telefónu, účtu a košíka na rovnakú výšku ===== */

#site-header .panel-grid-cell:nth-child(n+3) {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: center !important;
}

/* Zrušenie odsekov a zalomení, ktoré pridáva editor */

#site-header .panel-grid-cell:nth-child(n+3) p {
  margin: 0 !important;
  padding: 0 !important;
}

#site-header .panel-grid-cell:nth-child(n+3) p:empty,
#site-header .hdr-phone br,
#site-header .hdr-account br {
  display: none !important;
}

#site-header .panel-grid-cell:nth-child(n+3) .so-panel,
#site-header .panel-grid-cell:nth-child(n+3) .widget,
#site-header .panel-grid-cell:nth-child(n+3) .textwidget,
#site-header .panel-grid-cell:nth-child(n+3) .siteorigin-widget-tinymce {
  margin: 0 !important;
  padding: 0 !important;
  width: auto;
}

/* Rovnaká výška všetkých troch blokov */

#site-header .hdr-phone,
#site-header .hdr-account,
#site-header .hdr-cart {
  min-height: 44px;
  align-items: center;
}

/* ===== Hlavička na tablete a mobile: logo v strede, pod ním lupa, účet, košík ===== */

@media (max-width: 959px) {
  #site-header .panel-grid {
    display: grid !important;
    grid-template-columns: repeat(3, auto);
    grid-template-areas: "logo logo logo"
      "search account cart";
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 10px 34px;
    padding: 10px 14px;
  }

  #site-header .panel-grid-cell {
    width: auto !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    min-width: 0;
  }

  #site-header .panel-grid-cell:nth-child(1) {
    grid-area: logo;
    text-align: center;
  }

  #site-header .panel-grid-cell:nth-child(2) {
    grid-area: search;
  }

  #site-header .panel-grid-cell:nth-child(3) {
    display: none !important;
  }

  #site-header .panel-grid-cell:nth-child(4) {
    grid-area: account;
  }

  #site-header .panel-grid-cell:nth-child(5) {
    grid-area: cart;
  }

  /* Logo v strede */

  #site-header .panel-grid-cell:nth-child(1) img {
    display: block;
    max-height: 46px;
    width: auto;
    margin: 0 auto;
  }

  /* Účet a košík: len ikony (počet v košíku zostáva) */

  #site-header .hdr-account span,
  #site-header .hdr-account strong,
  #site-header .hdr-account small,
  #site-header .hdr-cart-text {
    display: none !important;
  }

  #site-header .hdr-account,
  #site-header .hdr-cart {
    display: flex !important;
    min-height: 0;
    gap: 0;
  }

  #site-header .hdr-account::before {
    width: auto;
    font-size: 24px;
  }

  #site-header .hdr-cart-icon {
    font-size: 24px;
  }

  /* Vyhľadávanie: len lupa */

  #site-header .dgwt-wcas-search-wrapp {
    width: auto !important;
    max-width: none !important;
  }

  #site-header .dgwt-wcas-search-icon {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
  }

  #site-header .dgwt-wcas-search-icon svg,
  #site-header .dgwt-wcas-ico-magnifier-handler {
    width: 24px !important;
    height: 24px !important;
  }

  #site-header .dgwt-wcas-search-icon path {
    fill: #0d2f57 !important;
  }
}

/* ===== Mobil: veľké logo cez celú šírku ===== */

@media (max-width: 959px) {
  #site-header .panel-grid {
    width: 100%;
    grid-template-columns: 1fr auto auto auto 1fr;
    grid-template-areas: "logo logo logo logo logo"
      ". search account cart .";
  }

  #site-header .panel-grid-cell:nth-child(1) {
    width: 100% !important;
  }

  #site-header .panel-grid-cell:nth-child(1) img {
    width: 86% !important;
    max-width: 380px;
    max-height: none !important;
    height: auto !important;
  }
}

/* ===== Hamburger menu (tablet a mobil) ===== */

/* Na desktope sa nezobrazuje */

@media (min-width: 960px) {
  #site-header .panel-grid-cell:nth-child(6) {
    display: none !important;
  }
}

@media (max-width: 959px) {
  /* Nové rozloženie spodného riadku: hamburger, lupa, účet, košík */

  #site-header .panel-grid {
    position: relative;
    grid-template-columns: 1fr auto auto auto auto 1fr;
    grid-template-areas: "logo logo logo logo logo logo"
      ". burger search account cart .";
    gap: 10px 28px;
  }

  #site-header .panel-grid-cell:nth-child(6) {
    display: block !important;
    grid-area: burger;
  }

  /* Ponuka sa roztiahne cez celú šírku hlavičky, nie len bunky */

  #site-header .panel-grid-cell:nth-child(6),
  #site-header .panel-grid-cell:nth-child(6) .so-panel,
  #site-header .panel-grid-cell:nth-child(6) .widget,
  #site-header .panel-grid-cell:nth-child(6) .textwidget,
  #site-header .panel-grid-cell:nth-child(6) .siteorigin-widget-tinymce,
  #site-header .panel-grid-cell:nth-child(6) .hdr-burger {
    position: static !important;
  }

  /* Ikona hamburgera */

  #site-header .hdr-burger > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    color: #0d2f57;
  }

  #site-header .hdr-burger summary::-webkit-details-marker,
  #site-header .hdr-burger summary::marker {
    display: none;
    content: "";
  }

  /* Po otvorení sa hamburger zmení na krížik */

  #site-header .hdr-burger[open] > summary i::before {
    content: "\f00d";
  }

  /* Rozbalená ponuka */

  #site-header .hdr-burger-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 999;
    max-height: 70vh;
    overflow-y: auto;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }

  #site-header .hdr-burger-menu::before {
    content: "Kategórie produktov";
    display: block;
    padding: 13px 18px;
    background: #1f1f1f;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  #site-header .hdr-burger-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  #site-header .hdr-burger-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
  }

  #site-header .hdr-burger-menu a,
  #site-header .hdr-burger-menu details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
  }

  #site-header .hdr-burger-menu details > summary::-webkit-details-marker {
    display: none;
  }

  /* Šípka pri kategóriách s podkategóriami */

  #site-header .hdr-burger-menu details > summary::after {
    font-family: "FontAwesome";
    content: "\f107";
    color: #c9a400;
  }

  #site-header .hdr-burger-menu details[open] > summary {
    background: #fff8cc;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #ffd800;
  }

  #site-header .hdr-burger-menu details[open] > summary::after {
    content: "\f106";
  }

  /* Podkategórie */

  #site-header .hdr-burger-menu details ul {
    background: #fafafa;
  }

  #site-header .hdr-burger-menu details li a {
    padding: 11px 18px 11px 32px;
    font-size: 14px;
    font-weight: 400;
    color: #555;
  }

  #site-header .hdr-burger-menu a:active,
  #site-header .hdr-burger-menu a:hover {
    background: #ffd800;
    color: #000;
  }
}

/* ===== Tmavomodrý pruh s kategóriami (desktop) ===== */

.hdr-nav,
.hdr-nav ul,
.hdr-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hdr-nav {
  position: relative;
  z-index: 90;
  background: #0d2f57;
}

.hdr-nav a {
  text-decoration: none !important;
}

.hdr-nav-inner {
  display: flex;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
}

/* Hamburger */

.hdr-nav-all {
  position: relative;
  flex: 0 0 auto;
  outline: 0;
}

.hdr-nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 100%;
  min-height: 50px;
  background: #0a2447;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.hdr-nav-all:hover .hdr-nav-burger,
.hdr-nav-all:focus-within .hdr-nav-burger {
  background: #f7941d;
}

/* Zoznam všetkých kategórií */

.hdr-nav-panel {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 540px;
  columns: 2;
  column-gap: 0;
  background: #fff;
  border-top: 3px solid #ffd800;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hdr-nav-all:hover .hdr-nav-panel,
.hdr-nav-all:focus-within .hdr-nav-panel {
  display: block;
}

.hdr-nav-panel > li {
  position: relative;
  break-inside: avoid;
  border-bottom: 1px solid #eee;
}

.hdr-nav-panel > li > a {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.25;
  color: #222;
  transition: background 0.15s;
}

.hdr-nav-panel > li > a i {
  width: 22px;
  margin-right: 8px;
  text-align: center;
  color: #c9a400;
}

.hdr-nav-panel > li.has-kids > a::after {
  content: "\f105";
  margin-left: auto;
  padding-left: 10px;
  font-family: "FontAwesome";
  color: #999;
}

.hdr-nav-panel > li:hover > a {
  background: #ffd800;
  color: #000;
}

/* Podkategórie vedľa */

.hdr-nav-sub {
  display: none;
  position: absolute;
  left: 100%;
  top: -1px;
  width: 270px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 3px solid #ffd800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hdr-nav-panel > li:hover > .hdr-nav-sub {
  display: block;
}

.hdr-nav-sub li {
  border-bottom: 1px solid #f2f2f2;
}

.hdr-nav-sub li:last-child {
  border-bottom: 0;
}

.hdr-nav-sub a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #555;
}

.hdr-nav-sub a:hover {
  background: #fff8cc;
  color: #000;
}

/* Kategórie v pruhu */

.hdr-nav-list {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.hdr-nav-list li {
  display: flex;
  flex: 1 1 auto;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hdr-nav-list a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  min-height: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.hdr-nav-list a i {
  font-size: 17px;
  color: #fff;
}

.hdr-nav-list a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffd800;
}

.hdr-nav-list a:hover i {
  color: #ffd800;
}

/* Užšie obrazovky: bez ikon, menší text */

@media (min-width: 960px) and (max-width: 1199px) {
  .hdr-nav-list a {
    padding: 0 9px;
    font-size: 12px;
  }

  .hdr-nav-list a i {
    display: none;
  }
}

/* Na mobile a tablete sa pruh nezobrazuje, tam je hamburger v hlavičke */

@media (max-width: 959px) {
  .hdr-nav {
    display: none;
  }
}

/* Hamburger v pruhu: len hlavné kategórie, bez podkategórií */

.hdr-nav-sub {
  display: none !important;
}

.hdr-nav-panel > li.has-kids > a::after {
  display: none;
}

.page-header {
  margin-bottom: 10px;
}

/* ===== Úvodná stránka: pruh s výhodami ===== */

/* Bez medzier medzi bannerom a pruhom */

.home-banner,
.home-usp {
  margin-bottom: 0 !important;
}

.home-usp {
  background: #f1f4f8;
}

.home-usp .so-panel {
  margin-bottom: 0 !important;
}

.usp {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
}

.usp-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 26px 20px;
  border-left: 1px solid #d9e0e9;
}

.usp-item:first-child {
  border-left: 0;
}

.usp-item i {
  width: 56px;
  font-size: 44px;
  line-height: 1;
  text-align: center;
}

.usp-blue {
  color: #0d2f57;
}

.usp-green {
  color: #6aa51f;
}

.usp-orange {
  color: #f7941d;
}

.usp-item strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  color: #0d2f57;
}

.usp-item span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: #5b6b7d;
}

@media (max-width: 959px) {
  .usp {
    flex-direction: column;
  }

  .usp-item {
    justify-content: flex-start;
    padding: 16px 18px;
    border-left: 0;
    border-top: 1px solid #d9e0e9;
  }

  .usp-item:first-child {
    border-top: 0;
  }

  .usp-item i {
    width: 44px;
    font-size: 34px;
  }
}

/* ===== Úvodná stránka: Nakupujte podľa kategórie ===== */

.hcats {
  margin: 40px 0;
}

.hcats-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hcats-head h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57;
}

.hcats-head a {
  font-size: 14px;
  color: #1f6fb2;
  text-decoration: underline;
}

.hcats-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.hc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  text-decoration: none !important;
  transition: box-shadow 0.2s, transform 0.2s;
}

.hc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 47, 87, 0.14);
}

/* Horná časť s obrázkom */

.hc-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  overflow: hidden;
  background: #f3f6fa;
}

.hc-img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.hc-img--cat img {
  object-fit: cover;
}

.hc-img--prod img {
  box-sizing: border-box;
  padding: 10px;
  object-fit: contain;
}

/* Bez obrázka: modrá plocha s ikonou */

.hc-img--none {
  background: linear-gradient(135deg, #0d2f57, #1f6fb2);
}

.hc-img--none i {
  font-size: 46px;
  color: rgba(255, 255, 255, 0.85);
}

/* Spodná časť s názvom */

.hc-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 12px;
}

.hc-ico {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
}

.hc-ico--blue {
  background: #0d2f57;
}

.hc-ico--orange {
  background: #f7941d;
}

.hc-ico--green {
  background: #6aa51f;
}

.hc-name > span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #0d2f57;
}

@media (max-width: 1199px) {
  .hcats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 959px) {
  .hcats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hcats-head h2 {
    font-size: 24px;
  }
}

@media (max-width: 599px) {
  .hcats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Úvodná stránka: Odporúčame ===== */

.hfeat {
  margin: 10px 0;
}

.hfeat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hfeat-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57;
}

.hfeat-head h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 6px;
  background: #f7941d;
}

.hfeat-head a {
  font-size: 14px;
  color: #1f6fb2;
  text-decoration: underline;
}

.hfeat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hf-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid #dde5ee;
  border-radius: 8px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.hf-card:hover {
  border-color: #c5d3e3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.hf-img img {
  display: block;
  width: 100%;
  max-height: 140px;
  margin: 0 auto;
  object-fit: contain;
}

.hf-info {
  min-width: 0;
}

.hf-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #1f6fb2;
  text-decoration: none !important;
}

.hf-title:hover {
  color: #124a7c;
}

.hf-price,
.hf-price .amount {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #0d2f57;
}

.hf-price del,
.hf-price del .amount {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.55;
}

.hf-price ins {
  text-decoration: none;
}

.hf-stock {
  margin: 6px 0 8px;
  padding-left: 22px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 18px;
  color: #1f2d3d;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px 16px;
}

.hf-stock.in {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2322a559'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hf-stock.out {
  color: #b42318;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23d92d20'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.hf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 8px;
  background: #f7941d;
  color: #fff !important;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background 0.2s;
}

.hf-btn:hover {
  background: #e07f0a;
}

@media (max-width: 1199px) {
  .hfeat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .hfeat-grid {
    grid-template-columns: 1fr;
  }

  .hfeat-head h2 {
    font-size: 24px;
  }
}

.content-left-sidebar .widget-area {
  margin-top: 10px;
}

#primary.content-area.clr {
  margin-top: 10px;
}

/* ===== Stránka produktu ===== */

/* Bez sidebaru, obsah na celú šírku */

.single-product #left-sidebar,
.single-product #right-sidebar {
  display: none !important;
}

.single-product .content-area {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Dva stĺpce: galéria vľavo, údaje vpravo */

.single-product div.product div.images {
  float: left !important;
  width: 55% !important;
  margin: 0 !important;
}

.single-product div.product div.summary {
  float: right !important;
  width: 41% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product div.product .woocommerce-tabs,
.single-product div.product .related,
.single-product div.product .up-sells {
  clear: both;
}

/* Zrušenie oddeľovacích čiar v pravom stĺpci */

.single-product div.product div.summary > *,
.single-product div.product div.summary .product_title,
.single-product div.product div.summary .price,
.single-product div.product div.summary .product_meta,
.single-product div.product div.summary form.cart {
  border: 0 !important;
}

/* Galéria: svetlosivý podklad, miniatúry so zaoblením */

.single-product .woocommerce-product-gallery__image {
  background: #f5f6f8;
  border-radius: 12px;
  overflow: hidden;
}

.single-product .woocommerce-product-gallery__image img {
  mix-blend-mode: multiply;
}

.single-product .flex-control-thumbs li img {
  border: 2px solid transparent;
  border-radius: 10px;
  background: #f5f6f8;
  opacity: 1 !important;
}

.single-product .flex-control-thumbs li img.flex-active {
  border-color: #e8141b;
}

/* Názov */

.single-product div.product .product_title {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  color: #0b1b33;
}

/* Cena */

.single-product div.product p.price {
  margin: 0 0 18px !important;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  color: #e8141b;
}

.single-product div.product p.price .amount,
.single-product div.product p.price bdi {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.single-product div.product p.price del,
.single-product div.product p.price del .amount {
  font-size: 22px;
  font-weight: 400;
  color: #8a94a3;
}

.single-product div.product p.price ins {
  text-decoration: none;
}

/* Krátky popis a meta údaje */

.single-product div.product .woocommerce-product-details__short-description {
  margin: 0 0 18px;
  font-size: 17px;
  line-height: 1.45;
  color: #1f2d3d;
}

.single-product div.product .product_meta {
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-size: 13px;
  color: #5b6b7d;
}

/* Zelený odznak Na sklade */

.single-product div.product p.stock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px !important;
  padding: 10px 20px 10px 14px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff !important;
  background: linear-gradient(180deg, #3fb53a, #1f9a2c);
}

.single-product div.product p.stock::before {
  font-family: "FontAwesome";
  content: "\f058";
  font-size: 26px;
  font-weight: normal;
}

.single-product div.product p.stock.out-of-stock {
  background: linear-gradient(180deg, #e5484d, #c92a2a);
}

.single-product div.product p.stock.out-of-stock::before {
  content: "\f057";
}

/* Sivý rámček s výhodami */

.pd-usp {
  display: flex;
  align-items: center;
  margin: 0 0 20px;
  padding: 14px 10px;
  background: #f1f3f6;
  border-radius: 12px;
}

.pd-usp-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
}

.pd-usp-item + .pd-usp-item {
  border-left: 1px solid #d6dbe3;
}

.pd-usp-item i {
  font-size: 34px;
  line-height: 1;
  color: #e8141b;
}

.pd-usp-item strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  color: #0b1b33;
}

/* Množstvo a tlačidlo */

.single-product div.product form.cart {
  display: flex !important;
  align-items: stretch;
  gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
}

.single-product div.product form.cart .quantity {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  height: 54px;
  margin: 0 !important;
  background: #fff;
  border: 1px solid #0d2f57;
  border-radius: 10px;
  overflow: hidden;
}

.single-product div.product form.cart .quantity input.qty,
.single-product div.product form.cart .quantity .minus,
.single-product div.product form.cart .quantity .plus {
  height: 54px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 18px;
  color: #0d2f57;
}

.single-product div.product form.cart .quantity input.qty {
  width: 46px;
  text-align: center;
  -moz-appearance: textfield;
}

.single-product div.product form.cart .single_add_to_cart_button {
  display: flex !important;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #f21d1d, #d10a0a) !important;
  box-shadow: 0 4px 10px rgba(209, 10, 10, 0.35);
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: filter 0.2s;
}

.single-product div.product form.cart .single_add_to_cart_button::before {
  font-family: "FontAwesome";
  content: "\f07a";
  font-weight: normal;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
  filter: brightness(1.08);
}

/* Tablet a mobil */

@media (max-width: 959px) {
  .single-product div.product div.images,
  .single-product div.product div.summary {
    float: none !important;
    width: 100% !important;
  }

  .single-product div.product div.summary {
    margin-top: 24px !important;
  }

  .single-product div.product .product_title {
    font-size: 30px;
  }

  .single-product div.product p.price {
    font-size: 40px;
  }

  .pd-usp {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pd-usp-item + .pd-usp-item {
    padding-top: 10px;
    border-left: 0;
    border-top: 1px solid #d6dbe3;
  }
}

/*POPIS*/

/* ===== Stránka produktu: záložky a popis ===== */

.single-product .woocommerce-tabs {
  clear: both;
  margin: 44px 0 0 !important;
  padding: 0 !important;
}

/* Záložky */

.single-product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}

.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 14px 26px !important;
  background: #eef1f5;
  border: 0 !important;
  border-radius: 10px 10px 0 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57 !important;
  transition: background 0.2s;
}

.single-product .woocommerce-tabs ul.tabs li a:hover {
  background: #e1e7ee;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  background: #fff;
  color: #e8141b !important;
  box-shadow: inset 0 3px 0 #e8141b;
}

/* Plocha s obsahom */

.single-product .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: 32px 36px !important;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.06);
}

/* Nadpis v paneli */

.single-product .woocommerce-Tabs-panel > h2 {
  margin: 0 0 20px !important;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57;
}

.single-product .woocommerce-Tabs-panel > h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  background: #e8141b;
}

/* Text popisu */

.single-product .woocommerce-Tabs-panel p {
  margin: 0 0 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #2b3a4d;
}

.single-product .woocommerce-Tabs-panel strong,
.single-product .woocommerce-Tabs-panel b {
  color: #0d2f57;
}

.single-product .woocommerce-Tabs-panel h3,
.single-product .woocommerce-Tabs-panel h4 {
  margin: 24px 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57;
}

.single-product .woocommerce-Tabs-panel img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Odrážky ako červené fajky */

.single-product .woocommerce-Tabs-panel ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.single-product .woocommerce-Tabs-panel ul li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 28px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #2b3a4d;
}

.single-product .woocommerce-Tabs-panel ul li::before {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "FontAwesome";
  content: "\f00c";
  color: #e8141b;
}

/* Tabuľka Dodatočné informácie */

.single-product .woocommerce-product-attributes {
  width: 100%;
  margin: 0;
  border: 1px solid #e1e7ef;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
}

.single-product .woocommerce-product-attributes th,
.single-product .woocommerce-product-attributes td {
  padding: 13px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #e1e7ef !important;
  font-size: 15px;
  text-align: left;
}

.single-product .woocommerce-product-attributes th {
  width: 30%;
  background: #f5f6f8;
  font-weight: 700;
  color: #0d2f57;
}

.single-product .woocommerce-product-attributes tr:last-child th,
.single-product .woocommerce-product-attributes tr:last-child td {
  border-bottom: 0 !important;
}

.single-product .woocommerce-product-attributes td p {
  margin: 0;
}

/* Recenzie: tlačidlo odoslať */

.single-product #review_form #submit {
  padding: 13px 30px;
  background: #e8141b !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.single-product #review_form #submit:hover {
  background: #c40f15 !important;
}

/* Nadpis Súvisiace produkty */

.single-product .related.products > h2,
.single-product .up-sells > h2 {
  margin: 44px 0 20px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57;
}

.single-product .related.products > h2::after,
.single-product .up-sells > h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  background: #e8141b;
}

/* Mobil */

@media (max-width: 599px) {
  .single-product .woocommerce-tabs ul.tabs li {
    flex: 1 1 100%;
  }

  .single-product .woocommerce-tabs ul.tabs li a {
    border-radius: 10px;
  }

  .single-product .woocommerce-Tabs-panel {
    padding: 22px 18px !important;
    border-radius: 12px;
  }

  .single-product .woocommerce-product-attributes th {
    width: 38%;
  }
}

/* ===== Súvisiace produkty: rovnaké karty ako v archíve (oprava) ===== */

body.single-product .related ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 !important;
  padding: 0;
}

body.single-product .related ul.products::before,
body.single-product .related ul.products::after {
  display: none !important;
  content: none !important;
}

body.single-product .related ul.products li.product {
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Karta */

body.single-product .related ul.products li.product .product-inner {
  box-sizing: border-box;
  height: 100%;
  padding: 14px !important;
  background: #fff;
  border: 1px solid #dde5ee;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

body.single-product .related ul.products li.product:hover .product-inner {
  border-color: #c5d3e3;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Skrytie duplicitného obrázka mimo zoznamu */

body.single-product .related ul.products li.product .product-inner > .woo-entry-image {
  display: none !important;
}

/* Obrázok vľavo, údaje vpravo */

body.single-product .related ul.products li.product ul.woo-entry-inner {
  display: grid !important;
  grid-template-columns: 42% 1fr;
  column-gap: 14px;
  align-items: center;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product .related ul.products li.product ul.woo-entry-inner > li {
  grid-column: 2;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}

body.single-product .related ul.products li.product ul.woo-entry-inner > li.image-wrap {
  display: block !important;
  grid-column: 1;
  grid-row: 1 / span 6;
}

body.single-product .related ul.products li.product li.image-wrap .woo-entry-image {
  display: block !important;
  margin: 0 !important;
}

body.single-product .related ul.products li.product li.image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  margin: 0 auto;
  object-fit: contain;
}

body.single-product .related ul.products li.product .woo-entry-image-swap {
  display: none !important;
}

body.single-product .related ul.products li.product li.rating:empty {
  display: none !important;
}

/* Názov */

body.single-product .related ul.products li.product li.title {
  margin-bottom: 6px !important;
}

body.single-product .related ul.products li.product li.title h2,
body.single-product .related ul.products li.product li.title a {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #1f6fb2 !important;
}

body.single-product .related ul.products li.product li.title a:hover {
  color: #124a7c !important;
}

/* Cena */

body.single-product .related ul.products li.product li.price-wrap {
  margin-bottom: 6px !important;
}

body.single-product .related ul.products li.product li.price-wrap .price,
body.single-product .related ul.products li.product li.price-wrap .amount,
body.single-product .related ul.products li.product li.price-wrap bdi {
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.2;
  color: #0d2f57 !important;
}

body.single-product .related ul.products li.product li.price-wrap del,
body.single-product .related ul.products li.product li.price-wrap del .amount,
body.single-product .related ul.products li.product li.price-wrap del bdi {
  font-size: 14px !important;
  font-weight: 400 !important;
  opacity: 0.55;
}

body.single-product .related ul.products li.product li.price-wrap ins {
  text-decoration: none;
}

/* Stav skladu pod cenou */

body.single-product .related ul.products li.product li.price-wrap::after {
  display: block;
  margin-top: 6px;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 18px 18px;
}

body.single-product .related ul.products li.product.instock li.price-wrap::after {
  content: "Skladom";
  color: #1f2d3d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2322a559'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

body.single-product .related ul.products li.product.outofstock li.price-wrap::after {
  content: "Nie je skladom";
  color: #b42318;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23d92d20'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

body.single-product .related ul.products li.product.onbackorder li.price-wrap::after {
  content: "Na objednávku";
  color: #b54708;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23f79009'/%3E%3Cpath d='M12 6.5V12l3.5 2' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Oranžové tlačidlo s ikonou košíka */

body.single-product .related ul.products li.product li.btn-wrap a.button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0 !important;
  padding: 11px 12px !important;
  background: #f7941d !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.2;
  transition: background 0.2s;
}

body.single-product .related ul.products li.product li.btn-wrap a.button::before {
  font-family: "FontAwesome";
  content: "\f07a";
  font-weight: normal;
}

body.single-product .related ul.products li.product li.btn-wrap a.button:hover {
  background: #e07f0a !important;
  color: #fff !important;
}

/* Tablet: 2 v rade, mobil: 1 v rade */

@media (max-width: 1199px) {
  body.single-product .related ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  body.single-product .related ul.products {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   KOŠÍK A POKLADŇA
   ===================================================== */

/* ----- Oznamy (kupón, prihlásenie, chyby) ----- */

body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
  padding: 15px 20px 15px 52px !important;
  background: #f1f4f8 !important;
  border: 0 !important;
  border-left: 4px solid #0d2f57 !important;
  border-radius: 8px;
  font-size: 14.5px;
  color: #0d2f57 !important;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-message {
  background: #eef8f1 !important;
  border-left-color: #22a559 !important;
  color: #14532d !important;
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-error {
  padding: 15px 20px 15px 52px !important;
  background: #fdecec !important;
  border: 0 !important;
  border-left: 4px solid #d92d20 !important;
  border-radius: 8px;
  color: #8a1c14 !important;
}

body.woocommerce-cart .woocommerce-info a,
body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-cart .woocommerce-message a {
  color: #e8141b;
  font-weight: 700;
}

body.woocommerce-cart .woocommerce-message .button {
  float: right;
  background: #0d2f57 !important;
  color: #fff !important;
  border-radius: 6px;
}

/* =====================================================
   KOŠÍK
   ===================================================== */

body.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px 32px;
  align-items: start;
}

body.woocommerce-cart .woocommerce::before,
body.woocommerce-cart .woocommerce::after {
  display: none !important;
}

/* Oznamy, prázdny košík a pod. cez celú šírku */

body.woocommerce-cart .woocommerce > *:not(.woocommerce-cart-form):not(.cart-collaterals) {
  grid-column: 1 / -1;
}

body.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
  margin: 0;
}

/* Tabuľka */

body.woocommerce-cart table.shop_table.cart {
  width: 100%;
  margin: 0;
  background: #fff;
  border: 1px solid #e1e7ef !important;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.06);
}

body.woocommerce-cart table.shop_table.cart thead th {
  padding: 14px 16px;
  background: #1f1f1f;
  border: 0 !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

body.woocommerce-cart table.shop_table.cart td {
  padding: 16px;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
  vertical-align: middle;
  color: #2b3a4d;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
  width: 84px;
  height: auto;
  border-radius: 8px;
  background: #f5f6f8;
}

body.woocommerce-cart table.shop_table.cart .product-name a {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #0d2f57;
}

body.woocommerce-cart table.shop_table.cart .product-name a:hover {
  color: #e8141b;
}

body.woocommerce-cart table.shop_table.cart .product-price,
body.woocommerce-cart table.shop_table.cart .product-subtotal {
  font-weight: 700;
  color: #0d2f57;
}

/* Odstránenie produktu */

body.woocommerce-cart table.shop_table.cart a.remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0 !important;
  border-radius: 50%;
  background: #f1f3f6 !important;
  font-size: 18px;
  line-height: 1;
  color: #5b6b7d !important;
  transition: background 0.2s, color 0.2s;
}

body.woocommerce-cart table.shop_table.cart a.remove:hover {
  background: #e8141b !important;
  color: #fff !important;
}

/* Množstvo */

body.woocommerce-cart .quantity .qty {
  width: 64px;
  height: 42px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  color: #0d2f57;
}

/* Kupón a aktualizácia */

body.woocommerce-cart table.shop_table.cart td.actions {
  padding: 18px 16px;
  background: #f7f9fb;
  border-bottom: 0 !important;
}

body.woocommerce-cart td.actions .coupon {
  display: inline-flex;
  float: left;
  gap: 10px;
}

body.woocommerce-cart td.actions .coupon label {
  display: none;
}

body.woocommerce-cart #coupon_code {
  width: 200px;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
}

body.woocommerce-cart button[name="apply_coupon"] {
  height: 44px;
  padding: 0 22px;
  background: #0d2f57 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
}

body.woocommerce-cart button[name="apply_coupon"]:hover {
  background: #f7941d !important;
}

body.woocommerce-cart button[name="update_cart"] {
  float: right;
  height: 44px;
  padding: 0 22px;
  background: #fff !important;
  border: 1px solid #0d2f57 !important;
  border-radius: 8px !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57 !important;
}

body.woocommerce-cart button[name="update_cart"]:disabled {
  opacity: 0.45;
}

/* Súčet košíka */

body.woocommerce-cart .cart-collaterals {
  display: flex;
  flex-direction: column;
  grid-column: 2;
  float: none !important;
  gap: 20px;
  width: 100% !important;
  margin: 0;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  order: -1;
  float: none !important;
  width: 100% !important;
  margin: 0;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.06);
}

body.woocommerce-cart .cart_totals > h2 {
  margin: 0 !important;
  padding: 14px 20px;
  background: #1f1f1f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

body.woocommerce-cart .cart_totals > h2::before {
  margin-right: 12px;
  font-family: "FontAwesome";
  content: "\f07a";
  color: #ffd800;
}

body.woocommerce-cart .cart_totals table.shop_table {
  margin: 0;
  border: 0 !important;
  border-collapse: collapse;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  padding: 14px 20px;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: transparent;
  font-size: 14.5px;
  color: #2b3a4d;
}

body.woocommerce-cart .cart_totals table th {
  font-weight: 600;
  text-align: left;
  color: #0d2f57;
}

body.woocommerce-cart .cart_totals ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 0 !important;
  font-size: 18px;
  font-weight: 800;
  color: #0d2f57;
}

body.woocommerce-cart .cart_totals .order-total .amount {
  font-size: 26px;
  color: #e8141b;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  padding: 4px 20px 20px;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 !important;
  padding: 16px 20px !important;
  background: linear-gradient(180deg, #f21d1d, #d10a0a) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 10px rgba(209, 10, 10, 0.3);
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #fff !important;
  transition: filter 0.2s;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after {
  font-family: "FontAwesome";
  content: "\f061";
  font-weight: normal;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  filter: brightness(1.08);
}

/* Súvisiace produkty v košíku */

body.woocommerce-cart .cart-collaterals .cross-sells {
  float: none !important;
  width: 100% !important;
}

/* Prázdny košík */

body.woocommerce-cart .return-to-shop .button {
  padding: 14px 28px;
  background: #f7941d !important;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
}

/* =====================================================
   POKLADŇA
   ===================================================== */

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  column-gap: 32px;
  align-items: start;
}

body.woocommerce-checkout form.checkout::before,
body.woocommerce-checkout form.checkout::after {
  display: none !important;
}

body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup {
  grid-column: 1 / -1;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  float: none !important;
  width: 100% !important;
}

/* Karty s údajmi */

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 0 20px !important;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.06);
}

body.woocommerce-checkout #customer_details h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
  color: #0d2f57;
}

body.woocommerce-checkout #customer_details h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  background: #e8141b;
}

/* Polia formulára */

body.woocommerce-checkout .form-row {
  margin: 0 0 16px;
  padding: 0;
}

body.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #0d2f57;
}

body.woocommerce-checkout .form-row .required {
  text-decoration: none;
  color: #e8141b;
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  box-shadow: none;
  font-size: 15px;
  color: #2b3a4d;
}

body.woocommerce-checkout form .form-row textarea {
  height: auto;
  min-height: 110px;
  padding: 12px 14px;
}

body.woocommerce-checkout form .form-row input.input-text:focus,
body.woocommerce-checkout form .form-row select:focus,
body.woocommerce-checkout form .form-row textarea:focus {
  border-color: #0d2f57;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(13, 47, 87, 0.12);
}

/* Výber krajiny (select2) */

body.woocommerce-checkout .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
  padding-left: 14px;
  line-height: 44px;
  color: #2b3a4d;
}

body.woocommerce-checkout .select2-container .select2-selection__arrow {
  top: 0;
  right: 8px;
  height: 44px;
}

/* Rekapitulácia objednávky */

body.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 20px;
  background: #1f1f1f;
  border-radius: 10px 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

body.woocommerce-checkout #order_review_heading::before {
  margin-right: 12px;
  font-family: "FontAwesome";
  content: "\f291";
  color: #ffd800;
}

body.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 2;
  float: none !important;
  width: 100% !important;
  padding: 6px 20px 20px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.06);
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100%;
  margin: 0 0 14px;
  border: 0 !important;
  border-collapse: collapse;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
  padding: 12px 0;
  background: transparent;
  border: 0 !important;
  border-bottom: 2px solid #e1e7ef !important;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5b6b7d;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table td,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
  padding: 12px 0;
  background: transparent;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
  font-size: 14.5px;
  color: #2b3a4d;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th {
  font-weight: 600;
  text-align: left;
  color: #0d2f57;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-quantity {
  font-weight: 600;
  color: #5b6b7d;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  padding-top: 16px;
  border-bottom: 0 !important;
  font-size: 18px;
  font-weight: 800;
  color: #0d2f57;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount {
  font-size: 26px;
  color: #e8141b;
}

body.woocommerce-checkout ul#shipping_method {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Platobné metódy */

body.woocommerce-checkout #payment {
  background: transparent !important;
  border-radius: 0;
}

body.woocommerce-checkout #payment ul.payment_methods {
  margin: 0;
  padding: 0;
  border: 0 !important;
  list-style: none;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 0 10px;
  padding: 14px 16px;
  background: #f7f9fb;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
  font-weight: 700;
  cursor: pointer;
  color: #0d2f57;
}

body.woocommerce-checkout #payment div.payment_box {
  margin: 10px 0 0;
  padding: 12px 14px;
  background: #fff;
  border-radius: 6px;
  font-size: 13.5px;
  color: #5b6b7d;
}

body.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

body.woocommerce-checkout #payment .form-row.place-order {
  margin: 0;
  padding: 12px 0 0;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 14px;
  font-size: 13px;
  color: #5b6b7d;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text p {
  font-size: 12.5px;
  line-height: 1.5;
}

body.woocommerce-checkout #place_order {
  float: none !important;
  display: block;
  width: 100%;
  padding: 17px 20px !important;
  background: linear-gradient(180deg, #f21d1d, #d10a0a) !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 10px rgba(209, 10, 10, 0.3);
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #fff !important;
  transition: filter 0.2s;
}

body.woocommerce-checkout #place_order:hover {
  filter: brightness(1.08);
}

/* Prihlásenie a kupón nad formulárom */

body.woocommerce-checkout form.checkout_coupon,
body.woocommerce-checkout form.woocommerce-form-login {
  margin: 0 0 24px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
}

body.woocommerce-checkout form.checkout_coupon input.input-text {
  height: 44px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
}

body.woocommerce-checkout form.checkout_coupon .button,
body.woocommerce-checkout form.woocommerce-form-login .button {
  height: 44px;
  padding: 0 22px;
  background: #0d2f57 !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #fff !important;
}

/* =====================================================
   TABLET A MOBIL
   ===================================================== */

@media (max-width: 959px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout form.checkout {
    display: block;
  }

  body.woocommerce-cart .cart-collaterals {
    margin-top: 24px;
  }

  body.woocommerce-checkout #order_review_heading {
    margin-top: 10px !important;
  }

  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2 {
    padding: 20px 18px;
  }
}

@media (max-width: 768px) {
  body.woocommerce-cart td.actions .coupon {
    display: flex;
    float: none;
    width: 100%;
    margin-bottom: 10px;
  }

  body.woocommerce-cart #coupon_code {
    flex: 1;
    width: auto;
  }

  body.woocommerce-cart button[name="update_cart"] {
    float: none;
    width: 100%;
  }
}

/* ===== Pokladňa: oprava medzery pod nadpisom Vaša objednávka ===== */

body.woocommerce-checkout form.checkout {
  grid-template-rows: auto auto 1fr;
}

body.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup {
  grid-row: 1;
}

body.woocommerce-checkout #customer_details {
  grid-row: 2 / span 2;
}

body.woocommerce-checkout #order_review_heading {
  grid-row: 2;
  align-self: start;
}

body.woocommerce-checkout #order_review {
  grid-row: 3;
  align-self: start;
}

/* ===== Pokladňa: súhlas s obchodnými podmienkami ===== */

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f7f9fb;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
}

body.woocommerce-checkout .woocommerce-form__label-for-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 !important;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #2b3a4d;
  cursor: pointer;
}

body.woocommerce-checkout .woocommerce-form__input-checkbox {
  position: static !important;
  display: inline-block !important;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  appearance: auto !important;
  accent-color: #e8141b;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-link {
  font-weight: 700;
  text-decoration: underline;
  color: #e8141b;
}

/* =====================================================
   FOOTER WIDGETY
   ===================================================== */

#footer-widgets {
  padding: 50px 0 30px !important;
  background: #f1f4f8 !important;
  border-top: 0 !important;
}

/* Stĺpce v rade, karty rovnako vysoké */

#footer-widgets .footer-widgets-inner {
  display: flex;
  flex-wrap: wrap;
}

#footer-widgets .footer-box {
  display: flex;
  flex-direction: column;
  float: none;
  margin-bottom: 20px;
}

/* Karta */

#footer-widgets .footer-widget {
  flex: 1;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.06);
  overflow: hidden;
}

/* Tmavá hlavička */

#footer-widgets .footer-widget .widget-title {
  margin: 0 !important;
  padding: 14px 18px !important;
  background: #1f1f1f;
  border: 0 !important;
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff !important;
}

#footer-widgets .footer-widget .widget-title::before {
  display: inline-block;
  margin-right: 12px;
  font-family: "FontAwesome";
  font-weight: normal;
  content: "\f0c9";
  color: #ffd800;
}

/* Ikony podľa poradia stĺpca: Účet, Nákup, Kategórie, Kontakty */

#footer-widgets .footer-box.col-1 .widget-title::before {
  content: "\f007";
}

#footer-widgets .footer-box.col-2 .widget-title::before {
  content: "\f07a";
}

#footer-widgets .footer-box.col-3 .widget-title::before {
  content: "\f009";
}

#footer-widgets .footer-box.col-4 .widget-title::before {
  content: "\f095";
}

/* ----- Menu (Účet, Nákup, Hlavné kategórie) ----- */

#footer-widgets .widget_nav_menu ul,
#footer-widgets .widget_nav_menu .menu {
  margin: 0 !important;
  padding: 6px 0 !important;
  list-style: none;
}

#footer-widgets .widget_nav_menu li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
}

#footer-widgets .widget_nav_menu li:last-child {
  border-bottom: 0 !important;
}

#footer-widgets .widget_nav_menu li::before,
#footer-widgets .widget_nav_menu li::after {
  display: none !important;
  content: none !important;
}

#footer-widgets .widget_nav_menu li a {
  position: relative;
  display: block;
  padding: 10px 18px 10px 38px !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #222 !important;
  text-decoration: none !important;
  transition: background 0.2s, padding 0.2s;
}

#footer-widgets .widget_nav_menu li a::before {
  position: absolute !important;
  top: 50% !important;
  left: 18px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  transform: translateY(-50%) !important;
  font-family: "FontAwesome";
  font-size: 13px;
  line-height: 1;
  content: "\f105";
  color: #c9a400;
}

#footer-widgets .widget_nav_menu li a:hover {
  padding-left: 42px !important;
  background: #ffd800;
  color: #000 !important;
}

#footer-widgets .widget_nav_menu li a:hover::before {
  left: 22px !important;
  color: #000;
}

/* ----- Kontakty (textový alebo HTML widget) ----- */

#footer-widgets .widget_text .textwidget,
#footer-widgets .widget_custom_html .textwidget,
#footer-widgets .widget_block {
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: #2b3a4d;
}

#footer-widgets .widget_text .textwidget p,
#footer-widgets .widget_custom_html .textwidget p,
#footer-widgets .widget_block p {
  margin: 0 0 14px;
}

#footer-widgets .widget_text .textwidget p:last-child,
#footer-widgets .widget_custom_html .textwidget p:last-child,
#footer-widgets .widget_block p:last-child {
  margin-bottom: 0;
}

#footer-widgets .widget_text strong,
#footer-widgets .widget_custom_html strong,
#footer-widgets .widget_block strong {
  color: #0d2f57;
}

#footer-widgets .widget_text a,
#footer-widgets .widget_custom_html a,
#footer-widgets .widget_block a {
  font-weight: 600;
  color: #1f6fb2;
  text-decoration: none;
}

#footer-widgets .widget_text a:hover,
#footer-widgets .widget_custom_html a:hover,
#footer-widgets .widget_block a:hover {
  color: #e8141b;
  text-decoration: underline;
}

/* Spodný pruh s copyrightom */

#footer-bottom {
  background: #0d2f57 !important;
}

#footer-bottom #copyright,
#footer-bottom #copyright a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85) !important;
}

#footer-bottom #copyright a:hover {
  color: #ffd800 !important;
}

/* Tablet a mobil */

@media (max-width: 959px) {
  #footer-widgets {
    padding: 34px 0 14px !important;
  }

  #footer-widgets .footer-box {
    margin-bottom: 18px;
  }
}

/* ===== Footer: odsadenie textu vo widgete Kontakty ===== */

#footer-widgets .footer-box.col-4 .footer-widget {
  padding: 0 18px 18px !important;
}

/* Nadpis zostane cez celú šírku karty */

#footer-widgets .footer-box.col-4 .footer-widget .widget-title {
  margin: 0 -18px 16px !important;
}

#footer-widgets .footer-box.col-4 .footer-widget p {
  margin: 0 0 12px;
}

#footer-widgets .footer-box.col-4 .footer-widget p:last-child {
  margin-bottom: 0;
}

/* ===== Detail produktu: bez zoomu pri hoveri, obrázok na stred ===== */

/* Vypnutie zoomu */

.single-product .woocommerce-product-gallery .zoomImg {
  display: none !important;
}

/* Obrázok na stred podkladu */

.single-product .woocommerce-product-gallery__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product .woocommerce-product-gallery__image > a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.single-product .woocommerce-product-gallery__image img {
  display: block;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  max-height: 560px;
  margin: 0 auto;
  object-fit: contain;
}

/* ===== Detail produktu: šípky v hlavnom obrázku ===== */

.single-product .woocommerce-product-gallery {
  --pg-h: 500px;
  position: relative;
}

/* Pevná výška podkladu, obrázok vždy na stred */

.single-product .woocommerce-product-gallery .flex-viewport {
  height: var(--pg-h) !important;
}

.single-product .woocommerce-product-gallery__image {
  height: var(--pg-h);
}

.single-product .woocommerce-product-gallery__image img {
  max-height: var(--pg-h);
}

/* Šípky */

.single-product .flex-direction-nav {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.single-product .flex-direction-nav li {
  margin: 0 !important;
  padding: 0 !important;
}

.single-product .flex-direction-nav a {
  position: absolute;
  top: calc(var(--pg-h) / 2);
  z-index: 10;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
  border: 0 !important;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(13, 47, 87, 0.25);
  font-size: 0 !important;
  line-height: 1;
  color: #0d2f57;
  text-decoration: none !important;
  text-indent: 0;
  opacity: 1 !important;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s;
}

.single-product .flex-direction-nav a::before {
  font-family: "FontAwesome";
  font-size: 24px;
  line-height: 1;
  color: inherit;
}

.single-product .flex-direction-nav a.flex-prev {
  left: 12px;
}

.single-product .flex-direction-nav a.flex-next {
  right: 12px;
}

.single-product .flex-direction-nav a.flex-prev::before {
  content: "\f104";
  margin-right: 2px;
}

.single-product .flex-direction-nav a.flex-next::before {
  content: "\f105";
  margin-left: 2px;
}

.single-product .flex-direction-nav a:hover {
  background: #e8141b;
  color: #fff;
}

/* Mobil: nižší podklad */

@media (max-width: 599px) {
  .single-product .woocommerce-product-gallery {
    --pg-h: 340px;
  }

  .single-product .flex-direction-nav a {
    width: 38px;
    height: 38px;
  }
}

/* ===== Bannery na stránkach kategórií ===== */

.cat-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-banner {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(13, 47, 87, 0.12);
  line-height: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.cat-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 47, 87, 0.22);
}

/* Mobil: bannery pod sebou */

@media (max-width: 767px) {
  .cat-banners {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }
}

/* Banner sa ukáže až po presune na správne miesto */

#hdr-banners {
  display: none;
}

#hdr-banners.is-ready {
  display: block;
}

/* ===== Bannery: odstup a oddeľovacia čiara ===== */

#hdr-banners.is-ready {
  padding-top: 22px;
}

.cat-banners {
  margin: 0 0 28px !important;
  padding-bottom: 28px;
  border-bottom: 1px solid #e1e7ef;
}

@media (max-width: 767px) {
  #hdr-banners.is-ready {
    padding-top: 16px;
  }

  .cat-banners {
    margin-bottom: 20px !important;
    padding-bottom: 20px;
  }
}

/* ===== Košík: oprava hlavičky tabuľky a súčtu ===== */

/* Hlavička tabuľky: všetky texty biele */

body.woocommerce-cart table.shop_table.cart thead th,
body.woocommerce-cart table.shop_table.cart thead th.product-name,
body.woocommerce-cart table.shop_table.cart thead th.product-price,
body.woocommerce-cart table.shop_table.cart thead th.product-quantity,
body.woocommerce-cart table.shop_table.cart thead th.product-subtotal {
  color: #fff !important;
}

/* Súčet košíka: tmavá hlavička cez celú šírku karty */

body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 0 !important;
}

body.woocommerce-cart .cart_totals > h2 {
  margin: 0 !important;
  border-radius: 0;
}

body.woocommerce-cart .cart_totals table.shop_table {
  width: 100%;
  margin: 0 !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  padding: 14px 20px !important;
  vertical-align: top;
}

/* Doprava: prehľadnejšie riadky */

body.woocommerce-cart .cart_totals .shipping td {
  text-align: left;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
body.woocommerce-cart .cart_totals .woocommerce-shipping-contents {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5b6b7d;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0 !important;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  color: #e8141b;
}

/* ===== Tabuľky v popise produktu (napr. Technické údaje) ===== */

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) {
  width: 100%;
  margin: 22px 0 30px;
  background: #fff;
  border: 1px solid #e1e7ef !important;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(13, 47, 87, 0.05);
}

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) th,
.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) td {
  padding: 13px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: transparent;
  font-size: 15px;
  line-height: 1.45;
  vertical-align: middle;
  color: #2b3a4d;
}

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) tr:last-child th,
.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) tr:last-child td {
  border-bottom: 0 !important;
}

/* Striedavé riadky a zvýraznenie pri prechode myšou */

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) tr:nth-child(odd) td {
  background: #f7f9fb;
}

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) tr:hover td {
  background: #fff8cc;
}

/* Názvy parametrov vľavo */

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) td:first-child {
  width: 38%;
  font-weight: 600;
  color: #0d2f57;
}

/* Hlavička tabuľky: riadok s jednou bunkou alebo th (napr. TECHNICKÁ DATA) */

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) thead th,
.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) tr:has(> :only-child) > * {
  width: auto;
  padding: 14px 18px !important;
  background: #1f1f1f !important;
  border-bottom: 0 !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff !important;
}

.single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) tr:has(> :only-child) > *::before {
  display: inline-block;
  margin-right: 12px;
  font-family: "FontAwesome";
  font-weight: normal;
  content: "\f0ad";
  color: #ffd800;
}

/* Mobil */

@media (max-width: 599px) {
  .single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) th,
  .single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) td {
    padding: 11px 12px !important;
    font-size: 14px;
  }

  .single-product .woocommerce-Tabs-panel table:not(.woocommerce-product-attributes) td:first-child {
    width: 45%;
  }
}

/* ===== Oprava zoznamu: len červená fajka, bez bodky ===== */

.single-product .woocommerce-Tabs-panel ul,
.single-product .woocommerce-Tabs-panel ul li {
  list-style: none !important;
}

.single-product .woocommerce-Tabs-panel ul li::marker {
  content: "";
}

#footer-widgets .footer-box .widget-title {
  background-color: #00305e;
}