/* Systedo – designový refresh (Classic). V produkci od 29. 10.: linkuje se v Záhlaví za systedo-skisport.css
   (src/html/html-kody-zahlavi.html). */

/* Barlow = nadpisy, menu, ceny, tlačítka (bannery používají Barlow Condensed); Manrope = text.
   Načítají se přes <link> s preconnect v Záhlaví, ne @import (rychlejší první vykreslení). */

:root {
  --sd-font: "Manrope", "Source Sans 3", sans-serif;
  --sd-font-head: "Barlow", "Exo 2", sans-serif;
  --sd-text: #2a3d50;
  --sd-tile: #f2f6f9;
  --sd-navy: #0b2540;
  --sd-blue: #0088bf;
  --sd-blue-dark: #006f9c;
  --sd-ice: #eaf5fb;
  --sd-ice-2: #f4f9fc;
  --sd-line: #dde8ef;
  --sd-pink: #f1008d;
  --sd-pink-dark: #c90076;
  --sd-green: #2f8a12;
  --sd-muted: #5b6f80;
  --sd-r-sm: 6px;
  --sd-r: 10px;
  --sd-r-lg: 14px;
  --sd-shadow: 0 10px 28px -12px rgba(11, 37, 64, 0.28);
  --sd-shadow-sm: 0 2px 8px rgba(11, 37, 64, 0.06);
  --sd-t: 0.18s ease;
}

/* ---------- Písmo ---------- */
/* Jen elementy, ne pseudo-elementy: ikony šablony jedou z ikonového fontu shoptet na ::before */
body,
input,
select,
textarea,
button,
.form-control {
  font-family: var(--sd-font) !important;
}

body {
  color: var(--sd-text);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.h1,
.btn,
.homepage-group-title,
.products-top-header,
.pageElement__heading,
.category-title,
.price-final,
.price-final strong,
.price-final-holder,
#navigation .menu-level-1 > li > a,
.sd-why__title,
.sd-why__name,
.sd-welcome__card-title {
  font-family: var(--sd-font-head) !important;
}

.price-final,
.price-final-holder,
.price-standard {
  font-variant-numeric: tabular-nums;
}

h1,
.h1 {
  text-wrap: balance;
}

/* ---------- Obecné: tlačítka, pole, nadpisy ---------- */
.btn,
.form-control,
select {
  border-radius: var(--sd-r-sm) !important;
}

.btn {
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
}

.btn:active {
  transform: translateY(1px);
}

.btn-conversion,
.add-to-cart-button,
.btn.btn-cart {
  border-radius: var(--sd-r) !important;
  background: var(--sd-pink) !important;
  border-color: var(--sd-pink) !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px -8px rgba(241, 0, 141, 0.7);
  transition: background-color var(--sd-t), transform var(--sd-t), box-shadow var(--sd-t) !important;
}

.btn-conversion:hover,
.add-to-cart-button:hover,
.btn.btn-cart:hover {
  background: var(--sd-pink-dark) !important;
  border-color: var(--sd-pink-dark) !important;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sd-blue) !important;
  border-color: var(--sd-blue) !important;
}

.btn-primary:hover {
  background: var(--sd-blue-dark) !important;
  border-color: var(--sd-blue-dark) !important;
}

h1,
.category-title,
.p-detail-inner-header h1 {
  color: var(--sd-navy) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

/* Nadpisy sekcí na HP a pod detailem: jako „Vyberte si vybavení na zimu" */
.homepage-group-title,
.products-top-header,
.products-related-header,
.p-detail-tabs-wrapper ~ h2,
.category-header-title,
.latest-contribution-wrapper h2 {
  position: relative;
  color: var(--sd-navy) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.homepage-group-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: var(--sd-blue);
}

/* ---------- Hlavička: vyhledávání, košík, menu ---------- */
@media (min-width: 768px) {
  #header .search-form fieldset {
    position: relative;
    display: flex;
    align-items: center;
  }

  #header .search-form .search-input {
    height: 48px !important;
    padding: 0 132px 0 46px !important;
    border: 2px solid var(--sd-ice) !important;
    border-radius: 999px !important;
    background: var(--sd-ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230b2540' stroke-width='2.2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 18px 50% !important;
    color: var(--sd-navy) !important;
    font-size: 16px !important;
    box-shadow: none !important;
    transition: border-color var(--sd-t), background-color var(--sd-t), box-shadow var(--sd-t);
  }

  #header .search-form .search-input::placeholder {
    color: var(--sd-muted);
  }

  #header .search-form .search-input:focus {
    border-color: var(--sd-blue) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 4px rgba(0, 136, 191, 0.15) !important;
  }

  #header .search-form .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 38px !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--sd-navy) !important;
    color: #fff !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
    transition: background-color var(--sd-t);
  }

  #header .search-form .btn:hover {
    background: var(--sd-blue) !important;
  }

  /* Šablona přidává k focusu ještě tmavý 3px outline – stačí náš modrý prstenec */
  #header .search-form .search-input:focus {
    outline: 0 !important;
  }

  /* Našeptávač širší než pole a vystředěný pod ním */
  #header .search-whisperer {
    top: calc(100% + 10px) !important;
    right: auto !important;
    left: 50% !important;
    width: min(600px, 90vw) !important;
    transform: translateX(-50%);
  }

  /* Košík jako pilulka s ikonou */
  #header .navigation-buttons .cart-count {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 20px 0 16px !important;
    border-radius: 999px !important;
    background: var(--sd-ice) !important;
    color: var(--sd-navy) !important;
    font-weight: 700;
    transition: background-color var(--sd-t), color var(--sd-t);
  }

  #header .navigation-buttons .cart-count::before {
    width: auto !important;
    margin: 0 !important;
    color: var(--sd-blue);
  }

  #header .navigation-buttons .cart-count:hover {
    background: var(--sd-navy) !important;
    color: #fff !important;
  }

  #header .navigation-buttons .cart-count:hover::before,
  #header .navigation-buttons .cart-count:hover .cart-price {
    color: #fff !important;
  }

  #header .navigation-buttons .cart-price {
    color: inherit !important;
    font-weight: 700;
  }

  #header .navigation-buttons .cart-count i,
  #header .navigation-buttons .cart-count strong {
    border-radius: 999px;
  }

  /* Menu: tmavá lišta se zaoblením, položky jako pilulky */
  /* Šablona drží overflow: hidden – menu-level-1 je široké a přetečení schovává za hamburger */
  #navigation {
    border-radius: var(--sd-r);
    background: var(--sd-navy) !important;
  }

  #navigation .navigation-in {
    background: transparent !important;
  }

  #navigation .menu-level-1 {
    padding: 0 6px;
  }

  #navigation .menu-level-1 > li > a {
    position: relative;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: color var(--sd-t);
  }

  #navigation .menu-level-1 > li > a::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 6px;
    left: 14px;
    height: 3px;
    border-radius: 3px;
    background: var(--sd-blue);
    transform: scaleX(0);
    transition: transform var(--sd-t);
  }

  #navigation .menu-level-1 > li:hover > a::after,
  #navigation .menu-level-1 > li.exp > a::after,
  #navigation .menu-level-1 > li.active > a::after {
    transform: scaleX(1);
  }

  #navigation .menu-level-1 > li {
    border: 0 !important;
  }

  #navigation .menu-level-1 > li + li {
    box-shadow: none !important;
  }

  #navigation .menu-level-2 {
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 0 var(--sd-r-lg) var(--sd-r-lg);
    box-shadow: var(--sd-shadow) !important;
  }

  #navigation .menu-level-2 a {
    color: var(--sd-navy);
  }

  #navigation .menu-level-2 a:hover {
    color: var(--sd-blue);
  }

  #navigation .menu-level-2 .menu-image img {
    mix-blend-mode: multiply;
  }

  /* Hamburger na konci lišty */
  #navigation .navigation-trigger,
  .navigation-close,
  #navigation .menu-helper {
    background: transparent !important;
  }
}

/* ---------- Našeptávač vyhledávání ---------- */
/* Nahoře kategorie / značky / články jako pilulky, pod tím produkty jako řádky s fotkou na dlaždici
   a cenou vpravo, dole „Zobrazit všechny výsledky" jako tlačítko přilepené ke spodku boxu. */
.search-whisperer {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(640px, calc(100vh - 200px));
  padding: 0 !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 24px 60px -20px rgba(11, 37, 64, 0.35) !important;
  overscroll-behavior: contain;
}

.search-whisperer-documents:not(.text-center) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 14px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sd-line) !important;
}

.search-whisperer-documents:not(.text-center) .search-whisperer-document {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  border: 0 !important;
  border-radius: 999px;
  background: var(--sd-ice) !important;
  color: var(--sd-navy) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color var(--sd-t), color var(--sd-t);
}

.search-whisperer-documents:not(.text-center) .search-whisperer-document:hover,
.search-whisperer-documents:not(.text-center) .search-whisperer-document.active {
  background: var(--sd-navy) !important;
  color: #fff !important;
}

