
:root {
  --magenta: #E5097F;
  --ink: #0D352F;
  --sage-dark: #54655F;
  --cloud: #F5F8F9;
  --line: #E2E9EB;
  --line-soft: #ECF1F2;
  --shadow-pop: 0 2px 6px rgba(10, 46, 40, .07), 0 22px 48px -18px rgba(10, 46, 40, .22);
  --ff-display: "Bricolage Grotesque", sans-serif !important;
  --ff-body: "Schibsted Grotesk", sans-serif !important;
  --magenta-tint: #FDEDF5;
  --ink: #0D352F;
  --sage-tint: #EFF4F2;
  --cloud: #F5F8F9;
  --text-soft: #67798A;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(10, 46, 40, .05), 0 10px 28px -14px rgba(10, 46, 40, .12);
  --shadow-pop: 0 2px 6px rgba(10, 46, 40, .07), 0 22px 48px -18px rgba(10, 46, 40, .22);
  --magenta-tint: #FDEDF5;
  --ink: #0D352F;
  --ink-deep: #07201C;
  --sage: #708680;
  --sage-dark: #54655F;
  --sage-deep: #588880;
  --sage-tint: #EFF4F2;
  --cloud: #F5F8F9;
  --line: #E2E9EB;
  --line-soft: #ECF1F2;
  --text-soft: #67798A;
  --ok: #1FA06A;
  --radius: 14px;
  --shadow-pop: 0 2px 6px rgba(10, 46, 40, .07), 0 22px 48px -18px rgba(10, 46, 40, .22);
  --ff-mono: "Spline Sans Mono", monospace;
}


/* --- pásmo a hlavička (vytváří JS okolo pevného #category-banners) --- */
#category-banners {
    max-width: 1480px !important;
  }
.brandrow-band {
  padding: 24px 0 40px;
  background: linear-gradient(180deg, #F4F8F9, #FDFEFE);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 30px;
}
.brandrow-band .wrap { max-width: 1480px; margin: 0 auto; padding: 0 24px; }

.brands-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.brands-head h2 {
  font-family: var(--ff-body);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 700;
  margin: 0;
}
.brands-arrows { display: flex; gap: 8px; }
.barrow {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: border-color .2s, background .2s, color .2s, scale .15s;
}
.barrow:hover { border-color: var(--magenta); background: var(--magenta); color: #fff; scale: 1.06; }
.barrow:disabled { opacity: .35; cursor: default; }

/* --- pevné <ul id="category-banners"> přebité na karusel "btiles" ---
   (ID selektor má vyšší specificitu než třídy large/medium/small-block-grid-*,
   takže to bezpečně přebije, i bez nutnosti !important na všem) */
#category-banners {
  display: grid !important;
  grid-auto-flow: column !important;
grid-auto-columns: clamp(252px, 19.5vw, 310px) !important;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  padding: 6px !important;
  margin: -6px !important;
  list-style: none !important;
}
#category-banners::-webkit-scrollbar { display: none; }

#category-banners.fade-r {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 150px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 150px), transparent 100%);
}
#category-banners.fade-l {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 150px);
  mask-image: linear-gradient(to right, transparent 0%, #000 150px);
}
#category-banners.fade-l.fade-r {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 150px, #000 calc(100% - 150px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 150px, #000 calc(100% - 150px), transparent 100%);
}

#category-banners > li {
  display: block !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* --- karta značky ".btile" (obsah jednotlivého banneru) --- */
.btile {
  position: relative;
  display: block;
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cloud);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .25s, translate .25s;
}
.btile:hover { box-shadow: var(--shadow-pop); translate: 0 -5px; }

.btile-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: scale .45s ease;
}
.btile:hover .btile-photo { scale: 1.05; }

/* Pozn.: originál má pod .btile-photo fotografické bannery přes celou
   dlaždici (proto "cover"). Vaše loga jsou ploché PNG na průhledném
   pozadí 256×129 — s "cover" se v poměru 3:4 ořežou po stranách.
   Pokud chcete logo celé a nezkrácené, použijte tuto variantu
   místo pravidla výše (smažte/zakomentujte to nahoře a odkomentujte
   tohle): */
/*
.btile-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 30px 22px 86px;
  transition: scale .45s ease;
}
*/

