/* Shared site chrome — header / logo / nav (relative paths OK under tunnel) */
/* Fixed logo offset / fonts are applied by shared-chrome.js (no editor) */

/* Empty anthracite top strip (like design mock, no text) */
.site-topbar {
  display: block;
  height: 14px;
  min-height: 14px;
  margin: 0;
  padding: 0;
  border: none;
  background: #383E42;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  pointer-events: none;
}

#kredo-akce-bar {
  position: sticky;
  top: 0;
  z-index: 110;
  background: #0077a8;
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
  box-sizing: border-box;
  width: 100%;
}
#kredo-akce-bar .akce-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  text-align: center;
}
#kredo-akce-bar .akce-bar-title {
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}
#kredo-akce-bar .akce-bar-text { font-weight: 500; }
html.kf-embed #kredo-akce-bar { display: none !important; }
@media print { #kredo-akce-bar { display: none !important; } }

.site-header {
  position: sticky;
  top: var(--akce-bar-h, 0px);
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--charcoal-100, #e8eaed);
  border-top: none;
  /* perf1031: stable header — topbar 14px + row 64px; fitHeader stages must not shift page CLS */
  min-height: 78px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.header-inner {
  max-width: none;
  margin: 0;
  padding: 0.65rem var(--header-pad-x, 1.5rem);
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 1rem;
  position: relative;
  min-height: 64px;
  height: 64px;
  width: 100%;
  box-sizing: border-box;
}


/* perf1031: desktop logo matches shared-chrome.js LAYOUT.logo (first paint = final) */
@media (min-width: 721px) {
  .site-header > .logo,
  #site-logo {
    left: 158.975px;
    top: 21.0625px;
    bottom: auto;
    height: auto;
    max-height: none;
    margin: 0;
    transform: none;
  }
  .site-header > .logo img,
  #site-logo-img {
    width: 165px;
    height: auto;
  }
}
/* Header logo — absolute in the white row (below topbar) */
#site-logo,
.site-header > .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  position: absolute;
  left: var(--logo-edge, 8px);
  top: 14px; /* below black topbar */
  bottom: 0;
  height: fit-content;
  max-height: calc(100% - 18px);
  margin-top: auto;
  margin-bottom: auto;
  transform: none;
  z-index: 2;
}

#site-logo-img,
.site-header > .logo img {
  width: 132px;
  height: auto;
  display: block;
  max-width: none;
  pointer-events: none;
  object-fit: contain;
  image-rendering: auto;
}

/* Logo — clickable home affordance (img scale so positioned transform stays intact) */
#site-logo,
.site-header > .logo {
  cursor: pointer;
  transition: opacity 0.2s ease;
}
#site-logo-img,
.site-header > .logo img {
  transition: transform 0.22s ease, filter 0.22s ease;
}
#site-logo:hover,
.site-header > .logo:hover {
  opacity: 0.96;
}
#site-logo:hover #site-logo-img,
.site-header > .logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(0, 172, 237, 0.45));
}
#site-logo:focus-visible,
.site-header > .logo:focus-visible {
  outline: 2px solid rgba(0, 172, 237, 0.65);
  outline-offset: 4px;
  border-radius: 4px;
}

.footer-brand .logo {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  display: inline-block;
  cursor: pointer;
  line-height: 0;
}

.footer-brand .logo img {
  width: 140px;
  height: auto;
  border-radius: 2px;
  pointer-events: auto;
  /* Use logo-h-on-dark.svg (white + cyan on transparent) — no invert */
  filter: none;
  background: transparent;
  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.2s ease;
}

.footer-brand .logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0, 172, 237, 0.5));
  opacity: 0.95;
}

/* Compact footer contact block — light & dark footers */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  max-width: 360px;
  line-height: 1.45;
  color: var(--charcoal-600, #4a5160); /* light footers default */
}
.footer-contact p {
  margin: 0.25rem 0;
}
.footer-contact a {
  color: inherit;
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--cyan, #00aced);
}
/* Dark footers (index/regaly charcoal, konfigurator): inherit muted light text */
.footer-minimal .footer-contact,
.site-footer.site-footer--dark .footer-contact {
  color: inherit;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-700, #3d4450);
  grid-column: 2;
  justify-self: center;
  margin: 0;
  z-index: 1;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--cyan, #00aced);
}