/* „Značka", „Článek": malý štítek místo kurzívy */
.search-whisperer-document em {
  display: inline !important;
  color: var(--sd-muted);
  font-size: 10.5px;
  font-style: normal !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-whisperer-document:hover em,
.search-whisperer-document.active em {
  color: rgba(255, 255, 255, 0.7);
}

.search-whisperer-document:not(.search-whisperer-category) em:empty {
  display: none !important;
}

/* U kategorie je v prázdném <em> ikona složky */
.search-whisperer-category em {
  color: var(--sd-blue);
}

.search-whisperer-category::before {
  margin: 0 !important;
  color: var(--sd-blue);
  font-size: 14px;
}

.search-whisperer-products {
  margin: 0 !important;
  padding: 6px !important;
  list-style: none;
}

.search-whisperer-products::before {
  content: "Produkty";
  display: block;
  padding: 8px 10px 6px;
  color: var(--sd-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-whisperer-products li {
  margin: 0 !important;
  border: 0 !important;
}

.search-whisperer-products li a {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  height: auto !important;
  padding: 8px 12px 8px 8px !important;
  border: 0 !important;
  border-radius: 12px;
  color: var(--sd-navy) !important;
  text-decoration: none !important;
  transition: background-color var(--sd-t);
}

.search-whisperer-products li a:hover,
.search-whisperer-products li.active a {
  background: var(--sd-ice-2) !important;
}

.search-whisperer-products .search-whisperer-image {
  display: block !important;
  overflow: hidden;
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
  border-radius: 10px;
  background: var(--sd-tile);
}

.search-whisperer-products .search-whisperer-image img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.search-whisperer-products .p-info {
  display: block !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.search-whisperer-products .p-name {
  display: -webkit-box !important;
  overflow: hidden;
  color: var(--sd-navy) !important;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.3 !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-whisperer-products .p-availability {
  display: block;
  margin-top: 3px;
  font-size: 12px !important;
  font-weight: 600;
  line-height: 1.2;
}

.search-whisperer-products .availability-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 5px 1px 0;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.search-whisperer-products .price {
  position: static !important;
  margin: 0 !important;
  color: var(--sd-navy) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

.search-whisperer-documents.text-center {
  position: sticky;
  bottom: 0;
  padding: 10px 14px 14px !important;
  border: 0 !important;
  border-top: 1px solid var(--sd-line) !important;
  background: #fff;
}

.search-whisperer-documents.text-center .whisperer-trigger {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 12px;
  background: var(--sd-navy) !important;
  color: #fff !important;
  font-family: var(--sd-font-head) !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color var(--sd-t);
}

.search-whisperer-documents.text-center .whisperer-trigger:hover {
  background: var(--sd-blue) !important;
}

.search-whisperer-documents.text-center .whisperer-trigger::after {
  content: "→";
}

/* Mobil: pole a tlačítko v okně vyhledávání */
@media (max-width: 767px) {
  .search .search-form .search-input {
    height: 48px !important;
    border: 1.5px solid #c3d4e0 !important;
    border-radius: 12px 0 0 12px !important;
    font-size: 16px !important;
    outline: 0 !important;
  }

  .search .search-form .search-input:focus {
    border-color: var(--sd-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 136, 191, 0.15) !important;
  }

  .search .search-form .btn {
    height: 48px !important;
    border-radius: 0 12px 12px 0 !important;
    background: var(--sd-navy) !important;
    border-color: var(--sd-navy) !important;
  }

  .search-whisperer {
    max-height: calc(100vh - 140px);
    border-radius: 16px !important;
  }

  .search-whisperer-products li a {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .search-whisperer-products .search-whisperer-image {
    width: 48px !important;
    height: 48px !important;
  }

  .search-whisperer-products .p-name {
    font-size: 13.5px !important;
  }

  .search-whisperer-products .price {
    font-size: 15px !important;
  }
}

/* ---------- Horní lišta: kontakty, odkazy, přihlášení ---------- */
@media (min-width: 768px) {
  .top-navigation-bar {
    border-bottom: 1px solid var(--sd-line) !important;
    background: var(--sd-ice-2) !important;
  }

  .top-navigation-bar .container {
    align-items: center;
    min-height: 40px;
  }

  .top-navigation-contacts {
    display: flex !important;
    align-items: center;
    gap: 18px;
    background: transparent !important;
  }

  .top-navigation-contacts a {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
    color: var(--sd-navy) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color var(--sd-t);
  }

  .top-navigation-contacts a:hover {
    color: var(--sd-blue) !important;
  }

  /* Ikony šablony (tenká šedá kresba z ikonového fontu) → vlastní ikony v bílém kolečku */
  .top-navigation-contacts a::before {
    content: "" !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    border-radius: 50%;
    background: #fff no-repeat 50% 50% / 14px 14px;
    box-shadow: inset 0 0 0 1px var(--sd-line);
  }

  .top-navigation-contacts .project-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088bf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E");
  }

  .top-navigation-contacts .project-email::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088bf' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
  }

  /* Odkazy: bez svislých čar, malými písmeny (JS převede VERZÁLKY na větu) */
  .top-navigation-menu {
    background: transparent !important;
  }

  .top-navigation-bar-menu,
  .top-navigation-bar-menu-helper {
    text-transform: none !important;
  }

  .top-navigation-bar-menu li + li::before {
    display: none !important;
  }

  .top-navigation-bar-menu li a,
  .top-navigation-bar-menu-helper li a {
    padding: 0 11px !important;
    color: var(--sd-muted) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color var(--sd-t);
  }

  .top-navigation-bar-menu li a:hover,
  .top-navigation-bar-menu-helper li a:hover {
    color: var(--sd-navy) !important;
  }

  .top-navigation-bar-menu-helper {
    overflow: hidden;
    padding: 6px 0 !important;
    border: 1px solid var(--sd-line) !important;
    border-radius: 12px;
    box-shadow: var(--sd-shadow) !important;
  }

  .top-navigation-bar-menu-helper li a {
    display: block;
    padding: 7px 16px !important;
  }

  .top-navigation-menu-trigger::before {
    color: var(--sd-muted) !important;
  }

  .top-nav-button-login {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 4px 14px 4px 10px !important;
    border: 1px solid var(--sd-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--sd-navy) !important;
    font-size: 13px;
    font-weight: 700;
    transition: border-color var(--sd-t), color var(--sd-t);
  }

  .top-nav-button-login::before {
    content: "";
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088bf' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E") no-repeat 50% 50% / contain;
  }

  .top-nav-button-login:hover {
    border-color: var(--sd-blue) !important;
    color: var(--sd-blue) !important;
  }
}

/* ---------- Karty produktů ---------- */
.products-block {
  border: 0 !important;
}

.products-block .product {
  border: 0 !important;
}

/* Mezery mezi kartami: šablona dává 10px kolem karty, s okrajem karty to dělalo 32px díry */
.products-block > .product,
#products > .product {
  padding: 7px !important;
}

.products-block .product .p,
.products .product .p {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 10px 10px 14px !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 16px !important;
  background: #fff;
  box-shadow: none;
  transition: box-shadow var(--sd-t), transform var(--sd-t), border-color var(--sd-t) !important;
}

.products .product .p:hover {
  border-color: #c6dbe8 !important;
  box-shadow: var(--sd-shadow) !important;
  transform: translateY(-3px);
}

/* Fotka na světlé dlaždici: packshoty jsou úzké (lyže, boty), prázdné místo kolem pak působí záměrně.
   Bílé i šedé pozadí packshotů se přes multiply srovná do barvy dlaždice. */
.products .product .p .image {
  overflow: hidden;
  margin: 0 0 12px !important;
  border-radius: 12px;
  background: var(--sd-tile);
}

.products .product .p .image img {
  border-radius: 0 !important;
  mix-blend-mode: multiply;
  transition: transform 0.35s ease;
}

.products .product .p:hover .image img {
  transform: scale(1.04);
}

.products .product .p-in {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 4px;
}

.products .product .p-in-in {
  flex: 1;
}

/* Šablona na mobilu ořezává na 3 řádky přes flow-root; držíme 2 řádky všude */
.products .product .name {
  display: -webkit-box !important;
  overflow: hidden;
  height: auto !important;
  max-height: none !important;
  min-height: 2.7em;
  -webkit-line-clamp: 2 !important;
  margin: 0 0 6px !important;
  color: var(--sd-navy) !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#content-wrapper .products .product .name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
}

.products .product .name span {
  font-family: var(--sd-font) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.products .product .ratings-wrapper {
  display: flex !important;
  justify-content: flex-start !important;
  margin: 0 0 10px !important;
}

/* Spodek karty: cena nahoře, tlačítko přes celou šířku (dřív malé „DETAIL" vedle ceny) */
.products .product .p-bottom > div {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.products .product .p-bottom .prices {
  float: none !important;
  width: auto !important;
  text-align: left !important;
}

.products .product .p-tools {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
}

.products .product .p-tools form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.products .product .p-tools .btn {
  display: flex !important;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin: 0 !important;
  font-size: 15px !important;
}

.products .product .name:hover {
  color: var(--sd-blue) !important;
}

.products .product .availability,
.products .product .availability span {
  font-size: 13px;
  font-weight: 600;
}

.products .product .availability {
  float: none !important;
  margin: 0 !important;
  text-align: left !important;
}

.products .product .availability span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 6px 1px 0;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.products .product .price-final,
.products .product .price-final strong {
  color: var(--sd-navy) !important;
  font-weight: 800 !important;
}

.products .product .price-final strong {
  font-size: 23px;
  letter-spacing: -0.01em;
}

.products .product .price-standard,
.products .product .price-standard span {
  color: var(--sd-muted);
}

.products .product .p-tools .btn,
.products .product .p-bottom .btn {
  border-radius: var(--sd-r-sm) !important;
  font-weight: 700 !important;
}

/* „Detail" (produkt s variantami) jako plné tmavé tlačítko se šipkou; „Do košíku" zůstává růžové */
.products .product .p-tools .btn.btn-primary,
.products .product .p-bottom .btn.btn-primary {
  border: 0 !important;
  background: var(--sd-navy) !important;
  color: #fff !important;
}

.products .product .p-tools .btn.btn-primary::after {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--sd-t);
}

.products .product .p:hover .p-tools .btn.btn-primary,
.products .product .p-tools .btn.btn-primary:hover {
  background: var(--sd-blue) !important;
}

.products .product .p:hover .p-tools .btn.btn-primary::after {
  transform: translateX(3px);
}

/* Nejprodávanější nad výpisem: vodorovné mini karty stejné výšky (fotka vlevo, text vpravo) */
.products-top-wrapper {
  margin-bottom: 8px;
}

.products-top {
  gap: 12px;
}

.products-top > .product {
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}

@media (min-width: 768px) {
  .products-top > .product {
    flex: 1 1 0 !important;
  }
}

.products-top .product .p {
  display: grid !important;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  height: 100% !important;
  padding: 10px 14px 10px 10px !important;
  border-radius: 14px !important;
}

.products-top .product .p .image {
  width: 76px !important;
  height: 76px !important;
  margin: 0 !important;
  border-radius: 10px;
}

.products-top .product .p .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.products-top .product .p-in {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
}

.products-top .product .name {
  min-height: 0;
  margin-bottom: 2px !important;
  font-size: 13.5px !important;
}

.products-top .product .ratings-wrapper {
  margin: 0 0 2px !important;
}

.products-top .product .availability,
.products-top .product .availability span {
  font-size: 12px;
}

.products-top .product .price-final strong {
  font-size: 18px;
}

.products-top .product .price-standard-wrapper-placeholder {
  display: none !important;
}

.products-top-wrapper .show-more-products,
.products-top-wrapper [class*="more"] a {
  font-weight: 700;
}

/* Štítky jako pilulky */
.flag {
  padding: 3px 9px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}

/* Doprava zdarma: místo velkého zeleného kolečka (na mobilu pruhu) pilulka s dodávkou v rohu fotky */
.products .product .flags-extra {
  top: auto !important;
  right: 8px !important;
  bottom: 8px !important;
  left: auto !important;
  width: auto !important;
}

.products .product .flag-freeshipping {
  flex: none !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 5px;
  width: auto !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 10px 0 8px !important;
  border-radius: 999px !important;
  background: var(--sd-green) !important;
  box-shadow: 0 4px 10px -4px rgba(47, 138, 18, 0.6);
}

.products .product .flag-freeshipping .icon-van {
  width: auto !important;
  height: 16px !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 16px !important;
}

.products .product .flag-freeshipping .icon-van::before {
  font-size: 16px !important;
}

.products .product .flag-freeshipping .flag-text {
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em;
}

/* ---------- Drobečková navigace ----------
   Šablona kreslí šipkové segmenty pseudoprvky odkazů a domeček jako .breadcrumbs::before.
   Nahrazeno domečkem v kolečku a jemnými šipkami; názvy kategorií jsou v adminu verzálkami,
   proto celá cesta drobnými verzálkami (jako hlavní menu), ať se nemíchají s malými.
   Poslední položka (aktuální stránka) se neukazuje – je to nadpis hned pod drobečky. */
.breadcrumbs-wrapper {
  padding-top: 12px;
  padding-bottom: 0;
}

.breadcrumbs > span:last-child:not(:first-child) {
  display: none !important;
}

/* Jen „Domů > stránka": samotný domeček nedává smysl, místo ale zůstává kvůli stejnému odstupu pod hlavičkou */
.breadcrumbs-wrapper:not(:has(.breadcrumbs > span:nth-child(3))) .breadcrumbs {
  visibility: hidden;
}

.breadcrumbs {
  align-items: center;
  gap: 2px;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  background: none !important;
  font-family: var(--sd-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.breadcrumbs::before,
.breadcrumbs a::before,
.breadcrumbs a::after {
  content: none !important;
}

.breadcrumbs > span {
  display: flex;
  align-items: center;
  flex: none;
  min-width: 0;
  height: auto;
  padding: 0;
}

.breadcrumbs > span + span::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin: 0 1px;
  background: #a9bccb;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: auto;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--sd-muted);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  background: var(--sd-ice);
  color: var(--sd-blue);
}

.breadcrumbs .navigation-home-icon {
  display: flex !important;
  justify-content: center;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  background: var(--sd-ice);
  color: var(--sd-navy);
}

.breadcrumbs .navigation-home-icon:hover,
.breadcrumbs .navigation-home-icon:focus-visible {
  background: var(--sd-navy);
  color: #fff;
}

.breadcrumbs a.navigation-home-icon::before {
  content: "" !important;
  display: block;
  flex: none;
  position: static;
  width: 14px;
  height: 14px;
  border: 0;
  background: currentColor;
  transform: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V20a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V9.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Mobil: šablona drobečky skrývá. Ukázat jako jeden posuvný řádek; JS ho posune na konec,
   ať je vidět nejbližší rodič. */
@media (max-width: 767px) {
  .breadcrumbs-wrapper {
    padding: 10px 0 0;
  }

  .breadcrumbs {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 16px;
    font-size: 12px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px);
  }

  .breadcrumbs::-webkit-scrollbar {
    display: none;
  }

  .breadcrumbs-wrapper:not(:has(.breadcrumbs > span:nth-child(3))) {
    display: none;
  }

  body:not(.type-index):not(:has(.breadcrumbs > span:nth-child(3))) #content-wrapper {
    padding-top: 18px;
  }

  .breadcrumbs a {
    padding: 9px 8px;
    white-space: nowrap;
  }

  .breadcrumbs .navigation-home-icon {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ---------- Výpis kategorie ---------- */
.subcategories.with-image li a,
.subcategories li a {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 40px 10px 10px !important;
  border: 2px solid transparent !important;
  border-radius: var(--sd-r-lg) !important;
  background: var(--sd-ice) !important;
  color: var(--sd-navy) !important;
  font-weight: 700 !important;
  transition: border-color var(--sd-t), box-shadow var(--sd-t), transform var(--sd-t), background-color var(--sd-t) !important;
}

.subcategories li a::before {
  display: none !important;
}

.subcategories li a::after {
  content: "" !important;
  position: absolute;
  top: 50% !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  border: 0 !important;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%230088bf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") no-repeat 50% 50%;
  transition: background-color var(--sd-t);
}

.subcategories li a {
  position: relative;
}

.subcategories li a:hover {
  border-color: var(--sd-blue) !important;
  background: #fff !important;
  box-shadow: var(--sd-shadow) !important;
  transform: translateY(-2px);
}

.subcategories li a .image {
  display: flex !important;
  flex: 0 0 72px;
  align-items: center;
  justify-content: center;
  width: 72px !important;
  height: 52px !important;
  margin: 0 !important;
}

/* Bílé pozadí fotek kategorií se přes multiply ztratí v ledově modré dlaždici */
.subcategories li a .image img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.subcategories li a .text {
  overflow: visible !important;
  max-height: none !important;
  padding: 0 !important;
  color: inherit !important;
  line-height: 1.25;
  text-overflow: clip !important;
  hyphens: auto;
}

/* Řazení jako pilulky */
.category-header {
  border-radius: var(--sd-r);
  background: var(--sd-ice-2) !important;
}

.listSorting__control {
  border-radius: 999px !important;
  font-weight: 600;
}

.listSorting__control--current {
  background: var(--sd-navy) !important;
  color: #fff !important;
}

/* ---------- Levý panel kategorie: filtry a Top 10 ---------- */
/* Šablona: šedý pruh přes celou výšku stránky, boxy oddělené čárou. Teď bílý panel a boxy jako karty. */
.sidebar-left {
  background: #fff !important;
}

.sidebar-left .sidebar-inner {
  padding: 20px 20px 20px 0 !important;
}

.sidebar .box {
  margin: 0 0 16px !important;
  padding: 18px 18px 16px !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 16px;
  background: #fff !important;
}

.sidebar .box::after,
.sidebar .box::before {
  display: none !important;
}

/* Loga karet nic nefiltrují a platby jsou vidět v košíku */
.sidebar .box-onlinePayments {
  display: none !important;
}

.sidebar .pageElement__heading,
#filters h4 {
  margin: 0 0 14px !important;
  color: var(--sd-navy) !important;
  font-family: var(--sd-font-head) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  letter-spacing: 0;
  text-transform: none !important;
}

#filters .slider-header {
  color: var(--sd-navy);
  font-weight: 700;
}

#filters .ui-slider {
  height: 4px;
  border: 0 !important;
  border-radius: 4px;
  background: var(--sd-line) !important;
}

#filters .ui-slider-range {
  background: var(--sd-blue) !important;
}

#filters .ui-slider-handle {
  top: -8px !important;
  width: 20px !important;
  height: 20px !important;
  border: 3px solid var(--sd-blue) !important;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: 0 2px 6px rgba(11, 37, 64, 0.2);
  cursor: grab;
}

#filters .filter-section {
  border-color: var(--sd-line) !important;
}

#filters .param-filter-top {
  padding: 0 !important;
  background: transparent !important;
}