.btile-info {
  position: absolute; inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 44px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(252, 254, 255, .72) 46%, rgba(250, 253, 254, .92));
}
.btile-name {
  font: 800 19px/1.2 var(--ff-display);
  color: var(--ink);
  letter-spacing: -.01em;
  margin-left: 2px;
}
.btile-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 17px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, gap .2s;
}
.btile:hover .btile-cta {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}
.btile-cta svg { transition: translate .2s; }
.btile:hover .btile-cta svg { translate: 2px 0; }

/* statická dlaždice bez odkazu (Amazon Filters) */
.btile.is-static { cursor: default; }
.btile.is-static:hover { box-shadow: none; translate: 0 0; }
.btile.is-static:hover .btile-photo { scale: 1; }

/* ============================================================
   responsive – přesně podle vzoru (zlom na 960px)
   ============================================================ */
@media (max-width: 960px) {
  .brandrow-band { padding: 14px 0 26px;}
  .brands-head { margin-bottom: 10px; }
  .brands-head h2 { font-size: 12.5px; letter-spacing: .06em; }
  .barrow { width: 36px; height: 36px; }

  #category-banners {
    grid-auto-columns: min(76vw, 300px) !important;
    gap: 10px;
    margin: -6px -16px !important;
    padding: 6px 16px !important;
    scroll-padding-inline: 16px;
  }
  #category-banners.fade-l,
  #category-banners.fade-r,
  #category-banners.fade-l.fade-r {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .btile-name { font-size: 17px; }
  .btile-cta { padding: 8px 16px; font-size: 13px; }
  .btile-info { padding: 34px 14px 14px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .btile, .btile-photo, .btile-cta, .btile-cta svg, .barrow { transition: none; }
}

@media screen and (min-width: 768px){
  #content-in,
  #main-in {
    padding: 0;
  }
 #header-in {
  margin-bottom: 0 !important;
 }
 #content, #tabs-div, #welcome, #menu, .row.header-center, .row.header-info {
    max-width: 1480px;
    margin: 0 auto !important;
}
}

#welcome {
    padding-top: 0;
    padding-bottom: 0;
}

/* ============================================================
   BLOG BAND — sekce článků na HP
   ============================================================ */
.blog-band {
  background: var(--sage-tint);
  margin-top: 72px;
  padding: 60px 0 64px;
}
.blog-band .wrap {
      max-width: 1480px;
    margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* karta článku */
.bcard {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, translate .25s;
  text-decoration: none;
}
.bcard:hover {
  box-shadow: var(--shadow-pop);
  translate: 0 -4px;
}
.bcard-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cloud);
}
.bcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .4s;
}
.bcard:hover .bcard-media img {
  scale: 1.06;
}
.bcard-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.bcard-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-soft);
}
.bcard-cat {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--magenta-tint);
  color: var(--magenta);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: .03em;
}
.bcard h3 {
  font-size: 18.5px;
  line-height: 1.3;
}
.bcard:hover h3 {
  color: var(--magenta);
}
.bcard p {
  font-size: 14px;
  color: var(--text-soft);
}
.bcard-more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bcard:hover .bcard-more {
  color: var(--magenta);
}

/* section-head (nadpis + odkaz "Všechny články") */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head h2 {
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 800;
}
.section-head .all {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.section-head .all svg {
  transition: translate .2s;
}
.section-head .all:hover svg {
  translate: 4px 0;
}

/* kicker ("• BLOG") */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 12.5px var(--ff-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 10px;
}
.section-kicker::before {
  content: "";
  width: 9px;
  height: 10px;
  background: var(--magenta);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}


/* responzivní */
@media (max-width: 960px) {
  .blog-band {
    margin-top: 44px;
    padding: 36px 0 40px;
  }
  .blog-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 320px);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    margin: 0 -16px;
    padding: 4px 16px 8px;
  }
  .blog-grid::-webkit-scrollbar { display: none; }
  .bcard { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  .bcard h3 { font-size: 16px; }
}

/* ============================================================
   HERO / STATEMENT BAND
   ============================================================ */