.nav a.is-active {
  color: var(--cyan, #00aced);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
  z-index: 2;
}

.header-stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  color: var(--charcoal, #1a1d21);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.75px solid var(--cyan, #00aced);
  box-shadow: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  line-height: 1.2;
}

.header-stock:hover {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
  transform: translateY(-1px);
}

.header-stock:focus-visible {
  outline: 2px solid var(--cyan, #00aced);
  outline-offset: 2px;
}

.header-stock svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.header-stock[aria-expanded="true"] {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
}

.header-cfg {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.9rem;
  border-radius: 10px;
  background: var(--cyan, #00aced);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1.75px solid var(--cyan, #00aced);
  text-decoration: none;
  line-height: 1.2;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(0, 172, 237, 0.28);
  transition: background 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.header-cfg:hover {
  background: var(--cyan-hover, #0095d1);
  border-color: var(--cyan-hover, #0095d1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 172, 237, 0.34);
}
.header-cfg:focus-visible {
  outline: 2px solid var(--cyan, #00aced);
  outline-offset: 2px;
}

.header-phone > span {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.header-phone.is-open > span {
  display: inline;
}
.header-phone.is-open {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
  padding-right: 0.75rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem 0.35rem 0.45rem;
  border-radius: 10px;
  color: var(--charcoal, #1a1d21);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.header-phone svg {
  width: 18px;
  height: 18px;
  color: var(--cyan, #00aced);
  flex-shrink: 0;
}

.header-phone:hover {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
}

.site-header .icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--charcoal-700, #3d4450);
  transition: background 0.15s, color 0.15s;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.site-header .icon-btn:hover {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
}

.site-header .icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan, #00aced);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.site-header .menu-toggle {
  display: none; /* must beat .site-header .icon-btn { display:grid } */
  font-size: 1.25rem;
  line-height: 1;
}

/* —— Mobile nav panel (injected / used by shared-chrome.js) —— */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(26, 29, 33, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--charcoal-100, #e8eaed);
  box-shadow: 0 16px 40px rgba(26, 29, 33, 0.12);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: max-height 0.28s ease, visibility 0.28s ease;
}

.mobile-nav.is-open {
  max-height: min(85vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-inner {
  padding: 0.75rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal, #1a1d21);
  letter-spacing: -0.02em;
  transition: background 0.15s, color 0.15s;
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
  outline: none;
}

.mobile-nav-links a.is-active {
  color: var(--cyan, #00aced);
  background: var(--cyan-soft, #e6f7fd);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--charcoal-100, #e8eaed);
}

.mobile-nav-stock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: var(--charcoal, #1a1d21) !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.75px solid var(--cyan, #00aced);
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.mobile-nav-stock:hover {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced) !important;
}

.mobile-nav-stock svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.mobile-nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--charcoal-100, #e8eaed);
  color: var(--charcoal, #1a1d21);
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-nav-phone span {
  display: inline !important;
}

.mobile-nav-phone svg {
  width: 20px;
  height: 20px;
  color: var(--cyan, #00aced);
  flex-shrink: 0;
}

.mobile-nav-phone:hover {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
  border-color: rgba(0, 172, 237, 0.35);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .header-inner {
    padding-left: calc(var(--logo-edge, 8px) + 120px);
    display: flex;
    justify-content: flex-end;
    grid-template-columns: none;
  }
  .nav {
    display: none;
  }
  .header-actions {
    grid-column: auto;
    justify-self: auto;
    margin-left: auto;
  }
  .site-header .menu-toggle {
    display: grid;
  }
  /* number stays hidden until .is-open */
}

@media (max-width: 640px) {
  #site-logo-img,
  .site-header > .logo img {
    width: 110px;
  }
  .header-inner {
    padding: 0.5rem 0.75rem 0.5rem calc(var(--logo-edge, 8px) + 100px);
    gap: 0.35rem;
  }
  .header-actions {
    gap: 0.2rem;
  }
  .header-stock {
    display: none;
  }
  .header-cfg {
    padding: 0.4rem 0.65rem;
    font-size: 0.68rem;
  }
  .header-phone {
    padding: 0.35rem;
  }
  .header-phone.is-open > span {
    font-size: 0.72rem;
  }
  .site-header .icon-btn {
    width: 44px;
    height: 44px;
  }
  .mobile-nav-inner {
    padding: 0.65rem 1rem 1.15rem;
  }
}

/* Desktop: never show mobile panel chrome */
@media (min-width: 981px) {
  .mobile-nav,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

.site-header a.icon-btn {
  text-decoration: none;
  color: inherit;
}
.cart-badge[hidden] {
  display: none !important;
}

/* Compact cart summary next to header cart icon */
.header-cart-bar {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 10px;
  background: rgba(26, 29, 33, 0.94);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(26, 29, 33, 0.18);
  transition: background 0.15s, transform 0.15s;
}
.header-cart-bar.is-visible {
  display: inline-flex;
}
.header-cart-bar[hidden] {
  display: none !important;
}
.header-cart-bar strong {
  color: #7dd3f7;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.header-cart-bar:hover {
  background: #111417;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .header-cart-bar .hcb-label { display: none; }
  .header-cart-bar { padding: 0.32rem 0.55rem; font-size: 0.68rem; }
}

/* Small phones: smaller logo, tighter header */
@media (max-width: 480px) {
  #site-logo-img,
  .site-header > .logo img {
    width: 100px;
  }
  .header-inner {
    padding: 0.45rem 0.55rem 0.45rem calc(var(--logo-edge, 8px) + 92px);
    gap: 0.25rem;
  }
  .header-actions { gap: 0.15rem; }
  .site-header .icon-btn {
    width: 42px;
    height: 42px;
  }
}

/* Mobile: logo left + smaller, vertically centered in white header (below topbar) */
@media (max-width: 720px) {
  #site-logo,
  .site-header > .logo {
    position: absolute !important;
    left: 10px !important;
    top: 14px !important; /* below .site-topbar */
    right: auto !important;
    bottom: 0 !important;
    transform: none !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-height: calc(100% - 22px) !important;
    height: fit-content !important;
    z-index: 5;
    display: flex !important;
    align-items: center !important;
  }
  #site-logo-img,
  .site-header > .logo img {
    width: 88px !important;
    max-width: 88px !important;
    height: auto !important;
  }
  .header-inner {
    padding-left: 108px !important;
    min-height: 56px !important;
  }
}
@media (max-width: 480px) {
  #site-logo-img,
  .site-header > .logo img {
    width: 76px !important;
    max-width: 76px !important;
  }
  .header-inner {
    padding-left: 94px !important;
  }
}

/* —— Header cart wrap + hover dropdown —— */
.header-cart-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 110;
}
.header-cart-wrap::after {
  /* hover bridge between bar and panel */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  pointer-events: none;
}
.header-cart-wrap.is-open::after,
.header-cart-wrap:hover::after {
  pointer-events: auto;
}
.header-cart-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(420px, calc(100vw - 1.5rem));
  max-height: min(70vh, 420px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  color: var(--charcoal, #1a1d21);
  border: 1px solid var(--charcoal-100, #e8eaed);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(26, 29, 33, 0.18);
  padding: 0.55rem 0 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 120;
}
.header-cart-wrap.is-open .header-cart-dropdown,
.header-cart-wrap:hover .header-cart-dropdown,
.header-cart-wrap:focus-within .header-cart-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.header-cart-wrap:not(.has-items) .header-cart-dropdown {
  display: none !important;
}
.hcd-list {
  list-style: none;
  margin: 0;
  padding: 0 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hcd-item {
  padding: 0.45rem 0.4rem;
  border-radius: 10px;
  background: var(--charcoal-50, #f4f5f7);
}
.hcd-item--row {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  flex-wrap: nowrap;
  min-width: 0;
  font-variant-numeric: tabular-nums;
}
.hcd-name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal, #1a1d21);
  word-break: break-word;
}
.hcd-meta { display: none; }
.hcd-qty {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--charcoal-600, #5a6270);
  white-space: nowrap;
}
.hcd-line {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--charcoal, #1a1d21);
  white-space: nowrap;
}
.hcd-empty {
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  color: var(--charcoal-400, #8b929e);
  text-align: center;
}
.hcd-footer {
  position: sticky;
  bottom: 0;
  margin-top: 0.55rem;
  padding: 0.7rem 0.85rem 0.8rem;
  border-top: 1px solid var(--charcoal-100, #e8eaed);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
}
.hcd-total {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--charcoal-700, #3d4450);
}
.hcd-total strong {
  color: var(--cyan, #00aced);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
.hcd-link {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 9px;
  background: var(--cyan, #00aced);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.hcd-link:hover {
  background: var(--cyan-hover, #0095ce);
}
@media (max-width: 640px) {
  .header-cart-dropdown {
    right: -0.25rem;
    width: min(300px, calc(100vw - 1rem));
  }
}

.mobile-nav-cfg {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--cyan, #00aced);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mobile-nav-cfg:hover { background: var(--cyan-hover, #0095d1); color: #fff; }

/* ==========================================================================
   Responsive pass 2709 (resp2709)
   ========================================================================== */

/* —— Adaptive header: shared-chrome.js adds these classes to <html> when the
   desktop nav would collide with the logo or the header actions (e.g. 1024 px,
   or 1280 px with a filled cart). Stages are applied progressively. —— */
/* the actions column may grow past its 1fr share (e.g. cart total pill) —
   the nav then shifts left instead of sliding under the buttons */
.header-inner {
  grid-template-columns: minmax(160px, 1fr) auto minmax(max-content, 1fr);
}
/* stage 0: tighter nav spacing */
html.hdr-snug .site-header .nav {
  gap: 1.1rem;
}
html.hdr-compact .site-header .nav {
  display: none;
}
html.hdr-compact .site-header .header-inner {
  display: flex;
  justify-content: flex-end;
  grid-template-columns: none;
}
html.hdr-compact .site-header .header-actions {
  grid-column: auto;
  justify-self: auto;
  margin-left: auto;
}
html.hdr-compact .site-header .menu-toggle {
  display: grid;
}
/* stage 2: "Regály skladem" lives in the mobile menu */
html.hdr-tight .site-header .header-stock {
  display: none;
}
/* stage 3: phone lives in the mobile menu; cart total pill replaces the cart icon */
html.hdr-tighter .site-header .header-phone:not(.is-open) {
  display: none;
}
html.hdr-tighter .site-header .header-cart-wrap.has-items > a.icon-btn {
  display: none;
}
@media (min-width: 981px) {
  html.hdr-compact .mobile-nav,
  html.hdr-compact .mobile-nav-backdrop {
    display: block !important;
  }
}

/* —— Touch: comfortable tap targets in the header / menus / footer —— */
@media (pointer: coarse) {
  .site-header .header-cfg,
  .site-header .header-stock,
  .site-header .header-phone,
  .site-header .header-cart-bar {
    min-height: 40px;
  }
  .site-header .header-phone {
    min-width: 40px;
    justify-content: center;
  }
  .site-header > .logo,
  #site-logo {
    min-height: 40px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .hcd-link {
    min-height: 40px;
  }
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
}
@media (max-width: 640px) {
  /* 10.9px uppercase label was hard to read on phones */
  .site-header .header-cfg {
    font-size: 0.72rem;
  }
}

/* —— Reduced motion: disable animations / smooth scrolling site-wide —— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Simple footers (ceník, realizace, košík): align the contact block with the
   centred link row + copyright (same as konfigurátor's inline style) */
.site-footer > .footer-contact {
  max-width: var(--max, 1180px);
  margin: 0 auto 1rem;
}

/* Mobile menu panel must fit below the sticky header (phone landscape: 390 px tall) */
.mobile-nav.is-open {
  max-height: min(calc(100vh - 84px), 520px);
  max-height: min(calc(100dvh - 84px), 520px);
}
/* Edit-mode toggles are desktop tools — hide them on landscape phones where they
   cover hero content (same as the existing ≤720 px rule) */

/* —— Header phone dropdown (2709e): number(s) in a small panel under the header —— */
.header-phone.is-active {
  background: var(--cyan-soft, #e6f7fd);
  color: var(--cyan, #00aced);
}
.header-phone-drop {
  position: fixed;
  top: 80px;
  right: 8px;
  z-index: 130;
  box-sizing: border-box;
  width: max-content;
  min-width: 236px;
  max-width: calc(100vw - 16px);
  background: #fff;
  color: var(--charcoal, #1a1d21);
  border: 1px solid var(--charcoal-100, #e8eaed);
  border-top: 3px solid var(--cyan, #00aced);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(26, 29, 33, 0.16);
  padding: 0.4rem;
  font-family: "Outfit", system-ui, sans-serif;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.header-phone-drop[hidden] { display: none !important; }
.header-phone-drop.is-open { opacity: 1; transform: none; }
.header-phone-drop .hpd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.header-phone-drop .hpd-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.4rem 0.8rem 0.4rem 0.5rem;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.header-phone-drop .hpd-link:hover,
.header-phone-drop .hpd-link:focus-visible { background: var(--cyan-soft, #e6f7fd); }
.header-phone-drop .hpd-link:focus-visible { outline: 2px solid var(--cyan, #00aced); outline-offset: -2px; }
.header-phone-drop .hpd-ico {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--cyan-soft, #e6f7fd); color: var(--cyan, #00aced);
}
.header-phone-drop .hpd-ico svg { width: 17px; height: 17px; }
.header-phone-drop .hpd-text { display: grid; line-height: 1.2; min-width: 0; }
.header-phone-drop .hpd-num { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap; }
.header-phone-drop .hpd-link:hover .hpd-num { color: var(--cyan, #00aced); }
.header-phone-drop .hpd-name { font-size: 0.78rem; color: var(--charcoal-400, #8a929c); }
.header-phone-drop .hpd-hours {
  margin: 0.2rem 0.35rem 0.1rem;
  padding: 0.5rem 0.25rem 0.3rem;
  border-top: 1px solid var(--charcoal-100, #e8eaed);
  font-size: 0.78rem;
  color: var(--charcoal-400, #8a929c);
}

/* form0710b: the header envelope button + „Napište nám“ panel were removed
   (the contact form lives in the footer). Phone-width spacing of the remaining
   header icons (phone, cart, menu) is kept. */
@media (max-width: 480px) {
  .site-header .header-actions { gap: 0.1rem; }
}
@media (max-width: 480px) and (pointer: coarse) {
  .site-header .header-phone { min-width: 40px; min-height: 40px; padding: 0.3rem; }
  .site-header .icon-btn { width: 40px; height: 40px; }
}

/* —— Footer contact form „Napište nám“ (kontakt0610e, form0710b) ——
   Shared JS: contactFormHTML/createContactForm; rendered as a visible block next to
   the footer contacts on every page except konfigurator.html.
   .footer-contact-row = [contacts | form] on desktop, one column on phones.
   The unified footer is dark → .is-dark variant. */

.site-footer .footer-contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  gap: 1.5rem 3rem;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max, 1180px);
  margin: 0 auto 1.5rem;
}
.site-footer .footer-contact-row > .footer-contact,
.site-footer .footer-contact-row > .footer-brand {
  margin: 0 !important; /* beats konfigurátor's inline margin */
  min-width: 0;
}
.site-footer .footer-contact-row > .footer-contact { max-width: 380px; }
/* index / regály: the row goes on top, the link row below it */
.footer-minimal.has-footer-mail {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
}
.footer-minimal.has-footer-mail > .footer-contact-row { margin: 0; max-width: none; }
/* příslušenství (.footer-inner grid already spaces its children) */
.footer-inner > .footer-contact-row { margin: 0; max-width: none; }

.site-footer .footer-mail {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 1.1rem 1.25rem 1.15rem;
  border: 1px solid var(--charcoal-100, #e8eaed);
  border-top: 3px solid #00aced;
  border-radius: 14px;
  background: #fff;
  color: var(--charcoal, #1a1d21);
  box-shadow: 0 6px 20px rgba(26, 29, 33, 0.05);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}
.site-footer .footer-mail *,
.site-footer .footer-mail *::before,
.site-footer .footer-mail *::after { box-sizing: border-box; }
.site-footer .footer-mail p { max-width: none; }
.site-footer .footer-mail .fm-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.2rem;
  padding: 0;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--charcoal, #1a1d21);
}
.site-footer .footer-mail .fm-title svg { width: 19px; height: 19px; color: #00aced; flex-shrink: 0; }
.site-footer .footer-mail .fm-lead {
  margin: 0 0 0.85rem;
  font-size: 0.84rem;
  color: var(--charcoal-600, #5a6270);
}
.site-footer .footer-mail .hmd-form { display: grid; gap: 0.6rem; margin: 0; }
.site-footer .footer-mail .hmd-form[hidden] { display: none; }
.site-footer .footer-mail .hmd-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: start; /* an error under one field must not stretch the other */
}
.site-footer .footer-mail .hmd-field { display: grid; gap: 0.22rem; min-width: 0; }
.site-footer .footer-mail label {
  display: block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--charcoal-700, #3d4450);
}
.site-footer .footer-mail .hmd-req { color: #00aced; }
.site-footer .footer-mail input,
.site-footer .footer-mail textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border: 1.5px solid var(--charcoal-100, #e8eaed);
  border-radius: 9px;
  background: var(--charcoal-50, #f4f5f7);
  color: var(--charcoal, #1a1d21);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.35;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.site-footer .footer-mail textarea { resize: vertical; min-height: 4.8rem; max-height: 14rem; }
.site-footer .footer-mail input::placeholder,
.site-footer .footer-mail textarea::placeholder { color: var(--charcoal-400, #8b929e); opacity: 1; }
.site-footer .footer-mail input:focus,
.site-footer .footer-mail textarea:focus {
  outline: none;
  border-color: #00aced;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 172, 237, 0.16);
}
.site-footer .footer-mail [aria-invalid="true"] { border-color: #d64545; background: #fff; }
.site-footer .footer-mail [aria-invalid="true"]:focus { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14); }
.site-footer .footer-mail .hmd-err { margin: 0.05rem 0 0; font-size: 0.76rem; color: #c03838; }
.site-footer .footer-mail .hmd-err[hidden],
.site-footer .footer-mail .hmd-form-err[hidden] { display: none; }
.site-footer .footer-mail .hmd-form-err {
  margin: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  background: #fdf0f0;
  color: #a83232;
  font-size: 0.8rem;
}
.site-footer .footer-mail .hmd-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.site-footer .footer-mail .hmd-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 11rem;
  min-height: 44px;
  margin-top: 0.15rem;
  padding: 0.6rem 1.4rem;
  border: none;
  border-radius: 10px;
  background: #00aced;
  color: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 172, 237, 0.26);
  transition: background 0.15s, transform 0.15s;
}
.site-footer .footer-mail .hmd-submit:hover { background: #0095d1; transform: translateY(-1px); }
.site-footer .footer-mail .hmd-submit:focus-visible { outline: 2px solid var(--charcoal, #1a1d21); outline-offset: 2px; }
.site-footer .footer-mail .hmd-submit:disabled { opacity: 0.7; cursor: progress; transform: none; }
.site-footer .footer-mail .hmd-alt { margin: 0; font-size: 0.76rem; color: var(--charcoal-400, #8b929e); }
.site-footer .footer-mail a { color: #0095d1; text-decoration: none; font-weight: 600; }
.site-footer .footer-mail a:hover { text-decoration: underline; }
.site-footer .footer-mail .hmd-thanks { padding: 0.2rem 0 0.1rem; outline: none; }
.site-footer .footer-mail .hmd-thanks[hidden] { display: none; }
.site-footer .footer-mail .hmd-thanks-title { margin: 0 0 0.3rem; font-size: 1.05rem; font-weight: 700; color: #0095d1; }
.site-footer .footer-mail .hmd-thanks-text { margin: 0; font-size: 0.88rem; color: var(--charcoal-700, #3d4450); }
.site-footer .footer-mail .hmd-thanks-text a { white-space: nowrap; }
.site-footer .footer-mail .hmd-thanks-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }
.site-footer .footer-mail .hmd-thanks-actions button {
  min-height: 40px;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--charcoal-100, #e8eaed);
  border-radius: 9px;
  background: #fff;
  color: var(--charcoal, #1a1d21);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.site-footer .footer-mail .hmd-thanks-actions button:hover { border-color: #00aced; color: #0095d1; }

/* dark footers */
.site-footer .footer-mail.is-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  border-top-color: #00aced;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.85);
  color-scheme: dark;
}
.site-footer .footer-mail.is-dark .fm-title { color: #fff; }
.site-footer .footer-mail.is-dark .fm-lead { color: rgba(255, 255, 255, 0.62); }
.site-footer .footer-mail.is-dark label { color: rgba(255, 255, 255, 0.8); }
.site-footer .footer-mail.is-dark input,
.site-footer .footer-mail.is-dark textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.site-footer .footer-mail.is-dark input::placeholder,
.site-footer .footer-mail.is-dark textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.site-footer .footer-mail.is-dark input:focus,
.site-footer .footer-mail.is-dark textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: #00aced;
  box-shadow: 0 0 0 3px rgba(0, 172, 237, 0.22);
}
.site-footer .footer-mail.is-dark [aria-invalid="true"] { border-color: #ff7a7a; background: rgba(255, 122, 122, 0.08); }
.site-footer .footer-mail.is-dark [aria-invalid="true"]:focus { border-color: #ff7a7a; box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.2); }
.site-footer .footer-mail.is-dark .hmd-err { color: #ff9d9d; }
.site-footer .footer-mail.is-dark .hmd-form-err { background: rgba(214, 69, 69, 0.16); color: #ffb8b8; }
.site-footer .footer-mail.is-dark .hmd-submit { box-shadow: 0 4px 16px rgba(0, 172, 237, 0.3); }
.site-footer .footer-mail.is-dark .hmd-submit:focus-visible { outline-color: #fff; }
.site-footer .footer-mail.is-dark .hmd-alt { color: rgba(255, 255, 255, 0.55); }
.site-footer .footer-mail.is-dark a { color: #4cc9f5; }
.site-footer .footer-mail.is-dark .hmd-thanks-title { color: #4cc9f5; }
.site-footer .footer-mail.is-dark .hmd-thanks-text { color: rgba(255, 255, 255, 0.8); }
.site-footer .footer-mail.is-dark .hmd-thanks-actions button {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.site-footer .footer-mail.is-dark .hmd-thanks-actions button:hover { border-color: #00aced; color: #4cc9f5; }

/* tablets / phones: one column, form across the full width */
@media (max-width: 760px) {
  .site-footer .footer-contact-row { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .site-footer .footer-contact-row > .footer-contact { max-width: none; }
}
@media (max-width: 560px) {
  .site-footer .footer-mail { padding: 1rem 1rem 1.05rem; }
  .site-footer .footer-mail .hmd-row { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-mail .hmd-submit { width: 100%; justify-self: stretch; }
  .site-footer .footer-mail .hmd-alt { text-align: center; }
  /* ≥16px stops iOS Safari from zooming into the field on focus */
  .site-footer .footer-mail input,
  .site-footer .footer-mail textarea { font-size: 16px; }
}

/* —— fix0610k: opened mobile menu hides items already visible in the header bar —— */
.mobile-nav .mobile-nav-actions[hidden],
.mobile-nav .mobile-nav-actions > [hidden] { display: none !important; }

/* —— fix0610k / form0710b: short note under the footer contact form —— */
.hmd-consent {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--charcoal-400, #8b929e);
}
.hmd-consent a { color: #0095d1; text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.site-footer .footer-mail .hmd-consent { margin: 0; font-size: 0.74rem; color: var(--charcoal-400, #8b929e); }
.site-footer .footer-mail .hmd-consent a { text-decoration: underline; font-weight: 500; }
.site-footer .footer-mail.is-dark .hmd-consent { color: rgba(255, 255, 255, 0.5); }
@media (max-width: 560px) { .site-footer .footer-mail .hmd-consent { text-align: center; } }

/* —— net0710d: site footer (static HTML from gen_footer.py, same on every page) ——
   Desktop: [logo + contacts] [Web links] [Informace] [contact form, wider] in one row;
   konfigurátor (no form): three balanced columns. Tablet: three columns + form below.
   Phones: brand, then the two link lists side by side, then the form.
   Own .kft-* class names + footer.site-footer.kredo-footer scope so the per-page
   footer styles in the page <style> blocks cannot change its look. */
footer.site-footer.kredo-footer {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 2.1rem 1.5rem 1rem;
  background: #1a1d21;
  color: #8b929e;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font, "Outfit", system-ui, sans-serif);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: left;
  flex-shrink: 0;
}
footer.site-footer.kredo-footer *,
footer.site-footer.kredo-footer *::before,
footer.site-footer.kredo-footer *::after { box-sizing: border-box; }
footer.site-footer.kredo-footer .kft-inner { max-width: var(--max, 1180px); margin: 0 auto; }
footer.site-footer.kredo-footer .kft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 0.95fr) minmax(0, 2.15fr);
  gap: 1.5rem 2.25rem;
  align-items: start;
  margin: 0 0 1.4rem;
}
footer.site-footer.kredo-footer .kft-grid--noform {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
}
footer.site-footer.kredo-footer .kft-col { min-width: 0; margin: 0; }
footer.site-footer.kredo-footer p { margin: 0; max-width: none; color: inherit; font-size: inherit; }
footer.site-footer.kredo-footer ul { list-style: none; margin: 0; padding: 0; }
footer.site-footer.kredo-footer li { margin: 0; padding: 0; }
footer.site-footer.kredo-footer li::before { content: none; }
footer.site-footer.kredo-footer a { color: inherit; text-decoration: none; }
footer.site-footer.kredo-footer a:hover { color: #00aced; }
footer.site-footer.kredo-footer a:focus-visible { outline: 2px solid #00aced; outline-offset: 2px; border-radius: 3px; }
/* brand + contacts */
footer.site-footer.kredo-footer .kft-brand { display: flex; flex-direction: column; gap: 0.7rem; }
footer.site-footer.kredo-footer .kft-logo { display: inline-block; align-self: flex-start; line-height: 0; }
footer.site-footer.kredo-footer .kft-logo img {
  display: block; width: 132px; max-width: 100%; height: auto;
  transition: transform 0.22s ease, filter 0.22s ease;
}
footer.site-footer.kredo-footer .kft-logo:hover img { transform: scale(1.05); filter: drop-shadow(0 0 10px rgba(0, 172, 237, 0.5)); }
footer.site-footer.kredo-footer .kft-tagline { color: #c5c9d0; font-weight: 600; }
footer.site-footer.kredo-footer .kft-contact {
  display: flex; flex-direction: column; gap: 0.2rem;
  font-style: normal; font-size: 0.85rem; line-height: 1.45;
}
footer.site-footer.kredo-footer .kft-contact a { color: #c5c9d0; font-weight: 600; align-self: flex-start; }
footer.site-footer.kredo-footer .kft-contact a:hover { color: #00aced; }
/* link columns */
footer.site-footer.kredo-footer .kft-head {
  margin: 0.15rem 0 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
footer.site-footer.kredo-footer .kft-links ul,
footer.site-footer.kredo-footer .kft-legal ul { display: flex; flex-direction: column; gap: 0.38rem; }
footer.site-footer.kredo-footer .kft-links a { color: #c5c9d0; font-weight: 600; font-size: 0.9rem; }
footer.site-footer.kredo-footer .kft-legal a { font-size: 0.86rem; }
footer.site-footer.kredo-footer .kft-links a[aria-current="page"],
footer.site-footer.kredo-footer .kft-legal a[aria-current="page"] { color: #fff; }
footer.site-footer.kredo-footer .kft-links a:hover,
footer.site-footer.kredo-footer .kft-legal a:hover { color: #00aced; }
/* bottom line */
footer.site-footer.kredo-footer .kft-bottom {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
}
/* contact form column (box look comes from .site-footer .footer-mail.is-dark) */
footer.site-footer.kredo-footer .kft-form.footer-mail { padding: 0.95rem 1.1rem 0.9rem; border-radius: 12px; }
footer.site-footer.kredo-footer .kft-form .fm-title { font-size: 1.02rem; margin: 0 0 0.1rem; }
footer.site-footer.kredo-footer .kft-form .fm-lead { margin: 0 0 0.65rem; font-size: 0.82rem; }
footer.site-footer.kredo-footer .kft-form .hmd-form { gap: 0.5rem; }
footer.site-footer.kredo-footer .kft-form .hmd-row { gap: 0.5rem; }
footer.site-footer.kredo-footer .kft-form input:not([type="checkbox"]),
footer.site-footer.kredo-footer .kft-form textarea { padding: 0.48rem 0.65rem; font-size: 0.9rem; }
footer.site-footer.kredo-footer .kft-form textarea { min-height: 4.1rem; }
footer.site-footer.kredo-footer .kft-captcha:empty { display: none; }
footer.site-footer.kredo-footer .kft-captcha { max-width: 100%; overflow: hidden; }
footer.site-footer.kredo-footer .kft-form-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem;
}
footer.site-footer.kredo-footer .kft-form .hmd-submit { margin-top: 0; min-width: 9.5rem; }
footer.site-footer.kredo-footer .kft-form .hmd-alt { margin: 0; }
footer.site-footer.kredo-footer .kft-form .hmd-consent { margin: 0; font-size: 0.72rem; }
footer.site-footer.kredo-footer .kft-form--cta .kft-cta { text-decoration: none; margin: 0.15rem 0 0.55rem; }
footer.site-footer.kredo-footer .kft-form--cta .kft-cta,
footer.site-footer.kredo-footer .kft-form--cta .kft-cta:hover,
footer.site-footer.kredo-footer .kft-form--cta .kft-cta:visited { color: #fff; }
/* tablet: three columns, form below at full width */
@media (max-width: 1080px) {
  footer.site-footer.kredo-footer .kft-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
  footer.site-footer.kredo-footer .kft-form { grid-column: 1 / -1; }
}
/* phones */
@media (max-width: 720px) {
  footer.site-footer.kredo-footer { padding: 1.6rem 1rem 0.9rem; }
  footer.site-footer.kredo-footer .kft-grid,
  footer.site-footer.kredo-footer .kft-grid--noform { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem 1rem; margin-bottom: 1.1rem; }
  footer.site-footer.kredo-footer .kft-brand,
  footer.site-footer.kredo-footer .kft-form { grid-column: 1 / -1; }
  footer.site-footer.kredo-footer .kft-head { margin-bottom: 0.35rem; }
  footer.site-footer.kredo-footer .kft-links ul,
  footer.site-footer.kredo-footer .kft-legal ul { gap: 0.1rem; }
  footer.site-footer.kredo-footer .kft-form-actions { flex-direction: column; align-items: stretch; }
  footer.site-footer.kredo-footer .kft-form .hmd-alt { text-align: center; }
}
@media (pointer: coarse) {
  footer.site-footer.kredo-footer .kft-links a,
  footer.site-footer.kredo-footer .kft-legal a,
  footer.site-footer.kredo-footer .kft-contact a { display: inline-flex; align-items: center; min-height: 40px; }
}

/* —— form0710b: GDPR acknowledgement checkbox in the footer contact form —— */
.site-footer .footer-mail .hmd-check-field { gap: 0.15rem; }
.site-footer .footer-mail .hmd-check { display: flex; align-items: flex-start; gap: 0.55rem; }
.site-footer .footer-mail .hmd-check input[type="checkbox"] {
  flex: 0 0 auto; width: 20px; height: 20px; min-height: 0; margin: 0.08rem 0 0; padding: 0;
  accent-color: #00aced; cursor: pointer; border-radius: 4px;
  -webkit-appearance: auto; appearance: auto; border: 0; background: none; box-shadow: none; font-size: inherit;
}
.site-footer .footer-mail .hmd-check label {
  margin: 0; font-size: 0.84rem; font-weight: 500; line-height: 1.4; cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.site-footer .footer-mail .hmd-check label a { text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-mail .hmd-check input[aria-invalid="true"] { outline: 2px solid #d64545; outline-offset: 2px; }
.site-footer .footer-mail.is-dark .hmd-check input[aria-invalid="true"] { outline-color: #ff7a7a; }
.site-footer .footer-mail .hmd-check input:focus-visible { outline: 2px solid #00aced; outline-offset: 2px; }
@media (pointer: coarse) {
  .site-footer .footer-mail .hmd-check input[type="checkbox"] { width: 24px; height: 24px; }
  .site-footer .footer-mail .hmd-check label { padding: 0.15rem 0; }
}

/* batch1118: ikona telefonu v hlavičce zrušena na všech stránkách
   (číslo zůstává v mobilním menu a v patičce) */
.site-header .header-actions .header-phone,
.site-header .header-phone { display: none !important; }

/* batch1118: poznámka k položce košíku (atyp) */
.cart-note { margin-top: 6px; font-size: 0.82rem; line-height: 1.4; color: #3d4652; background: #fff8e6; border: 1px solid #f3dfa8; border-radius: 8px; padding: 5px 9px; overflow-wrap: anywhere; }
.cart-note b { font-weight: 700; color: #1a1d21; }
/* batch1124: úprava poznámky u položky příslušenství v košíku */
.cart-note-edit { display: grid; gap: 0.28rem; margin-top: 8px; font-size: 0.74rem; font-weight: 700; color: #3d4652; letter-spacing: 0.02em; text-transform: uppercase; }
.cart-note-edit .cart-note-hint { font-weight: 500; text-transform: none; letter-spacing: 0; color: #7a8490; }
.cart-note-edit textarea { width: 100%; min-height: 3.6rem; resize: vertical; font: inherit; font-size: 0.88rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: #1a1d21; line-height: 1.4; background: #fff; border: 1px solid #c9d3dc; border-radius: 8px; padding: 0.45rem 0.6rem; }
.cart-note-edit textarea:focus { outline: 2px solid rgba(0,172,237,0.35); border-color: #00aced; }


/* batch1121: vzorky barev — větší kolečka jako v ceníku / konfigurátoru; název napřed, RAL pod ním */
.kredo-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr));
  gap: 0.35rem 0.4rem;
  justify-items: center;
  align-items: start;
  width: 100%;
  margin: 0;
}
@media (max-width: 520px) {
  .kredo-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* batch1124: na kartě příslušenství (i v kroku 3) vzorky v jednom řádku na desktopu; na mobilu zalomení do 2 řad */
.pd-order .kredo-swatches,
.acc-card-form .kredo-swatches,
#accCardView .kredo-swatches {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: none;
  gap: 0.2rem 0.12rem;
  overflow: visible;
}
.pd-order .kredo-swatch,
.acc-card-form .kredo-swatch,
#accCardView .kredo-swatch {
  width: 32px; height: 32px;
  margin-bottom: 2.55rem;
}
.pd-order .kredo-swatch-name,
.acc-card-form .kredo-swatch-name,
#accCardView .kredo-swatch-name {
  font-size: 0.58rem;
  line-height: 1.12;
  white-space: normal;
  width: max-content;
  max-width: 4.55rem;
}
.pd-order .kredo-swatch-name small,
.acc-card-form .kredo-swatch-name small,
#accCardView .kredo-swatch-name small {
  font-size: 0.52rem;
}
@media (max-width: 640px) {
  .pd-order .kredo-swatches,
  .acc-card-form .kredo-swatches,
  #accCardView .kredo-swatches {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 18.5rem;
    gap: 0.35rem 0.4rem;
  }
  .pd-order .kredo-swatch,
  .acc-card-form .kredo-swatch,
  #accCardView .kredo-swatch {
    width: 36px; height: 36px;
    margin-bottom: 2.25rem;
  }
  .pd-order .kredo-swatch-name,
  .acc-card-form .kredo-swatch-name,
  #accCardView .kredo-swatch-name {
    font-size: 0.64rem;
    max-width: 5.2rem;
  }
  .pd-order .kredo-swatch-name small,
  .acc-card-form .kredo-swatch-name small,
  #accCardView .kredo-swatch-name small { font-size: 0.56rem; }
}

.kredo-swatch {
  position: relative;
  width: 44px; height: 44px;
  margin: 0 0 2.35rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.95);
  box-shadow:
    0 4px 12px rgba(26,29,33,.18),
    inset 0 -6px 10px rgba(0,0,0,.18),
    inset 0 5px 8px rgba(255,255,255,.45);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
  padding: 0;
  background: #ccc;
  appearance: none;
  -webkit-appearance: none;
}
.kredo-swatch::after {
  content: "";
  position: absolute; left: 22%; top: 16%;
  width: 34%; height: 28%; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.kredo-swatch:hover,
.kredo-swatch.is-active {
  transform: translateY(-1px);
  box-shadow:
    0 8px 20px rgba(26,29,33,.22),
    inset 0 -6px 10px rgba(0,0,0,.18),
    inset 0 5px 8px rgba(255,255,255,.5),
    0 0 0 3px rgba(0,172,237,.45);
}
.kredo-swatch:focus-visible { outline: 2px solid var(--cyan, #00aced); outline-offset: 3px; }
.kredo-swatch-name {
  position: absolute; left: 50%; top: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap; text-align: center; pointer-events: none;
  font-size: 0.68rem; font-weight: 600; line-height: 1.15;
  color: var(--charcoal-700, #3d4652);
  letter-spacing: -0.005em;
}
.kredo-swatch-name small {
  display: block; font-size: 0.6rem; font-weight: 500;
  color: var(--charcoal-400, #7a8490); margin-top: 1px;
}
.kredo-swatch.is-active .kredo-swatch-name,
.kredo-swatch.is-active .kredo-swatch-name small { color: var(--cyan-hover, #0095d1); }
.kredo-swatch[data-finish="pozink"] {
  background:
    radial-gradient(ellipse 42% 36% at 28% 26%, rgba(255,255,255,.92) 0%, transparent 58%),
    radial-gradient(ellipse 28% 34% at 72% 48%, rgba(148,156,168,.85) 0%, transparent 55%),
    radial-gradient(ellipse 22% 18% at 48% 72%, rgba(255,255,255,.4) 0%, transparent 50%),
    radial-gradient(ellipse 36% 28% at 18% 68%, rgba(110,118,130,.55) 0%, transparent 52%),
    radial-gradient(ellipse 18% 22% at 58% 22%, rgba(190,196,206,.7) 0%, transparent 48%),
    linear-gradient(128deg, #eef0f3 0%, #c8ced6 18%, #aeb5bf 32%, #d8dce2 46%, #949aa5 58%, #c2c7d0 72%, #b4bac4 86%, #d0d4da 100%);
  box-shadow:
    0 4px 12px rgba(26,29,33,.2),
    inset 0 -5px 10px rgba(70,76,88,.28),
    inset 0 5px 8px rgba(255,255,255,.55),
    inset 0 0 0 1px rgba(255,255,255,.25);
}
.kredo-swatch.is-active[data-finish="pozink"],
.kredo-swatch:hover[data-finish="pozink"] {
  box-shadow:
    0 8px 20px rgba(26,29,33,.22),
    inset 0 -5px 10px rgba(70,76,88,.28),
    inset 0 5px 8px rgba(255,255,255,.55),
    0 0 0 3px rgba(0,172,237,.45);
}
.kredo-swatch[data-finish="ral9003"] {
  background:
    radial-gradient(circle at 32% 28%, #fff 0%, transparent 40%),
    linear-gradient(145deg, #fff 0%, #f0f0f0 55%, #d8d8d8 100%);
}
.kredo-swatch[data-finish="ral9005"] { background: #0c0c0c; }
.kredo-swatch[data-finish="ral7040"] {
  background:
    radial-gradient(circle at 32% 28%, #d0d5da 0%, transparent 40%),
    linear-gradient(145deg, #c5cbd1 0%, #9da6ad 55%, #7a848c 100%);
}
.kredo-swatch[data-finish="ral7035"] {
  background:
    radial-gradient(circle at 32% 28%, #f0f1f1 0%, transparent 40%),
    linear-gradient(145deg, #e4e5e5 0%, #c8cacb 55%, #a8abad 100%);
}
.kredo-swatch[data-finish="ral7016"] { background: #383e42; }
.kredo-swatch.is-matte {
  box-shadow:
    0 3px 10px rgba(26,29,33,.2),
    inset 0 0 14px rgba(255,255,255,.045);
}
.kredo-swatch.is-matte::after {
  left: 18%; top: 16%; width: 72%; height: 58%;
  background: radial-gradient(ellipse at 46% 38%, rgba(255,255,255,.13), rgba(255,255,255,0) 70%);
}
.kredo-swatch.is-matte:hover,
.kredo-swatch.is-matte.is-active {
  box-shadow:
    0 8px 20px rgba(26,29,33,.22),
    inset 0 0 14px rgba(255,255,255,.06),
    0 0 0 3px rgba(0,172,237,.45);
}
@media (max-width: 520px) {
  .kredo-swatch { width: 40px; height: 40px; margin-bottom: 2.2rem; }
  .kredo-swatch-name { font-size: 0.64rem; }
  .kredo-swatch-name small { font-size: 0.56rem; }
}