#filters .filter-label {
  color: var(--sd-text) !important;
  font-weight: 500;
  transition: color var(--sd-t);
}

#filters .filter-label:hover {
  color: var(--sd-navy) !important;
}

#filters .filter-label::before {
  width: 18px !important;
  height: 18px !important;
  border: 1.5px solid #b7c8d6 !important;
  border-radius: 5px !important;
  transition: border-color var(--sd-t), background-color var(--sd-t);
}

#filters .filter-label:hover::before,
#filters input:checked + .filter-label::before {
  border-color: var(--sd-blue) !important;
}

#filters .filter-label.disabled {
  opacity: 0.45;
}

#filters .filter-count {
  padding: 2px 8px !important;
  border-radius: 999px;
  background: var(--sd-ice) !important;
  color: var(--sd-muted) !important;
  font-size: 12px !important;
  font-weight: 700;
}

#filters .toggle-filters {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--sd-blue) !important;
  font-weight: 700;
  text-transform: none !important;
}

/* Top 10: číslo, fotka na dlaždici, název na dva řádky */
.sidebar .top-products {
  margin: 0;
  padding: 0;
}

.sidebar .top-products li {
  align-items: center;
  gap: 10px;
  margin: 0 -8px 2px !important;
  padding: 6px 8px;
  border-radius: 12px;
  transition: background-color var(--sd-t);
}

.sidebar .top-products li:hover {
  background: var(--sd-ice-2);
}

.sidebar .top-products li::before {
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  border-radius: 7px;
  background: var(--sd-navy) !important;
  font-family: var(--sd-font-head);
  font-weight: 700;
  line-height: 22px !important;
}

.sidebar .top-products .top-products-image {
  flex: 0 0 52px;
  overflow: hidden;
  width: 52px;
  height: 52px;
  margin: 0 !important;
  border-radius: 10px;
  background: var(--sd-tile);
}

.sidebar .top-products .top-products-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sidebar .top-products-content {
  min-width: 0;
  padding: 0 !important;
  color: var(--sd-navy) !important;
  text-decoration: none !important;
}

.sidebar .top-products-name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sidebar .top-products-content strong {
  display: block;
  margin-top: 2px;
  font-family: var(--sd-font-head);
  font-size: 15px;
  font-weight: 800;
}

/* ---------- Detail produktu ---------- */
.p-detail .p-image,
.p-detail .p-image img,
.p-thumbnails a,
.p-thumbnails img {
  border-radius: var(--sd-r) !important;
}

.p-detail .p-image {
  overflow: hidden;
}

/* Lišta náhledů je vysoká 100 px: rámeček musí být uvnitř (obrázek 100 + 2×2 px se dole ořezával)
   a šedý rámeček obrázku pod naším modrým dělal zdvojenou čáru */
.p-thumbnails a {
  overflow: hidden;
  border: 2px solid transparent !important;
}

.p-thumbnails a.p-thumbnail {
  width: 100px !important;
  height: 100px !important;
}

.p-thumbnails a.p-thumbnail img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  border-radius: calc(var(--sd-r) - 2px) !important;
  object-fit: contain;
}

.p-thumbnails a.highlighted,
.p-thumbnails a:hover {
  border-color: var(--sd-blue) !important;
}

/* Nákupní box */
.p-detail .p-info-wrapper .p-final-price-wrapper .price-final,
.p-detail .price-final-holder {
  color: var(--sd-navy) !important;
  font-weight: 800 !important;
}

.p-detail .add-to-cart {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.p-detail .add-to-cart .quantity {
  overflow: hidden;
  border-radius: var(--sd-r) !important;
}

.p-detail .add-to-cart .quantity input,
.p-detail .add-to-cart .quantity button {
  border-radius: 0 !important;
}

.p-detail .add-to-cart .add-to-cart-button {
  margin: 0 !important;
}

/* Cofidis na vlastní řádek pod tlačítko; logo se roztahuje na šířku odkazu, proto pevná šířka obrázku */
.p-detail .add-to-cart .pp_cofidis {
  flex: 0 0 100%;
}

.p-detail .add-to-cart .pp_cofidis img {
  width: 150px !important;
  max-width: 100%;
  height: auto !important;
}

.p-detail .variant-list select,
.p-detail .hidden-split-parameter select,
.p-detail select {
  border-radius: var(--sd-r) !important;
}

/* Tooltip Cofidis „Vyzkoušet kalkulaci splátek" zakrýval tlačítko košíku – JS ho odebere, CSS je pojistka */
body.type-detail > .tooltip.sd-cofidis-tooltip {
  display: none !important;
}

/* Prázdné hodnocení „Neohodnoceno" pryč */
.p-detail-info .stars-wrapper:not(:has(.star-on)) {
  display: none !important;
}

/* Upsell box pod košíkem */
.up-container {
  overflow: hidden;
  border: 1px solid var(--sd-line) !important;
  border-radius: var(--sd-r-lg) !important;
  box-shadow: var(--sd-shadow-sm) !important;
}

.up-container .up-products-header {
  color: var(--sd-navy) !important;
  font-weight: 800 !important;
}

.up-container .up-product-name a {
  color: var(--sd-navy) !important;
  font-weight: 600;
}

.up-container .up-product-add-to-cart a {
  border-radius: var(--sd-r-sm) !important;
  font-weight: 700;
  transition: background-color var(--sd-t), color var(--sd-t);
}

.up-container .up-product-add-to-cart a:hover {
  background: var(--sd-pink) !important;
  color: #fff !important;
}

.up-container .up-quantity {
  overflow: hidden;
  border-radius: var(--sd-r-sm);
}

/* Název a značka */
.p-detail-inner-header h1 {
  font-size: clamp(26px, 2.3vw, 34px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em;
}

/* Galerie na světlé dlaždici jako karty ve výpisu */
.p-detail .p-image {
  border-radius: 20px !important;
  background: var(--sd-tile);
}

.p-detail .p-image img {
  border-radius: 0 !important;
  mix-blend-mode: multiply;
}

.p-thumbnails a {
  background: var(--sd-tile);
}

.p-thumbnails img {
  mix-blend-mode: multiply;
}

/* Doprava zdarma na fotce: místo šedého kola zelený štítek jako na kartách */
.p-detail .p-image .flags-extra {
  top: 16px !important;
  right: auto !important;
  bottom: auto !important;
  left: 16px !important;
  width: auto !important;
}

.p-detail .p-image .flag-freeshipping:not(.no-display) {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  flex: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 30px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 12px 0 10px !important;
  border-radius: 999px !important;
  background: var(--sd-green) !important;
  box-shadow: 0 4px 12px -4px rgba(47, 138, 18, 0.6);
}

.p-detail .p-image .flag-freeshipping .icon-van,
.p-detail .p-image .flag-freeshipping .icon-van::before {
  width: auto !important;
  height: 18px !important;
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 18px !important;
}

.p-detail .p-image .flag-freeshipping .flag-text {
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: 0.04em;
}

/* Nákupní karta: JS obalí cenu, dostupnost, variantu a košík do .sd-buybox */
.sd-buybox {
  margin: 0 0 18px;
  padding: 22px 24px;
  border: 1px solid var(--sd-line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--sd-ice-2) 0%, #fff 100%);
}

.sd-buybox .p-final-price-wrapper {
  margin: 0 0 6px !important;
}

.sd-buybox .price-final-holder {
  font-size: 38px !important;
  letter-spacing: -0.01em;
}

.sd-buybox .choose-variant.default-variant,
.sd-buybox .price-final .choose-variant {
  color: var(--sd-muted);
  font-family: var(--sd-font) !important;
  font-size: 15px;
  font-weight: 600;
}

.sd-buybox .availability-value {
  font-size: 15px;
  font-weight: 700;
}

.sd-buybox .detail-parameters {
  width: 100%;
  margin: 10px 0 4px !important;
}

.sd-buybox .detail-parameters th {
  width: 1%;
  padding-right: 14px !important;
  color: var(--sd-muted);
  font-weight: 600;
  white-space: nowrap;
}

.sd-buybox .detail-parameters select {
  width: 100% !important;
  max-width: none !important;
  height: 48px !important;
  border: 1.5px solid #c3d4e0 !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  color: var(--sd-navy) !important;
  font-size: 15px !important;
  font-weight: 700;
}

.sd-buybox .detail-parameters select:focus {
  border-color: var(--sd-blue) !important;
  box-shadow: 0 0 0 4px rgba(0, 136, 191, 0.15);
}

.sd-buybox .delivery-time-label,
.sd-buybox .delivery-time {
  font-size: 13px;
}

.sd-buybox .add-to-cart {
  margin-top: 14px !important;
}

.sd-buybox .add-to-cart .quantity {
  height: 54px;
  border: 1.5px solid #c3d4e0 !important;
  background: #fff;
}

.sd-buybox .add-to-cart .quantity input {
  border: 0 !important;
  font-weight: 700;
}

.sd-buybox .add-to-cart .add-to-cart-button {
  flex: 1 1 220px;
  justify-content: center;
  min-height: 54px;
  border-radius: 12px !important;
  font-family: var(--sd-font-head) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

/* Výhody pod tlačítkem (JS, texty z infopruhu a kontaktů) */
.sd-buybox__usp {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed #c9d9e4;
  list-style: none;
}

.sd-buybox__usp li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sd-text);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.sd-buybox__usp svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--sd-blue);
}

.sd-buybox__usp a {
  color: var(--sd-navy) !important;
  font-weight: 700;
}

.p-detail .p-short-description {
  color: var(--sd-text);
  font-size: 15px;
  line-height: 1.65;
}

/* Tisk / Zeptat se / Hlídat / Sdílet: pilulky s jednotnými ikonami místo šedých obrázků nad textem */
.p-detail .link-icons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0 !important;
}

.p-detail .link-icon {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 8px 14px 8px 12px !important;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sd-navy) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: none !important;
  transition: border-color var(--sd-t), background-color var(--sd-t);
}

.p-detail .link-icon span {
  text-transform: none !important;
}

.p-detail .link-icon:hover {
  border-color: var(--sd-blue);
  background: var(--sd-ice-2);
}

.p-detail .link-icon::before {
  content: "" !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  background: var(--sd-blue);
  -webkit-mask: var(--sd-icon) center / contain no-repeat;
  mask: var(--sd-icon) center / contain no-repeat;
}

.p-detail .link-icon.print {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='7'/%3E%3C/svg%3E");
}

.p-detail .link-icon.chat {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3C/svg%3E");
}

.p-detail .link-icon.watchdog {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9M10.3 21a1.9 1.9 0 0 0 3.4 0'/%3E%3C/svg%3E");
}

.p-detail .link-icon.share {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E");
}

/* Záložky popisu jako pilulky */
.p-detail-tabs-wrapper .shp-tabs-holder,
.p-detail-tabs-wrapper .shp-tabs-row {
  border: 0 !important;
  background: transparent !important;
}

.p-detail-tabs-wrapper .shp-tabs {
  display: inline-flex !important;
  gap: 4px;
  padding: 5px !important;
  border: 0 !important;
  border-radius: 999px;
  background: var(--sd-ice-2) !important;
}

.p-detail-tabs-wrapper .shp-tabs .shp-tab {
  border: 0 !important;
  background: transparent !important;
}