.hero-band {
  position: relative;
  overflow: hidden;
  padding: 52px 0 56px;
  background:
    radial-gradient(820px 420px at 92% -12%, rgba(229, 9, 127, .07), transparent 60%),
    radial-gradient(900px 520px at -8% 115%, rgba(88, 136, 128, .13), transparent 60%),
    linear-gradient(180deg, #F4F8F9, #FDFEFE);
  border-bottom: 1px solid var(--line-soft);
}
.statement-band {
  border-top: 1px solid var(--line-soft);
  margin-top: 72px;
}
.statement-band h1 {
  font-family: "Bricolage Grotesque", sans-serif !important;
}
.hero-kicker {
  font: 600 12.5px var(--ff-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
}
.hero-band h1 {
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.015em;
}
.hero-band h1 em {
  font-style: normal;
  color: var(--magenta);
}

/* statement grid: text vlevo, obrázek vpravo */
.statement-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 44px;
  align-items: center;
}
.statement-media { position: relative; }
.statement-media img {
  width: 100%;
  max-width: 460px;
  margin: -10px 0 -16px auto;
  display: block;
  mix-blend-mode: multiply;
}

/* statistiky */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
}
.hero-stats > div {
  padding: 2px 20px 2px 0;
  margin-right: 20px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats b {
  display: block;
  font: 800 27px/1.15 var(--ff-display);
  color: var(--ink);
}
.hero-stats span {
  font-size: 13.5px;
  color: var(--text-soft);
}
.statement-cta { margin-top: 28px; }

/* problem / řešení */
.problems-head {
  margin-top: 46px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.problems-head h2 {
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 800;
}
.problems-head h2 em {
  font-style: normal;
  color: var(--magenta);
  white-space: nowrap;
}
.problems-head p {
  color: var(--text-soft);
  font-size: 14.5px;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 18px;
}
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  transition: border-color .22s, box-shadow .22s, translate .22s;
}
.problem-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-pop);
  translate: 0 -4px;
}
.problem-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 16.5px/1.3 var(--ff-display);
  color: var(--ink);
}
.problem-tag i, .problem-fix i {
  flex: none;
  width: 26px; height: 29px;
  display: grid; place-items: center;
  font-style: normal;
  font-size: 13px; font-weight: 800;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.problem-tag i { background: #FCE5EE; color: #D6336C; }
.problem-card > p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
}
.problem-fix {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding: 12px 14px;
  background: var(--sage-tint);
  border-radius: 11px;
}
.problem-fix i { background: var(--ok); color: #fff; margin-top: 1px; }
.problem-fix b {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.35;
}
.problem-fix span { font-size: 12px; color: var(--sage-dark); }
.problem-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px; font-weight: 700;
  color: var(--magenta);
}
.problem-link svg { transition: translate .2s; }
.problem-link:hover svg { translate: 3px 0; }

/* btn-ink */
.btn-ink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--ink);
  color: #fff;
  font-size: 15px; font-weight: 700;
  border-radius: 11px;
  transition: background .2s, translate .2s;
  white-space: nowrap;
}
.btn-ink:hover { background: var(--magenta); translate: 0 -2px; }

/* ============================================================
   CSS PROMĚNNÉ (pokud ještě nemáš)
   ============================================================ */


/* ============================================================
   RESPONZIVNÍ
   ============================================================ */
@media (max-width: 1120px) {
  .problems-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-band { padding: 34px 0 36px; }
  .statement-band { margin-top: 44px; }
  .statement-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-kicker { font-size: 11px; letter-spacing: .12em; margin-bottom: 10px; }
  .hero-band h1 { font-size: 28px; line-height: 1.16; }
  .statement-media { margin: 14px 0 2px; }
  .statement-media img { max-width: min(82vw, 360px); margin: 0 auto; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
  }
  .hero-stats > div {
    padding: 13px 15px;
    margin: 0;
    border-right: 0;
    background: rgba(255,255,255,.75);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
  }
  .hero-stats b { font-size: 21px; }
  .hero-stats span { font-size: 12px; }
  .statement-cta { margin-top: 16px; width: 100%; justify-content: center; }
  .problems-head { margin-top: 32px; flex-direction: column; gap: 2px; }
  .problems-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .problem-card { padding: 18px 16px; }
  .problem-tag { font-size: 15px; }
}