.p-detail-tabs-wrapper .shp-tabs .shp-tab-link {
  padding: 9px 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--sd-muted) !important;
  font-size: 15px;
  font-weight: 700;
}

.p-detail-tabs-wrapper .shp-tabs .shp-tab.active .shp-tab-link {
  background: var(--sd-navy) !important;
  color: #fff !important;
}

/* Popis: čitelný sloupec, nadpisy v Barlow, odrážky v barvě značky */
.p-detail-tabs-wrapper .tab-content {
  padding-top: 24px !important;
  border: 0 !important;
}

.p-detail-tabs-wrapper .basic-description {
  color: var(--sd-text);
  font-size: 15px;
  line-height: 1.7;
}

.p-detail-tabs-wrapper .basic-description > h3,
.p-detail-tabs-wrapper .extended-description > h3 {
  margin: 0 0 16px !important;
  color: var(--sd-navy) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

.p-detail-tabs-wrapper .product-description h2,
.p-detail-tabs-wrapper .product-description h3,
.p-detail-tabs-wrapper .product-description h4 {
  margin: 28px 0 12px !important;
  color: var(--sd-navy) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.p-detail-tabs-wrapper .basic-description p,
.p-detail-tabs-wrapper .basic-description ul,
.p-detail-tabs-wrapper .basic-description ol {
  max-width: 76ch;
}

.p-detail-tabs-wrapper .basic-description ul {
  padding-left: 0 !important;
  list-style: none;
}

.p-detail-tabs-wrapper .basic-description ul li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 28px;
}

.p-detail-tabs-wrapper .basic-description ul li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sd-ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088bf' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") no-repeat 50% 50% / 10px;
}

.p-detail-tabs-wrapper .basic-description strong {
  color: var(--sd-navy);
}

/* Doplňkové parametry jako karta s řádky */
.p-detail-tabs-wrapper .extended-description {
  padding: 22px 24px !important;
  border: 1px solid var(--sd-line);
  border-radius: 18px;
  background: var(--sd-ice-2);
}

.p-detail-tabs-wrapper .extended-description .detail-parameters {
  width: 100%;
}

.p-detail-tabs-wrapper .extended-description .detail-parameters tr + tr th,
.p-detail-tabs-wrapper .extended-description .detail-parameters tr + tr td {
  border-top: 1px solid var(--sd-line) !important;
}

.p-detail-tabs-wrapper .extended-description .detail-parameters th,
.p-detail-tabs-wrapper .extended-description .detail-parameters td {
  padding: 10px 0 !important;
  font-size: 14px;
  vertical-align: top;
}

.p-detail-tabs-wrapper .extended-description .detail-parameters th {
  padding-right: 16px !important;
  color: var(--sd-muted);
  font-weight: 500;
}

.p-detail-tabs-wrapper .extended-description .detail-parameters td {
  color: var(--sd-navy);
  font-weight: 700;
}

.p-detail-tabs-wrapper .extended-description .row-header-label-colon {
  display: none;
}

/* D1: detail bez levého panelu (platby + TOP 10) – produkt dostane celou šířku */
@media (min-width: 768px) {
  body.type-detail .sidebar-left {
    display: none !important;
  }

  body.type-detail #content.narrow {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* ---------- Homepage ---------- */
/* Šablona dává blokům HP šedé pozadí s čarou nahoře i dole (i čára pod menu) – chceme čistě bílou */
.homepage-box {
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: #fff !important;
}

/* Hamburger na konci menu: v barvě lišty a se zaoblením jako zbytek lišty */
@media (min-width: 768px) {
  #header .menu-helper::after {
    border-radius: 0 var(--sd-r) var(--sd-r) 0;
    background-color: var(--sd-blue) !important;
    transition: background-color var(--sd-t);
  }

  #header .menu-helper:hover::after {
    background-color: var(--sd-blue-dark) !important;
  }
}

/* Uvítací text „Jsme SKI & BIKE speciálka" – JS ho přeskládá do panelu a dvou karet (.sd-welcome) */
.welcome-wrapper .welcome.sd-welcome {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Clearfix šablony (::before/::after) by v mřížce zabral první buňku */
.welcome-wrapper .welcome.sd-welcome::before,
.welcome-wrapper .welcome.sd-welcome::after {
  display: none !important;
}

.sd-welcome__intro {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 34px;
  border-radius: 18px;
  background: radial-gradient(120% 90% at 100% 0%, #13406b 0%, var(--sd-navy) 60%);
  color: #dbe7f1;
}

/* Hřebeny hor v rohu panelu (dekorace) */
.sd-welcome__intro::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -6px;
  width: 260px;
  height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 90'%3E%3Cpath d='M0 90 70 30l30 22 45-44 50 40 25-16 40 58z' fill='%23ffffff' fill-opacity='.06'/%3E%3Cpath d='m145 8-14 14 9-2 5 6 6-5 8 3z' fill='%23ffffff' fill-opacity='.14'/%3E%3C/svg%3E") no-repeat right bottom / contain;
  pointer-events: none;
}

.sd-welcome__intro .h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(26px, 2.4vw, 34px) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

.sd-welcome__intro p {
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.6;
}

.sd-welcome__intro strong {
  color: #fff;
}

.sd-welcome__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.sd-welcome__facts li {
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.sd-welcome__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sd-welcome__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 28px;
  border-radius: 18px;
  background: var(--sd-ice);
  color: var(--sd-muted);
}

.sd-welcome__card p {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.65;
}

.sd-welcome__card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  color: var(--sd-blue);
}

.sd-welcome__card-icon svg {
  width: 26px;
  height: 26px;
}

.sd-welcome__card-title {
  margin: 0 !important;
  color: var(--sd-navy) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

.sd-welcome a {
  color: var(--sd-navy) !important;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--sd-blue);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.sd-welcome a:hover {
  color: var(--sd-blue) !important;
}

@media (max-width: 991px) {
  .welcome-wrapper .welcome.sd-welcome {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  .sd-welcome__cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sd-welcome__intro,
  .sd-welcome__card {
    padding: 24px 20px;
    border-radius: 14px;
  }
}

#carousel .carousel-inner,
.next-to-carousel-banners .banner-wrapper,
.footer-banners .footer-banner > a {
  overflow: hidden;
  border-radius: var(--sd-r-lg);
}

#carousel .carousel-control {
  opacity: 0;
  transition: opacity var(--sd-t);
}

#carousel:hover .carousel-control {
  opacity: 1;
}

/* C2: letní banner 2022 a „Poslední komentáře" pryč */
.middle-banners-wrapper,
.latest-contribution-wrapper {
  display: none !important;
}

/* C1: staré patičkové bannery 2020 → pruh „Proč nakoupit u nás" (JS vloží .sd-why) */
body.sd-why-ready .footer-banners {
  display: none !important;
}

.sd-why {
  margin: 48px 0 8px;
}

.sd-why__title {
  margin: 0 0 22px;
  color: var(--sd-navy);
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}

.sd-why__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 4px;
  background: var(--sd-blue);
}

.sd-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-why__item a,
.sd-why__item > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 22px 20px;
  border: 2px solid transparent;
  border-radius: var(--sd-r-lg);
  background: var(--sd-ice);
  color: var(--sd-navy) !important;
  text-decoration: none !important;
  transition: border-color var(--sd-t), box-shadow var(--sd-t), transform var(--sd-t), background-color var(--sd-t);
}

.sd-why__item a:hover {
  border-color: var(--sd-blue);
  background: #fff;
  box-shadow: var(--sd-shadow);
  transform: translateY(-2px);
}

.sd-why__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--sd-navy);
  color: #fff;
}

.sd-why__icon svg {
  width: 22px;
  height: 22px;
}

.sd-why__name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.sd-why__text {
  color: var(--sd-muted);
  font-size: 14px;
  line-height: 1.45;
}

.sd-why__more {
  margin-top: auto;
  padding-top: 6px;
  color: var(--sd-blue);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .sd-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .sd-why__grid {
    gap: 10px;
  }

  .sd-why__item a,
  .sd-why__item > div {
    padding: 16px 14px;
  }

  .sd-why__name {
    font-size: 15px;
  }

  .sd-why__text {
    font-size: 13px;
  }
}

/* ---------- Patička: tmavá v barvě menu a uvítacího panelu ---------- */
#footer {
  margin-top: 64px;
  border-top: 0 !important;
  background: var(--sd-navy) radial-gradient(120% 140% at 100% 0%, #133b63 0%, rgba(11, 37, 64, 0) 55%) !important;
  color: #b9cadb;
}

#footer .footer-rows,
#footer .footer-bottom {
  border: 0 !important;
  background: transparent !important;
}

#footer .custom-footer {
  padding-top: 64px !important;
  padding-bottom: 40px !important;
  border: 0 !important;
}

/* Logo je PNG s bílým pozadím – dostane bílou zaoblenou plochu, ať nepůsobí jako nalepené */
#footer .site-name {
  top: 64px !important;
}

#footer .site-name a {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
}

#footer .site-name img {
  width: 170px;
  max-width: none;
  height: auto;
}

#footer .pageElement__heading {
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase !important;
}

#footer a {
  color: #d6e2ee !important;
  text-decoration: none !important;
  transition: color var(--sd-t);
}

#footer a:hover {
  color: #fff !important;
}

#footer .news-item-widget {
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
}

#footer .newsItemWidget__heading {
  margin: 0 !important;
  font-family: var(--sd-font) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

#footer .newsItemWidget__heading a:hover {
  text-decoration: underline !important;
  text-decoration-color: var(--sd-blue) !important;
  text-underline-offset: 4px;
}

#footer .custom-footer__section2 > .btn {
  margin-top: 8px;
  padding: 6px 16px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 13px !important;
}

#footer .custom-footer__section2 > .btn:hover {
  border-color: #fff !important;
}

/* Kontakty: ikona šablony v kolečku */
#footer .contact-box ul {
  margin: 0;
  padding: 0;
}

#footer .contact-box li {
  position: relative;
  display: flex !important;
  align-items: center;
  min-height: 36px;
  margin: 0 0 10px;
  padding: 0 0 0 48px !important;
}

#footer .contact-box li > span {
  position: static !important;
  padding: 0 !important;
  font-weight: 600;
}

#footer .contact-box li > span::before {
  top: 50% !important;
  left: 0 !important;
  width: 36px !important;
  height: 36px;
  margin-top: -18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #6fcaf0 !important;
  font-size: 15px !important;
  line-height: 36px !important;
  text-align: center;
}

#footer .contact-box li a::before {
  display: none !important;
}

/* Newsletter jako karta */
#footer .custom-footer__newsletter {
  padding: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

#footer .custom-footer__newsletter p,
#footer .custom-footer__newsletter label,
#footer .custom-footer__newsletter .label {
  color: #b9cadb !important;
}

#footer .subscribe-form .form-control {
  height: 46px;
  border: 0 !important;
  border-radius: var(--sd-r) !important;
  background: #fff !important;
  color: var(--sd-navy) !important;
}

#footer .subscribe-form .box {
  margin: 12px 0 !important;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06) !important;
}

#footer .subscribe-form .box h2 {
  margin: 0 0 10px !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

#footer .subscribe-form .captcha-image img {
  border-radius: 6px;
}

#footer .subscribe-form .consents a {
  color: #fff !important;
  text-decoration: underline !important;
}

#footer .subscribe-form .btn {
  min-height: 46px;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: var(--sd-r) !important;
  background: var(--sd-pink) !important;
  color: #fff !important;
  font-size: 15px !important;
}

#footer .subscribe-form .btn:hover {
  background: var(--sd-pink-dark) !important;
}

#footer .footer-bottom {
  padding-top: 18px !important;
  padding-bottom: 22px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #8fa6bb;
  font-size: 13px;
}

#footer .footer-bottom strong {
  color: #d6e2ee;
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  /* Hlavička: šedé kolečko hamburgeru v barvě značky */
  .toggle-window[data-target="navigation"]::before {
    background-color: var(--sd-navy) !important;
  }

  /* Karty na mobilu menší vnitřní odsazení */
  .products .product .p {
    margin: 4px;
    padding: 8px 8px 10px !important;
    border-radius: var(--sd-r) !important;
  }

  .products .product .price-final strong {
    font-size: 17px;
  }

  .products .product .flags-extra {
    right: 6px !important;
    bottom: 6px !important;
  }

  .products .product .flag-freeshipping {
    gap: 4px;
    height: 22px !important;
    padding: 0 8px 0 7px !important;
  }

  .products .product .flag-freeshipping .icon-van,
  .products .product .flag-freeshipping .icon-van::before {
    height: 13px !important;
    font-size: 13px !important;
    line-height: 13px !important;
  }

  .products .product .flag-freeshipping .flag-text {
    font-size: 10px !important;
  }


  /* Podkategorie: dvě v řadě, kompaktní */
  .subcategories li a {
    min-height: 60px;
    padding: 8px 28px 8px 8px !important;
    gap: 6px;
    font-size: 13px;
  }

  .subcategories li a .image {
    flex-basis: 40px;
    width: 40px !important;
    height: 34px !important;
  }

  .subcategories li a::after {
    right: 6px !important;
    width: 20px;
    height: 20px;
    margin-top: -10px;
  }

  /* Detail: „Přidat do košíku" odlepené od stepperu a přes celou šířku */
  .p-detail .add-to-cart {
    gap: 10px;
  }

  .p-detail .add-to-cart .quantity {
    flex: 0 0 auto;
  }

  .p-detail .add-to-cart .add-to-cart-button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 52px;
  }

  .sd-why {
    margin-top: 32px;
  }

  .sd-why__title {
    font-size: 22px;
  }
}

/* ---------- Plovoucí nákupní lišta na detailu (JS .sd-buybar) ----------
   Ukáže se, když nákupní karta odjede z obrazovky. Desktop nahoře (dole je chat a Leadhub), mobil dole. */
.sd-buybar {
  position: fixed;
  z-index: 1040;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.sd-buybar__in {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1418px;
  margin: 0 auto;
  padding: 10px 20px;
}

.sd-buybar__img {
  flex: 0 0 52px;
  overflow: hidden;
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--sd-tile);
}

.sd-buybar__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sd-buybar__name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  color: var(--sd-navy);
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-buybar__price {
  flex: 0 0 auto;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 24px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sd-buybar__btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 12px;
  background: var(--sd-pink);
  box-shadow: 0 6px 16px -8px rgba(241, 0, 141, 0.7);
  color: #fff;
  font-family: var(--sd-font-head) !important;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--sd-t), transform var(--sd-t);
}

.sd-buybar__btn:hover {
  background: var(--sd-pink-dark);
}

.sd-buybar__btn:active {
  transform: translateY(1px);
}

.sd-buybar__btn:focus-visible {
  outline: 3px solid var(--sd-navy);
  outline-offset: 2px;
}

.sd-buybar__btn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .sd-buybar {
    top: 0;
    border-bottom: 1px solid var(--sd-line);
    box-shadow: 0 10px 30px -18px rgba(11, 37, 64, 0.45);
    transform: translateY(-110%);
  }
}

@media (max-width: 767px) {
  .sd-buybar {
    bottom: 0;
    border-top: 1px solid var(--sd-line);
    box-shadow: 0 -10px 30px -18px rgba(11, 37, 64, 0.45);
    transform: translateY(110%);
  }

  .sd-buybar__in {
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .sd-buybar__img,
  .sd-buybar__name {
    display: none;
  }

  .sd-buybar__price {
    flex: 1 1 auto;
    font-size: 22px;
  }

  .sd-buybar__btn {
    flex: 1 1 auto;
    padding: 0 16px;
  }

  /* Chat a Leadhub nad lištu, ať ji nezakrývají */
  body.sd-buybar-on #smartsupp-widget-container > div {
    bottom: 84px !important;
  }

  body.sd-buybar-on .LEAD_GENERATION,
  body.sd-buybar-on > div:not([class]):not([id]) > div[style*="Arial"] {
    bottom: 84px !important;
  }
}

.sd-buybar.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .sd-buybar {
    transition: none;
  }
}

/* Mobil: nové prvky z tohoto kola */
@media (max-width: 767px) {
  .products-block > .product,
  #products > .product {
    padding: 4px !important;
  }

  .products .product .p {
    border-radius: 14px !important;
  }

  .products .product .p .image {
    margin-bottom: 10px !important;
  }

  .products .product .name {
    font-size: 13.5px !important;
  }

  .products .product .p-tools .btn {
    min-height: 40px;
    font-size: 14px !important;
  }

  .products-top {
    flex-direction: column;
    gap: 8px;
  }

  .sd-buybox {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .sd-buybox .price-final-holder {
    font-size: 32px !important;
  }

  /* „Otevřít filtr" jako tmavé tlačítko s ikonou */
  .filters-unveil-button-wrapper .unveil-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--sd-navy) !important;
    font-size: 15px !important;
  }

  .filters-unveil-button-wrapper .unveil-button::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M3 6h18M6 12h12M10 18h4'/%3E%3C/svg%3E") no-repeat 50% 50% / contain;
  }

  .sidebar-left .sidebar-inner {
    padding: 0 !important;
  }

  #footer .custom-footer {
    padding-top: 40px !important;
  }

  #footer .custom-footer__newsletter {
    padding: 18px !important;
  }
}

/* ---------- Leadhub „Chcete slevu na váš první nákup?" ----------
   Leadhub dává inline left: 150px, růžové pozadí a Arial. Hashované třídy se mění s jeho verzemi,
   stabilní je jen .LEAD_GENERATION a pořadí tří spanů (otázka, ANO, NE). Stejně jako na Pashmii. */
body:has(.siteCookies.js-siteCookies) .LEAD_GENERATION {
  visibility: hidden !important; /* nejdřív cookie lišta, ať se nepřekrývají */
}

.ordering-process .LEAD_GENERATION {
  display: none !important;
}

/* Obrazovky po „ANO" (formulář, poděkování): holý wrapper s inline Arial */
body > div:not([class]):not([id]) > div[style*="Arial"],
.LEAD_GENERATION {
  right: auto !important;
  bottom: 20px !important;
  left: 20px !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(11, 37, 64, 0.22) !important;
  color: var(--sd-navy) !important;
}

.LEAD_GENERATION {
  display: flex !important;
  align-items: center;
  gap: 6px;
  width: min(420px, calc(100vw - 32px)) !important;
  padding: 12px 12px 12px 18px !important;
  font: 700 15px/1.35 "Manrope", sans-serif !important;
  text-align: left !important;
}

.LEAD_GENERATION > span {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  color: inherit !important;
  font: inherit !important;
}

.LEAD_GENERATION > span * {
  color: inherit !important;
  font: inherit !important;
  opacity: 1 !important; /* NE má od Leadhubu průhlednost 0.3 */
}

.LEAD_GENERATION > span:nth-child(1) {
  flex: 1;
}

.LEAD_GENERATION > span:nth-child(2) {
  flex: none;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  background: var(--sd-pink) !important;
  color: #fff !important;
  cursor: pointer;
  transition: background-color var(--sd-t);
}

.LEAD_GENERATION > span:nth-child(2):hover {
  background: var(--sd-pink-dark) !important;
}

.LEAD_GENERATION > span:nth-child(3) {
  flex: none;
  padding: 10px 8px !important;
  color: var(--sd-muted) !important;
  font-weight: 600 !important;
  cursor: pointer;
}

body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) {
  width: min(360px, calc(100vw - 32px)) !important;
  padding: 22px 20px 16px !important;
  font: 400 14px/1.45 "Manrope", sans-serif !important;
}

body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) * {
  font-family: var(--sd-font) !important;
}

/* × zavřít */
body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) > span:first-child {
  top: 12px !important;
  right: 12px !important;
  display: grid !important;
  place-items: center;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  background: var(--sd-ice);
  color: var(--sd-navy) !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) > div:nth-of-type(1),
body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) > div:nth-of-type(1) * {
  padding-right: 30px;
  color: var(--sd-navy) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) input {
  display: block !important;
  width: 100% !important;
  height: 46px !important;
  margin: 8px 0 0 !important;
  padding: 0 16px !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: var(--sd-r) !important;
  background: #fff !important;
  color: var(--sd-navy) !important;
  font-size: 16px !important;
}

body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) input:focus {
  border-color: var(--sd-blue) !important;
  outline: 0;
}

body > div:not([class]):not([id]) > div[style*="Arial"]:not(.LEAD_GENERATION) button {
  display: block !important;
  width: 100% !important;
  min-height: 48px;
  margin: 10px 0 0 !important;
  border: 0 !important;
  border-radius: var(--sd-r) !important;
  background: var(--sd-pink) !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer;
}

@media (max-width: 767px) {
  body > div:not([class]):not([id]) > div[style*="Arial"],
  .LEAD_GENERATION {
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    left: 10px !important;
    width: auto !important;
    transform: none !important;
  }
}

/* ---------- Štítek „Doprava zdarma": šablona ho omezuje na 81 px, obsah pak přetéká do stran ---------- */
.flags .flag-freeshipping,
.flags-extra {
  max-width: none !important;
}

.flags-extra {
  width: auto !important;
}

.flags .flag-freeshipping {
  justify-content: flex-start !important;
  width: max-content !important;
}

/* ---------- Výsledky vyhledávání ---------- */
.type-search #content > h2 {
  margin: 4px 0 18px;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
}

.type-search #content > h2 .highlight {
  color: var(--sd-blue);
  font-weight: inherit;
}

.search-results-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 28px;
}

.search-results-groups:not(:has(.search-results-group)) {
  display: none;
}

.search-results-group {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0 !important;
  padding: 14px 16px 16px;
  border: 1px solid var(--sd-line);
  border-radius: 16px;
  background: var(--sd-ice-2);
}

.search-results-group h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--sd-muted);
  font-family: var(--sd-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-results-group h4::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--sd-blue);
  -webkit-mask: var(--sd-icon) center / contain no-repeat;
  mask: var(--sd-icon) center / contain no-repeat;
}

#search-group-categories {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
}

#search-group-manufacturers {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
}

#search-group-articles {
  --sd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z'/%3E%3Cpath d='M14 3v6h6M8 13h8M8 17h5'/%3E%3C/svg%3E");
}

.search-results-group-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-results-group-list li {
  margin: 0;
  padding: 0;
}

.search-results-group-list li::before {
  content: none !important;
}

.search-results-group-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--sd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sd-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--sd-t), color var(--sd-t);
}

.search-results-group-list a:hover,
.search-results-group-list a:focus-visible {
  border-color: var(--sd-blue);
  color: var(--sd-blue);
}

.type-search .search-products-heading {
  margin: 0 0 6px;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 22px;
  font-weight: 800;
}

@media (max-width: 767px) {
  .search-results-groups {
    gap: 8px;
    margin-bottom: 22px;
  }

  .search-results-group {
    flex-basis: 100%;
    padding: 10px 12px 12px;
    border-radius: 14px;
  }

  .search-results-group h4 {
    margin-bottom: 8px;
    font-size: 12px;
  }

  .search-results-group-list a {
    min-height: 34px;
    padding: 5px 12px;
    font-size: 13px;
  }
}

/* Nic nenalezeno: karta s radou (text doplní JS .sd-search-empty) */
.type-search .search-products-heading[data-testid="searchMsg"] {
  margin: 0;
  padding: 26px 24px 0;
  border: 1px solid var(--sd-line);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--sd-ice-2);
}

.sd-search-empty {
  margin: 0 0 24px;
  padding: 8px 24px 26px;
  border: 1px solid var(--sd-line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: var(--sd-ice-2);
  color: var(--sd-text);
  font-size: 15px;
  line-height: 1.6;
}

.sd-search-empty p {
  margin: 0 0 14px;
}

.sd-search-empty p a {
  color: var(--sd-blue);
  font-weight: 700;
}

.sd-search-empty__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-search-empty__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--sd-navy);
  color: #fff;
  font-family: var(--sd-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.sd-search-empty__links a:hover,
.sd-search-empty__links a:focus-visible {
  background: var(--sd-blue);
  color: #fff;
}

/* ---------- Mobil: hlavička, první banner, uvítací blok, vysouvací menu ---------- */
@media (max-width: 767px) {
  /* Šablona mimo HP rezervuje pod hlavičkou 69 px, hlavička má ale 50 px jako na HP – bílý pruh nad lištou výhod */
  body.ums_mobile_header_v1--on:not(.type-index):not(.ordering-process) .overall-wrapper {
    padding-top: 50px;
  }

  /* První banner HP nemá být přilepený k liště výhod */
  .type-index .systedo-infobar {
    margin-bottom: 12px;
  }

  /* Uvítací blok stejně široký jako bannery a výhody nad ním (šablona přidává 19 + 20 px po stranách) */
  .content-wrapper.homepage-box {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .homepage-box .content-wrapper-in > .container {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  /* Vysouvací menu: tmavá hlavička s křížkem, větší řádky, šipky v kolečku, přihlášení a kontakt dole */
  .navigation-window-visible #header .navigation-in {
    background: #fff;
  }

  /* Hlavička panelu zůstává nahoře při rolování menu (roluje .navigation-in, křížek je mimo něj) */
  .navigation-window-visible #header .navigation-in::before {
    content: "Menu";
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 20px;
    background: var(--sd-navy);
    color: #fff;
    font-family: var(--sd-font-head);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .navigation-window-visible #header .navigation-close {
    top: 12px !important;
    right: 14px !important;
    z-index: 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
  }

  .navigation-window-visible #header .navigation-close::before {
    color: #fff !important;
    font-size: 16px !important;
  }

  #header .menu-level-1 > li {
    border-top: 0 !important;
    border-bottom: 1px solid var(--sd-line) !important;
  }

  #header .menu-level-1 > li > a {
    display: flex !important;
    align-items: center;
    width: auto !important;
    min-height: 56px;
    padding: 0 10px 0 20px !important;
    border: 0 !important;
    color: var(--sd-navy) !important;
    font-family: var(--sd-font-head);
    font-size: 16px !important;
    letter-spacing: 0.02em;
  }

  #header .menu-level-1 > li > a b {
    flex: 1 1 auto;
    font-weight: 700;
  }

  #header .menu-level-1 > li > a .submenu-arrow {
    display: flex !important;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
    border-radius: 50%;
    background: var(--sd-ice);
    color: var(--sd-navy) !important;
    transition: background-color var(--sd-t);
  }

  #header .menu-level-1 > li > a .submenu-arrow::before,
  #header .menu-level-1 > li > a .submenu-arrow::after {
    position: static !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  #header .menu-level-1 > li.exp > a {
    background: var(--sd-ice-2);
  }

  #header .menu-level-1 > li.exp > a .submenu-arrow {
    background: var(--sd-navy);
    color: #fff !important;
  }

  #header .menu-level-1 > li.exp > .menu-level-2 {
    padding: 0 0 10px !important;
    background: var(--sd-ice-2);
  }

  #header .menu-level-2 > li > a:not(.menu-image),
  #header .menu-level-2 > li > div > a {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 0 20px 0 32px !important;
    color: var(--sd-text) !important;
    font-family: var(--sd-font-head);
    font-size: 14px !important;
    font-weight: 600;
    letter-spacing: 0.03em;
  }

  #header .menu-level-2 > li > a:not(.menu-image):hover,
  #header .menu-level-2 > li > div > a:hover {
    color: var(--sd-blue) !important;
  }

  #header .navigationActions {
    margin: 20px 20px 12px !important;
    border: 0 !important;
  }

  #header .navigationActions li {
    border: 0 !important;
  }

  #header .navigationActions a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px !important;
    border: 1px solid var(--sd-line);
    border-radius: 999px;
    color: var(--sd-navy) !important;
    font-family: var(--sd-font-head);
    font-size: 15px !important;
    font-weight: 700;
  }

  /* Kontakt pod menu (JS .sd-nav-contact) */
  .sd-nav-contact {
    margin: 0 20px 28px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--sd-ice);
    color: var(--sd-text);
    font-size: 14px;
  }

  .sd-nav-contact__title {
    margin: 0 0 6px;
    color: var(--sd-navy);
    font-family: var(--sd-font-head);
    font-size: 16px;
    font-weight: 800;
  }

  .sd-nav-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    color: var(--sd-navy) !important;
    font-weight: 700;
    text-decoration: none;
  }

  .sd-nav-contact svg {
    flex: none;
    width: 18px;
    height: 18px;
    color: var(--sd-blue);
  }
}

@media (min-width: 768px) {
  .sd-nav-contact {
    display: none;
  }
}

/* ---------- Košík a objednávka (body.ordering-process) ----------
   Bílé karty se zaoblením na světlém podkladu, krokování jako čísla v kolečkách, řádky zboží
   s fotkou na dlaždici, množství jako pilulka − 1 +, doprava a platba jako volitelné karty.
   Šablona tu píše skoro vše verzálkami – texty jsou v DOM normálně, proto jen text-transform. */
body.ordering-process {
  background: var(--sd-ice-2) !important;
}

body.ordering-process #content * {
  text-transform: none;
}

.ordering-process .cart-content {
  border: 1px solid var(--sd-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px -24px rgba(11, 37, 64, 0.35);
}

.ordering-process .cart-content + .cart-content {
  margin-top: 16px;
}

/* Kroky */
.ordering-process .cart-header {
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid var(--sd-line);
  border-radius: 20px 20px 0 0;
  background: #fff;
}

.ordering-process .cart-header .step {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 60px;
  padding: 0 20px;
  border: 0 !important;
  background: none !important;
  font-family: var(--sd-font-head);
}

.ordering-process .cart-header .step::before,
.ordering-process .cart-header .step::after {
  display: none !important;
}

.ordering-process .cart-header .step > * {
  display: flex;
  align-items: center;
}

.ordering-process .cart-header .step *,
.ordering-process .cart-header .step *::after {
  border-bottom: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.ordering-process #content-wrapper {
  padding-top: 20px;
}

.ordering-process .cart-header .step span {
  display: inline-flex;
  align-items: center;
  color: var(--sd-muted);
  font-size: 15px;
  font-weight: 700;
}

.ordering-process .cart-header .step span::before {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0 10px 0 0;
  border: 0;
  border-radius: 50%;
  background: var(--sd-ice);
  color: var(--sd-muted);
  font-family: var(--sd-font-head);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.ordering-process .cart-header .step.active span {
  color: var(--sd-navy);
}

.ordering-process .cart-header .step.active span::before {
  background: var(--sd-navy);
  color: #fff;
}

.ordering-process .cart-header .step.completed span::before {
  background: var(--sd-blue);
  color: #fff;
}

.ordering-process .cart-header .step.active {
  box-shadow: inset 0 -3px 0 var(--sd-navy);
}

.ordering-process .cart-header a:hover span {
  color: var(--sd-blue);
}

/* Řádky zboží */
.ordering-process .cart-table td {
  padding: 16px 8px;
  border: 0 !important;
  border-bottom: 1px solid var(--sd-line) !important;
  background: none !important;
  vertical-align: middle;
}

.ordering-process .cart-table tr.related td {
  border-bottom: 0 !important;
}

.ordering-process .cart-p-image img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--sd-tile);
  mix-blend-mode: multiply;
}

.ordering-process .cart-table .p-name .main-link {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.ordering-process .main-link-variant {
  margin-top: 3px;
  color: var(--sd-muted);
  font-family: var(--sd-font);
  font-size: 13px;
  font-weight: 500;
}

.ordering-process .show-related {
  color: var(--sd-blue);
  font-size: 13px;
}

.ordering-process .cart-table .price-final {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 17px;
  font-weight: 800;
}

.ordering-process .cart-table .p-total .price-final {
  font-size: 19px;
}

/* Množství jako pilulka − 1 + */
.ordering-process .cart-table .quantity {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  height: 44px;
  padding: 0 4px !important;
  border: 1px solid var(--sd-line) !important;
  border-radius: 999px;
  background: #fff;
}

.ordering-process .cart-table .quantity label {
  order: 1;
  margin: 0;
}

.ordering-process .cart-table .quantity .amount {
  width: 36px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 16px !important;
  font-weight: 700;
  text-align: center;
  -moz-appearance: textfield;
}

.ordering-process .cart-table .quantity .amount::-webkit-inner-spin-button,
.ordering-process .cart-table .quantity .amount::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ordering-process .cart-table .quantity button {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--sd-ice) !important;
  color: var(--sd-navy) !important;
  transform: none !important;
  cursor: pointer;
  transition: background-color var(--sd-t);
}

.ordering-process .cart-table .quantity button:hover {
  background: var(--sd-navy) !important;
  color: #fff !important;
}

.ordering-process .cart-table .quantity .decrease {
  order: 0;
}

.ordering-process .cart-table .quantity .increase {
  order: 2;
}

.ordering-process .cart-table .quantity button::before,
.ordering-process .cart-table .quantity button::after {
  display: none !important;
}

.ordering-process .cart-table .quantity button span {
  display: inline !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  color: inherit;
  font-family: var(--sd-font-head);
  font-size: 18px !important;
  font-weight: 700;
  line-height: 1;
}

.ordering-process .remove-item {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 8px;
  padding: 0;
  border-radius: 50%;
  background: var(--sd-ice);
  color: var(--sd-muted);
  transition: background-color var(--sd-t), color var(--sd-t);
}

.ordering-process .remove-item:hover {
  background: #fde3f1;
  color: var(--sd-pink);
}

.ordering-process .remove-item::before {
  color: inherit !important;
}

.ordering-process .cart-related-product {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--sd-ice-2);
}

.ordering-process .delivery-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eaf6e5;
  color: var(--sd-green);
  font-weight: 600;
}

.ordering-process .delivery-time strong {
  color: var(--sd-green);
}

/* Dárky a slevy */
.ordering-process .cart-summary h2,
.ordering-process .order-summary-inner h2,
.ordering-process .checkout-box-wrapper h2 {
  margin: 26px 0 14px;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 19px;
  font-weight: 800;
}

.ordering-process .checkout-box-wrapper h2,
.ordering-process .order-summary-inner h2 {
  margin-top: 0;
}

.ordering-process .extras-wrapper {
  gap: 16px;
  align-items: stretch;
}

.ordering-process .discount-coupon .input-group {
  display: flex;
}

.ordering-process .discount-coupon .form-control {
  height: 46px;
  border: 1px solid #c3d4e0;
  border-right: 0;
  border-radius: 12px 0 0 12px;
}

.ordering-process .discount-coupon .btn {
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--sd-navy);
  color: #fff;
}

.ordering-process .discount-coupon .btn:hover {
  background: var(--sd-blue);
}

.ordering-process .extra.delivery {
  align-items: center;
  min-height: 46px;
  padding: 12px 16px 12px 58px;
  border-radius: 14px;
  background: var(--sd-ice);
  color: var(--sd-text);
}

.ordering-process .extra.delivery strong {
  color: var(--sd-navy);
}

.ordering-process .price-range {
  height: 8px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
}

.ordering-process .price-range > div {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sd-blue), var(--sd-green));
}

/* Boční panel: pomoc a souhrn */
.ordering-process .sidebar-in-cart .box,
.ordering-process #checkoutSidebar .box {
  padding: 0;
  border: 0;
  background: none;
}

.ordering-process .contact-box img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.ordering-process .contact-box a {
  color: var(--sd-navy);
  font-weight: 600;
}

.ordering-process .toggle-contacts {
  border: 0;
  border-radius: 14px;
  background: var(--sd-ice);
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-weight: 700;
}

.ordering-process .toggle-contacts span {
  color: var(--sd-blue);
  font-size: 17px;
}

.ordering-process .toggle-contacts:hover {
  background: var(--sd-navy);
  color: #fff;
}

.ordering-process .price-wrapper .price-label.price-primary {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 16px;
  font-weight: 700;
}

.ordering-process .price-wrapper strong.price-primary {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.ordering-process .price-wrapper .price-secondary {
  color: var(--sd-muted);
  font-size: 13px;
}

.ordering-process .cart-item-name .main-link {
  color: var(--sd-navy);
  font-weight: 700;
}

.ordering-process .recapitulation-shipping-billing-info span,
.ordering-process .for-free {
  color: var(--sd-green) !important;
}

/* Tlačítka dalšího kroku */
.ordering-process .next-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ordering-process :is(.next-step-forward, .next-step-finish) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--sd-pink) !important;
  box-shadow: 0 10px 24px -12px rgba(241, 0, 141, 0.7);
  color: #fff !important;
  font-family: var(--sd-font-head);
  font-size: 18px !important;
  font-weight: 800;
  line-height: 1.15;
  transition: background-color var(--sd-t), transform var(--sd-t);
}

.ordering-process .next-step-finish {
  flex-direction: column;
}

.ordering-process :is(.next-step-forward, .next-step-finish):hover {
  background: var(--sd-pink-dark) !important;
  transform: translateY(-1px);
}

.ordering-process .next-step-back {
  color: var(--sd-muted) !important;
  font-family: var(--sd-font-head);
  font-size: 15px !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Krok 1 a 2: sekce, výběr dopravy a platby jako karty */
.ordering-process .co-box {
  border-bottom: 1px solid var(--sd-line) !important;
  background: none !important;
}

.ordering-process .co-box:last-of-type {
  border-bottom: 0 !important;
}

.ordering-process .co-box h2 {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 21px;
  font-weight: 800;
}

.ordering-process .shipping-billing-table .radio-wrapper {
  margin: 0 0 8px;
  padding: 0;
  border: 1px solid var(--sd-line) !important;
  border-radius: 14px;
  background: #fff;
  transition: border-color var(--sd-t), background-color var(--sd-t);
}

.ordering-process .shipping-billing-table .radio-wrapper:hover {
  border-color: #a9bccb !important;
}

.ordering-process .shipping-billing-table .radio-wrapper.active {
  border-color: var(--sd-blue) !important;
  background: var(--sd-ice-2);
  box-shadow: 0 0 0 1px var(--sd-blue);
}

.ordering-process .shipping-billing-table .radio-wrapper.inactive-child {
  opacity: 0.55;
}

.ordering-process .shipping-billing-table .radio-wrapper label {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px;
  align-items: center;
  min-height: 60px;
  margin: 0;
  padding: 12px 18px 12px 48px;
  cursor: pointer;
}

.ordering-process .shipping-billing-table .radio-wrapper label::before {
  top: 50% !important;
  left: 18px !important;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #a9bccb !important;
  transform: translateY(-50%);
}

.ordering-process .shipping-billing-table .radio-wrapper.active label::before {
  border: 6px solid var(--sd-blue) !important;
}

.ordering-process .shipping-billing-table .radio-wrapper label::after {
  display: none !important;
}

.ordering-process .shipping-billing-name {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 16px;
  font-weight: 700;
}

.ordering-process .payment-shipping-price {
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 16px;
  font-weight: 800;
}

.ordering-process .shipping-billing-table .payment-info {
  flex: 1 1 auto;
  min-width: 0;
}

.ordering-process .shipping-billing-table .payment-logo {
  position: static !important;
  order: 1;
  flex: none;
  margin: 0 !important;
}

.ordering-process .shipping-billing-table .payment-shipping-price {
  position: static !important;
  order: 2;
  flex: none;
  min-width: 76px;
  margin: 0 !important;
  text-align: right;
}

.ordering-process .order-summary-item.helper {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ordering-process .order-summary-item.helper {
  flex-wrap: nowrap !important;
}

.ordering-process .order-summary-item.helper > div {
  flex: 0 1 auto !important;
  width: auto !important;
}

.ordering-process .order-recapitulation,
.ordering-process .order-summary-item.price {
  border-color: var(--sd-line) !important;
}

.ordering-process .payment-logo img {
  max-height: 26px;
  width: auto;
}

/* Pole formulářů */
.ordering-process .form-control {
  min-height: 48px;
  border: 1px solid #c3d4e0;
  border-radius: 12px;
  color: var(--sd-navy);
  transition: border-color var(--sd-t), box-shadow var(--sd-t);
}

.ordering-process .form-control:focus {
  border-color: var(--sd-blue);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 136, 191, 0.18);
}

.ordering-process #content .btn-secondary,
.ordering-process #content .btn-default:not(.toggle-contacts) {
  border-radius: 999px;
}

@media (max-width: 767px) {
  .ordering-process #content {
    padding-right: 10px;
    padding-left: 10px;
  }

  .ordering-process .cart-content {
    border-radius: 16px;
  }

  /* Mobilní hlavička objednávky má vpravo nahoře hamburger */
  .ordering-process .cart-header {
    padding-right: 56px;
  }

  .ordering-process .cart-table td {
    border-bottom: 0 !important;
  }

  .ordering-process .cart-table tr.removeable {
    border-bottom: 1px solid var(--sd-line);
  }

  .ordering-process .cart-header .step {
    justify-content: center;
    min-height: 52px;
    padding: 0 6px;
  }

  .ordering-process .cart-header .step span {
    font-size: 0;
  }

  .ordering-process .cart-header .step span::before {
    margin: 0;
    font-size: 14px;
  }

  .ordering-process .cart-header .step.active span {
    font-size: 13px;
  }

  .ordering-process .cart-header .step.active span::before {
    margin-right: 8px;
  }

  .ordering-process .cart-p-image img {
    width: 64px;
    height: 64px;
  }

  .ordering-process .shipping-billing-table .radio-wrapper label {
    gap: 10px;
    padding: 12px 14px 12px 44px;
  }

  .ordering-process .shipping-billing-table .radio-wrapper label::before {
    left: 14px !important;
  }

  .ordering-process .shipping-billing-table .payment-logo img {
    max-width: 64px;
    max-height: 20px;
  }

  .ordering-process .shipping-billing-table .payment-shipping-price {
    min-width: 0;
    font-size: 15px;
  }

  .ordering-process :is(.next-step-forward, .next-step-finish) {
    width: 100%;
  }

  .ordering-process .next-step {
    flex-direction: column-reverse;
  }

  .ordering-process .extras-wrapper {
    flex-direction: column;
  }
}

/* Prázdný košík: kategorie jako pilulky (jako prázdné vyhledávání), pole hledání zaoblené.
   Jen přímé seznamy boxů – v poli hledání je i našeptávač se stejnými ul/li/a */
.cart-empty .cart-heading {
  margin: 0 0 16px;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
}

.empty-cart-boxes h3 {
  margin: 0 0 14px;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 18px;
  font-weight: 800;
}

.empty-cart-boxes > div > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.empty-cart-boxes > div > ul > li {
  margin: 0;
  padding: 0;
}

.empty-cart-boxes > div > ul > li::before {
  content: none !important;
}

.empty-cart-boxes > div > ul > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--sd-navy);
  color: #fff;
  font-family: var(--sd-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase !important;
}

.empty-cart-boxes > div > ul > li > a:hover,
.empty-cart-boxes > div > ul > li > a:focus-visible {
  background: var(--sd-blue);
  color: #fff;
}

.empty-cart-boxes .search-form fieldset {
  display: flex;
}

.empty-cart-boxes .search-form .form-control {
  min-height: 48px;
  border: 1px solid #c3d4e0;
  border-right: 0;
  border-radius: 12px 0 0 12px;
}

.empty-cart-boxes .search-form .btn {
  min-height: 48px;
  border: 0;
  border-radius: 0 12px 12px 0;
  background: var(--sd-navy);
  color: #fff;
}

.empty-cart-boxes .search-form .btn:hover {
  background: var(--sd-blue);
}

.cart-empty .checkout-box-wrapper h2,
.ordering-process .sidebar-in-cart h2 {
  margin-top: 0;
  color: var(--sd-navy);
  font-family: var(--sd-font-head);
  font-size: 19px;
  font-weight: 800;
}

/* ---------- Karty: méně prázdna mezi dostupností a cenou, přeškrtnutá cena vedle ceny ---------- */
/* Šablona dává řádku dostupnosti min-height 48px (místo pro hvězdičky) a pod cenou drží prázdný řádek pro přeškrtnutou cenu */
.products .product .ratings-wrapper {
  min-height: 0 !important;
  margin: 2px 0 8px !important;
  padding: 0 !important;
}

.products .product .p-bottom .prices {
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
}

.products .product .p-bottom .price-final {
  order: -1;
  line-height: 1.2;
}

.products .product .p-bottom .price-standard-wrapper-placeholder,
.products .product .p-bottom .price-standard-label,
.products .product .p-bottom .price-save {
  display: none !important;
}

.products .product .p-bottom .price-standard-wrapper:not(.price-standard-wrapper-placeholder) {
  display: inline !important;
  color: var(--sd-muted);
  font-size: 14px;
  font-weight: 600;
}

.products .product .p-bottom .price-standard {
  text-decoration: line-through;
}

/* Sleva: místo modrého kolečka s přeškrtnutou cenou růžová pilulka s procenty (přeškrtnutá cena je u ceny) */
.flags .flag.flag-discount {
  flex: none !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 26px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: var(--sd-pink) !important;
  color: #fff !important;
  box-shadow: 0 4px 10px -4px rgba(201, 0, 118, 0.6);
}

.flags .flag.flag-discount .price-standard {
  display: none !important;
}

.flags .flag.flag-discount .price-save {
  display: block !important;
  color: #fff !important;
  font-family: var(--sd-font-head);
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.products .product .flags-extra {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* ---------- Výsledky vyhledávání: „Zobrazit vše" odlepené od pilulek ---------- */
.search-results-group .display-results-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--sd-blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.search-results-group .display-results-group::after {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.search-results-group .display-results-group:hover {
  color: var(--sd-navy);
}

/* ---------- Menu „Více" na konci lišty: karta s řádky, značky jako pilulky ---------- */
@media (min-width: 768px) {
  #header .menu-helper > ul {
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    width: 340px !important;
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    padding: 8px !important;
    border: 1px solid var(--sd-line) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: var(--sd-shadow) !important;
  }

  #header .menu-helper > ul > li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #header .menu-helper > ul > li > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px !important;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    color: var(--sd-navy) !important;
    font-family: var(--sd-font-head);
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background-color var(--sd-t), color var(--sd-t);
  }

  #header .menu-helper > ul > li > a b {
    font-weight: inherit;
  }

  #header .menu-helper > ul > li > a:hover,
  #header .menu-helper > ul > li.exp > a {
    background: var(--sd-ice) !important;
    color: var(--sd-blue) !important;
  }

  #header .menu-helper > ul > li > a::after {
    content: none !important;
  }

  #header .menu-helper .nav-manufacturers > .menu-level-2 {
    position: static !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    width: auto !important;
    margin: 4px 0 6px !important;
    padding: 10px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--sd-ice-2) !important;
    box-shadow: none !important;
  }

  #header .menu-helper .nav-manufacturers > .menu-level-2:not(.expanded) {
    display: none !important;
  }

  #header .menu-helper .nav-manufacturers > .menu-level-2 > li {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  #header .menu-helper .nav-manufacturers > .menu-level-2 a {
    display: inline-flex !important;
    align-items: center;
    min-height: 32px;
    padding: 4px 12px !important;
    border: 1px solid var(--sd-line);
    border-radius: 999px;
    background: #fff;
    color: var(--sd-navy) !important;
    font-size: 13px !important;
    font-weight: 600;
    text-transform: none;
    transition: border-color var(--sd-t), color var(--sd-t);
  }

  #header .menu-helper .nav-manufacturers > .menu-level-2 a:hover {
    border-color: var(--sd-blue);
    color: var(--sd-blue) !important;
  }
}

/* ---------- Košík: ikona dopravy zdarma v bílém kolečku, po dosažení zelený stav ---------- */
/* Šablona kreslí šedou dodávku 36px absolutně u levé hrany boxu (s margin-top -17px) */
.ordering-process .extra.delivery {
  position: relative;
  padding-left: 66px !important;
}

.ordering-process .extra.delivery::before {
  top: 50% !important;
  bottom: auto !important;
  left: 14px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  background: #fff;
  color: var(--sd-blue) !important;
  font-size: 20px !important;
  line-height: 38px !important;
  text-align: center;
  transform: translateY(-50%);
}

.ordering-process .extra.delivery:not(:has(.price-range)) {
  background: #e8f5e1;
}

.ordering-process .extra.delivery:not(:has(.price-range))::before {
  color: var(--sd-green) !important;
}

.ordering-process .extra.delivery:not(:has(.price-range)) strong {
  color: var(--sd-green);
}

/* ---------- Košík: upsell „Nezapomeňte na drobnosti" (doplněk Upsell a cross sell) ---------- */
.up-products-cart-table-wrapper {
  margin: 24px 0 8px;
}

.up-products-cart-table,
.up-products-cart-table > tbody,
.up-products-cart-table > tbody > tr {
  display: block !important;
  width: 100% !important;
}

.up-products-cart-table .up-products-cart-space {
  display: none !important;
}

/* Doplněk dává buňce 3px 5px s !important – potřeba vyšší specificita */
table.up-products-cart-table tr.up-products-cart td.up-addons-cell {
  display: block !important;
  padding: 16px !important;
  border: 1px solid var(--sd-line);
  border-radius: 16px;
  background: var(--sd-ice-2);
}

.up-products-cart .up-addons-cell > table,
.up-products-cart .up-addons-cell > table > tbody {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  width: 100% !important;
}

.up-products-cart .up-cart-header {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
}

.up-products-cart .up-cart-header-cart {
  margin: 0 0 4px !important;
  color: var(--sd-navy) !important;
  font-family: var(--sd-font-head);
  font-size: 18px !important;
  font-weight: 800 !important;
}

.up-products-cart tr.up-product {
  grid-template-columns: 60px minmax(0, 1fr) auto auto auto !important;
  align-items: center !important;
  gap: 8px 16px !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 12px;
  background: #fff;
}

.up-products-cart tr.up-product > td {
  padding: 0 !important;
  border: 0 !important;
}

.up-products-cart .up-image a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--sd-tile);
}

.up-products-cart .up-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.up-products-cart .up-product-name a {
  color: var(--sd-navy) !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
}

.up-products-cart .up-product-name a:hover {
  color: var(--sd-blue) !important;
}

.up-products-cart .up-in-stock-label {
  margin-top: 2px;
  color: var(--sd-green) !important;
  font-size: 12.5px !important;
  font-weight: 600;
}

.up-products-cart .up-variants {
  height: 40px !important;
  max-width: 260px;
  padding: 0 34px 0 12px !important;
  border: 1px solid #c3d4e0 !important;
  border-radius: 10px !important;
  background-color: #fff !important;
  color: var(--sd-navy) !important;
  font-size: 14px !important;
}

.up-products-cart .up-price,
.up-products-cart .up-price-value {
  color: var(--sd-navy) !important;
  font-family: var(--sd-font-head);
  font-size: 17px !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

.up-products-cart .up-product-add-to-cart a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--sd-pink) !important;
  color: #fff !important;
  font-family: var(--sd-font-head);
  font-size: 15px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background-color var(--sd-t);
}

.up-products-cart .up-product-add-to-cart a::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.up-products-cart .up-product-add-to-cart a:hover {
  background: var(--sd-pink-dark) !important;
}

@media (max-width: 767px) {
  table.up-products-cart-table tr.up-products-cart td.up-addons-cell {
    padding: 12px !important;
  }

  .up-products-cart tr.up-product {
    grid-template-columns: 56px minmax(0, 1fr) auto !important;
    gap: 8px 12px !important;
  }

  .up-products-cart .up-image {
    grid-row: span 2;
  }

  .up-products-cart .up-image a {
    width: 56px;
    height: 56px;
  }

  .up-products-cart td.up-product-variants:not(:empty) {
    grid-column: 2 / -1;
  }

  .up-products-cart .up-variants {
    width: 100%;
    max-width: none;
  }
}

/* ---------- Náhled košíku po najetí na košík v hlavičce ---------- */
@media (min-width: 768px) {
  /* Šablona otevírá náhled přes spodní půlku pilulky košíku – posunout pod ni */
  #cart-widget.cart-widget {
    margin-top: 40px !important;
    padding: 0 !important;
    border: 1px solid var(--sd-line) !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: var(--sd-shadow) !important;
  }

  #cart-widget.cart-widget::after {
    display: none !important;
  }

  /* Šipku šablony nahrazuje neviditelný most přes mezeru, ať náhled při přejetí myší nezavře */
  #cart-widget.cart-widget::before {
    content: "" !important;
    position: absolute !important;
    top: -42px !important;
    right: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: 42px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  #cart-widget .cart-widget-inner {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
  }

  #cart-widget .cart-widget-inner {
    padding: 8px 8px 0 !important;
  }

  #cart-widget .cart-widget-products {
    max-height: 340px;
    overflow-y: auto;
  }

  #cart-widget .cart-widget-product {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "img name del"
      "img amount del";
    align-items: center;
    gap: 6px 14px;
    width: 100%;
    padding: 10px !important;
    border-bottom: 1px solid var(--sd-line);
  }

  #cart-widget .cart-widget-product:last-child {
    border-bottom: 0;
  }

  #cart-widget .cart-widget-product > div {
    display: block !important;
    padding: 0 !important;
  }

  #cart-widget .cart-widget-product-image {
    grid-area: img;
  }

  #cart-widget .cart-widget-product-image a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 12px;
    background: var(--sd-tile);
  }

  #cart-widget .cart-widget-product-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  #cart-widget .cart-widget-product-name {
    grid-area: name;
    min-width: 0;
    text-align: left !important;
  }

  #cart-widget .cart-widget-product-name strong {
    display: block;
    font-weight: 700;
  }

  #cart-widget .cart-widget-product-name a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--sd-navy) !important;
    font-size: 14px;
    line-height: 1.35;
    text-decoration: none;
  }

  #cart-widget .cart-widget-product-name a:hover {
    color: var(--sd-blue) !important;
  }

  #cart-widget .cart-widget-product-name > span {
    display: block;
    margin-top: 2px;
    color: var(--sd-navy) !important;
    font-family: var(--sd-font-head);
    font-size: 16px;
    font-weight: 800;
  }

  #cart-widget .cart-widget-product-amount {
    grid-area: amount;
  }

  #cart-widget .cart-widget-product > .cart-widget-product-unit {
    display: none !important;
  }

  /* Šablona ukazuje křížek jen při najetí na řádek */
  #cart-widget .cart-widget-product > .cart-widget-product-delete {
    grid-area: del;
    visibility: visible !important;
  }

  #cart-widget .cart-widget-product-delete .remove-item {
    visibility: visible !important;
  }

  /* Množství jako malá pilulka − 1 + (jako v košíku) */
  #cart-widget .quantity {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    height: 36px;
    padding: 0 3px !important;
    border: 1px solid var(--sd-line) !important;
    border-radius: 999px;
    background: #fff;
  }

  #cart-widget .quantity label {
    order: 1;
    margin: 0;
  }

  #cart-widget .quantity .amount {
    width: 30px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--sd-navy);
    font-family: var(--sd-font-head);
    font-size: 15px !important;
    font-weight: 700;
    text-align: center;
    -moz-appearance: textfield;
  }

  #cart-widget .quantity .amount::-webkit-inner-spin-button,
  #cart-widget .quantity .amount::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  #cart-widget .quantity button {
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--sd-ice) !important;
    color: var(--sd-navy) !important;
    transform: none !important;
    cursor: pointer;
    transition: background-color var(--sd-t);
  }

  #cart-widget .quantity button:hover {
    background: var(--sd-navy) !important;
    color: #fff !important;
  }

  #cart-widget .quantity .decrease {
    order: 0;
  }

  #cart-widget .quantity .increase {
    order: 2;
  }

  #cart-widget .quantity button::before,
  #cart-widget .quantity button::after {
    display: none !important;
  }

  #cart-widget .quantity button span {
    display: inline !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: visible !important;
    color: inherit;
    font-family: var(--sd-font-head);
    font-size: 16px !important;
    font-weight: 700;
    line-height: 1;
  }

  #cart-widget .remove-item {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    background: var(--sd-ice);
    color: var(--sd-muted);
    transition: background-color var(--sd-t), color var(--sd-t);
  }

  #cart-widget .remove-item:hover {
    background: #fde3f1;
    color: var(--sd-pink);
  }

  #cart-widget .remove-item::before {
    color: inherit !important;
  }

  /* Šablona box kotví absolutně nad tlačítko (bottom: 66px), takže překrýval produkty:
     vracíme ho do toku pod seznam jako nízký proužek */
  #cart-widget .cart-free-shipping {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto !important;
    height: auto !important;
    margin: 8px 4px 0;
    padding: 8px 14px !important;
    border-top: 0 !important;
    border-radius: 10px;
    background: var(--sd-ice);
    color: var(--sd-text);
    font-size: 13px;
    line-height: 1.35;
    text-align: center;
  }

  #cart-widget .cart-free-shipping::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='17.5' r='1.8'/%3E%3Ccircle cx='17' cy='17.5' r='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  #cart-widget .cart-free-shipping > div {
    display: block !important;
    padding: 0 !important;
  }

  #cart-widget .cart-free-shipping strong {
    color: var(--sd-navy);
  }

  /* Doprava už zdarma: jen „Dopravu máte zdarma!" → zelený stav */
  #cart-widget .cart-free-shipping:not(:has(strong ~ strong)) {
    background: #e8f5e1;
    color: var(--sd-green);
  }

  #cart-widget .cart-free-shipping:not(:has(strong ~ strong)) strong {
    color: var(--sd-green);
  }

  #cart-widget .cart-widget-button {
    padding: 10px !important;
  }

  #cart-widget .cart-widget-button .btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    border-radius: 999px !important;
    font-family: var(--sd-font-head);
    font-size: 17px !important;
    font-weight: 800 !important;
  }
}

/* ---------- Stránka 404: karta s ikonou hor, kategorie jako pilulky (JS), růžové tlačítko ---------- */
.empty-content-404 {
  max-width: 760px;
  margin: 16px auto 40px;
  padding: 40px 28px 36px;
  border: 1px solid var(--sd-line);
  border-radius: 24px;
  background: var(--sd-ice-2);
  text-align: center;
}

.empty-content-404::before {
  content: "";
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230088bf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 20 7-12 4 6.5 2.5-3.5L22 20z'/%3E%3Cpath d='M9 8V3l4 1.5L9 6'/%3E%3C/svg%3E") center / 48px no-repeat;
  box-shadow: 0 10px 24px -14px rgba(11, 37, 64, 0.35);
}

/* Šedou zákazovou značku šablony nahrazuje ikona nahoře */
.empty-content-404 h2::after {
  display: none !important;
}

.empty-content-404 h1 {
  margin: 0 0 8px !important;
  color: var(--sd-navy) !important;
  font-family: var(--sd-font-head);
  font-size: clamp(28px, 4vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.1;
}

.empty-content-404 h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--sd-text) !important;
  font-family: var(--sd-font);
  font-size: 18px !important;
  font-weight: 600 !important;
}

.empty-content-404 p {
  margin: 0 0 14px !important;
  color: var(--sd-muted) !important;
  font-size: 15px !important;
}

.empty-content-404 .sd-search-empty__links {
  justify-content: center;
  margin: 0 0 24px;
}

.empty-content-404 .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--sd-pink) !important;
  color: #fff !important;
  font-family: var(--sd-font-head);
  font-size: 17px !important;
  font-weight: 800 !important;
  transition: background-color var(--sd-t);
}

.empty-content-404 .btn:hover {
  background: var(--sd-pink-dark) !important;
}

@media (max-width: 767px) {
  .empty-content-404 {
    margin: 12px 0 28px;
    padding: 28px 16px;
    border-radius: 20px;
  }

  .empty-content-404::before {
    width: 76px;
    height: 76px;
    background-size: 38px;
  }
}

/* ---------- Okno po přidání do košíku (nativní „Rozšířená objednávka", colorbox) ---------- */
#cboxOverlay {
  background: var(--sd-navy) !important;
  opacity: 0.55 !important;
}

#colorbox:has(.advanced-order) #cboxContent,
#colorbox:has(.advanced-order) #cboxLoadedContent {
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
}

#colorbox:has(.advanced-order) #cboxContent {
  box-shadow: 0 30px 60px -20px rgba(11, 37, 64, 0.45) !important;
}

#colorbox:has(.advanced-order) #cboxClose {
  top: 16px !important;
  right: 16px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--sd-ice) !important;
  color: var(--sd-navy) !important;
  transition: background-color var(--sd-t);
}

#colorbox:has(.advanced-order) #cboxClose:hover {
  background: var(--sd-line) !important;
}

.advanced-order {
  padding: 8px 4px 4px;
  text-align: center;
}

/* Nadpis se zeleným kolečkem s fajfkou */
.advanced-order > .h1:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px !important;
  color: var(--sd-navy) !important;
  font-family: var(--sd-font-head);
  font-size: clamp(24px, 3vw, 30px) !important;
  font-weight: 800 !important;
}

.advanced-order > .h1:first-child::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f5e1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8a12' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat;
}

.advanced-order > .h2 {
  margin: 0 0 22px !important;
  color: var(--sd-navy) !important;
  font-family: var(--sd-font);
  font-size: 16px !important;
  font-weight: 700 !important;
}

.advanced-order > .h2 span {
  display: block;
  margin-top: 2px;
  color: var(--sd-muted);
  font-size: 14px;
  font-weight: 500;
}

/* Doprava zdarma: stejný box jako v košíku */
.advanced-order .extras-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 22px !important;
}

.advanced-order .extra.delivery {
  position: relative;
  display: flex !important;
  align-items: center;
  width: min(460px, 100%) !important;
  min-height: 62px;
  margin: 0 !important;
  padding: 12px 16px 12px 66px !important;
  border-radius: 14px;
  background: var(--sd-ice);
  color: var(--sd-text);
  font-size: 14px;
  text-align: left;
}

.advanced-order .extra.delivery > span {
  display: block;
  width: 100%;
  border: 0 !important;
  text-decoration: none !important;
}

.advanced-order .extra.delivery strong {
  color: var(--sd-navy) !important;
}

.advanced-order .extra.delivery::before {
  top: 50% !important;
  bottom: auto !important;
  left: 14px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: #fff;
  color: var(--sd-blue) !important;
  font-size: 20px !important;
  line-height: 38px !important;
  text-align: center;
  transform: translateY(-50%);
}

.advanced-order .extra.delivery:not(:has(.price-range)) {
  background: #e8f5e1;
}

.advanced-order .extra.delivery:not(:has(.price-range))::before,
.advanced-order .extra.delivery:not(:has(.price-range)) strong {
  color: var(--sd-green) !important;
}

.advanced-order .price-range {
  height: 8px !important;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff !important;
}

.advanced-order .price-range > div {
  height: 100% !important;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sd-blue), var(--sd-green)) !important;
}

/* Tlačítka: košík jako hlavní růžové, návrat jako obrysová pilulka */
.advanced-order .advancedOrder__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 8px !important;
}

.advanced-order .advancedOrder__buttons .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  margin: 0 !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  font-family: var(--sd-font-head);
  font-size: 17px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.advanced-order .advancedOrder__buttons .next-step-back {
  border: 1px solid var(--sd-line) !important;
  background: #fff !important;
  color: var(--sd-navy) !important;
}

.advanced-order .advancedOrder__buttons .next-step-back:hover {
  border-color: var(--sd-navy) !important;
}

.advanced-order .advancedOrder__buttons .btn-conversion {
  order: 2;
  gap: 8px;
}

.advanced-order .advancedOrder__buttons .btn-conversion::after {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Doporučené produkty: světlý zaoblený panel s nadpisem vlevo */
.advanced-order .advanced-order-suggestion {
  margin: 26px 0 0 !important;
  border-radius: 18px 18px 0 0;
  padding: 24px 24px 6px !important;
  border-top: 0 !important;
  background: var(--sd-ice-2);
  color: var(--sd-navy) !important;
  font-family: var(--sd-font-head);
  font-size: 21px !important;
  font-weight: 800 !important;
  text-align: left;
}

.advanced-order .products-related {
  margin: 0 !important;
  border-radius: 0 0 18px 18px;
  padding: 6px 17px 17px !important;
  background: var(--sd-ice-2);
  text-align: left;
}

@media (max-width: 767px) {
  #colorbox:has(.advanced-order) #cboxContent,
  #colorbox:has(.advanced-order) #cboxLoadedContent {
    border-radius: 20px !important;
  }

  #colorbox:has(.advanced-order) #cboxClose {
    top: 10px !important;
    right: 10px !important;
  }

  .advanced-order .advancedOrder__buttons {
    flex-direction: column;
  }

  .advanced-order .advancedOrder__buttons .btn {
    width: 100%;
  }

  .advanced-order .advancedOrder__buttons .btn-conversion {
    order: -1;
  }

  .advanced-order .advanced-order-suggestion {
    font-size: 18px !important;
  }
}
