/* =========================================================
   homepage.css / HOMEPAGE HOSPODYNKAM.CZ
   Samostatný soubor stylů pro homepage. Doplňky k existujícím
   komponentám (*--hp) a samostatné komponenty homepage (hd-hp-*).
   Načítá se vedle styly.css, na pořadí souborů nezáleží.
   Později jde celý obsah vložit kamkoli do styly.css.
   ========================================================= */


/* =========================================================
   HOMEPAGE: ZÁSADA PRO MODIFIKÁTORY EXISTUJÍCÍCH KOMPONENT
   Každý modifikátor *--hp se píše jako zřetězená třída
   (.hd-split.hd-split--hp), takže:
   1) bez třídy *--hp se nikdy neuplatní, původní komponenta
      v kategoriích a článcích zůstává beze změny,
   2) s třídou *--hp má vyšší specificitu než všechny selektory
      původní komponenty včetně .content-inner, .article-detail
      a dalších, takže nezáleží na pořadí v styly.css.

   ZÁSADA PRO SAMOSTATNÉ KOMPONENTY hd-hp-*
   Každé pravidlo má stejnou trojici selektorů (samotná třída,
   .welcome a .content-inner) na desktopu i v @media. Mobilní
   úpravy tak vždy přebijí desktopové, ať je homepage text
   v jakémkoli obalu šablony.
   ========================================================= */


/* === HOMEPAGE: Nadpis H1 z pole Uvítací text === */

/* H1 vykresluje šablona Shoptetu z pole Uvítací text na stránce
   Titulní strana obchodu. Obal .welcome je jen na homepage, takže
   pravidlo nezmění H1 kategorií, produktů ani článků. */

.welcome-wrapper .welcome h1,
.welcome h1 {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  color: #A2213B !important;
  text-align: left !important;
  text-transform: none !important;
}

@media (max-width: 1024px) {
  .welcome-wrapper .welcome h1,
  .welcome h1 {
    font-size: 30px !important;
  }
}

@media (max-width: 860px) {
  .welcome-wrapper .welcome h1,
  .welcome h1 {
    margin-bottom: 16px !important;
  }
}

@media (max-width: 480px) {
  .welcome-wrapper .welcome h1,
  .welcome h1 {
    font-size: 26px !important;
  }
}


/* === 2 bloky text + obrázek: úvodní blok homepage === */

/* hd-split--hp / úvodní text a obrázek bez nadpisu, nadpis je H1
   z pole Uvítací text nad blokem. Modifikátor zvětší písmo odstavců
   a pojistí zarovnání vlevo, kdyby šablona text v úvodu centrovala. */

.hd-split.hd-split--hp {
  gap: 46px;
  margin: 0 0 48px;
  text-align: left;
}

.hd-split.hd-split--hp .hd-split__text p {
  font-size: 17px;
  line-height: 1.65;
  color: #3A3033;
  text-align: left !important;
}

@media (max-width: 1024px) {
  .hd-split.hd-split--hp {
    gap: 30px;
  }
  .hd-split.hd-split--hp .hd-split__text p {
    font-size: 16px;
  }
}

@media (max-width: 860px) {
  .hd-split.hd-split--hp {
    gap: 20px;
    margin: 0 0 36px;
  }
}

@media (max-width: 480px) {
  .hd-split.hd-split--hp .hd-split__text p {
    font-size: 15.5px;
    line-height: 1.6;
  }
}


/* === 2 bloky text + obrázek: varianta pro sekci (H2) na homepage === */

/* hd-split--hp-sec / nadpis H2 32 px, obrázek s pevnou šířkou 440 px.
   Kombinuje se s hd-split--reverse, když má být obrázek vlevo. */

.hd-split.hd-split--hp-sec {
  gap: 44px;
  margin: 48px 0;
  text-align: left;
}

.hd-split.hd-split--hp-sec .hd-split__title {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1D1D1D !important;
  text-align: left !important;
  text-transform: none !important;
}

.hd-split.hd-split--hp-sec .hd-split__media {
  flex: 0 0 440px;
  max-width: 440px;
}

.hd-split.hd-split--hp-sec .hd-split__text > p {
  margin: 0 0 18px !important;
  font-size: 17px;
  color: #3A3033;
  text-align: left !important;
}

@media (max-width: 1024px) {
  .hd-split.hd-split--hp-sec {
    gap: 30px;
  }
  .hd-split.hd-split--hp-sec .hd-split__media {
    flex: 0 0 360px;
    max-width: 360px;
  }
  .hd-split.hd-split--hp-sec .hd-split__title {
    font-size: 28px !important;
  }
}

@media (max-width: 860px) {
  .hd-split.hd-split--hp-sec {
    margin: 36px 0;
    gap: 22px;
  }
  .hd-split.hd-split--hp-sec .hd-split__media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 440px;
  }
  .hd-split.hd-split--hp-sec .hd-split__title {
    font-size: 26px !important;
  }
  .hd-split.hd-split--hp-sec .hd-split__text > p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .hd-split.hd-split--hp-sec .hd-split__title {
    font-size: 23px !important;
  }
}


/* === HOMEPAGE: Rozcestník po krocích (od formy až po zabalení) === */

/* =========================================================
   hd-hp-path / rozcestník kategorií ve 5 krocích
   Desktop: 5 sloupců, čísla propojená vodorovnou linkou.
   Mobil: kroky pod sebou, linka vede svisle podél čísel.
   Odkazy jsou v div obalech, ne v ul/li (šablona Shoptetu
   přidává k li vlastní šipku).
   ========================================================= */

.hd-hp-path,
.welcome .hd-hp-path,
.content-inner .hd-hp-path {
  display: block;
  width: 100%;
  margin: 48px 0;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
  font-family: inherit;
  color: #1D1D1D;
}

.hd-hp-path *,
.welcome .hd-hp-path *,
.content-inner .hd-hp-path * {
  box-sizing: border-box;
}

/* Hlavička: H2 a podnadpis */
.hd-hp-path .hd-hp-path__title,
.welcome .hd-hp-path .hd-hp-path__title,
.content-inner .hd-hp-path .hd-hp-path__title {
  margin: 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: inherit;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1D1D1D !important;
  text-align: left !important;
  text-transform: none !important;
}

.hd-hp-path .hd-hp-path__perex,
.welcome .hd-hp-path .hd-hp-path__perex,
.content-inner .hd-hp-path .hd-hp-path__perex {
  margin: 0 0 24px !important;
  padding: 0 !important;
  font-size: 17px;
  line-height: 1.55;
  color: #3A3033;
  text-align: left !important;
}

/* Růžový panel s kroky */
.hd-hp-path__panel,
.welcome .hd-hp-path__panel,
.content-inner .hd-hp-path__panel {
  padding: 26px 28px 24px;
  border-radius: 3px;
  background: #FBF5F5;
}

.hd-hp-path__steps,
.welcome .hd-hp-path__steps,
.content-inner .hd-hp-path__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 28px;
}

.hd-hp-path__step,
.welcome .hd-hp-path__step,
.content-inner .hd-hp-path__step {
  position: relative;
  min-width: 0;
}

/* Spojovací linka mezi čísly, poslední krok ji nemá */
.hd-hp-path__step::before,
.welcome .hd-hp-path__step::before,
.content-inner .hd-hp-path__step::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 40px;
  right: -34px;
  height: 2px;
  background: #E3C8CE;
  z-index: 0;
}

.hd-hp-path__step:last-child::before,
.welcome .hd-hp-path__step:last-child::before,
.content-inner .hd-hp-path__step:last-child::before {
  content: none;
}

.hd-hp-path__body,
.welcome .hd-hp-path__body,
.content-inner .hd-hp-path__body {
  min-width: 0;
}

/* Číslo kroku */
.hd-hp-path__num,
.welcome .hd-hp-path__num,
.content-inner .hd-hp-path__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 0 18px;
  border-radius: 999px;
  background: #A2213B;
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

/* Název kroku (H3) */
.hd-hp-path .hd-hp-path__name,
.welcome .hd-hp-path .hd-hp-path__name,
.content-inner .hd-hp-path .hd-hp-path__name {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: inherit;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1D1D1D !important;
  text-align: left !important;
  text-transform: none !important;
}

/* Odkazy na kategorie */
.hd-hp-path__links,
.welcome .hd-hp-path__links,
.content-inner .hd-hp-path__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.hd-hp-path__links a,
.welcome .hd-hp-path__links a,
.content-inner .hd-hp-path__links a {
  display: inline-block;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.25;
  color: #A2213B !important;
  text-decoration: none !important;
  transition: color .2s ease;
}

.hd-hp-path__links a:hover,
.welcome .hd-hp-path__links a:hover,
.content-inner .hd-hp-path__links a:hover {
  color: #000000 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* Menší desktop a tablet na šířku */
@media (max-width: 1100px) {
  .hd-hp-path__steps,
  .welcome .hd-hp-path__steps,
  .content-inner .hd-hp-path__steps {
    column-gap: 22px;
  }
  .hd-hp-path__step::before,
  .welcome .hd-hp-path__step::before,
  .content-inner .hd-hp-path__step::before {
    right: -22px;
  }
  .hd-hp-path .hd-hp-path__name,
  .welcome .hd-hp-path .hd-hp-path__name,
  .content-inner .hd-hp-path .hd-hp-path__name {
    font-size: 20px !important;
  }
  .hd-hp-path__links a,
  .welcome .hd-hp-path__links a,
  .content-inner .hd-hp-path__links a {
    font-size: 15.5px;
  }
}

/* Tablet a mobil: kroky pod sebou, svislá linka */
@media (max-width: 860px) {
  .hd-hp-path,
  .welcome .hd-hp-path,
  .content-inner .hd-hp-path {
    margin: 36px 0;
  }
  .hd-hp-path .hd-hp-path__title,
  .welcome .hd-hp-path .hd-hp-path__title,
  .content-inner .hd-hp-path .hd-hp-path__title {
    font-size: 26px !important;
  }
  .hd-hp-path .hd-hp-path__perex,
  .welcome .hd-hp-path .hd-hp-path__perex,
  .content-inner .hd-hp-path .hd-hp-path__perex {
    font-size: 16px;
    margin-bottom: 18px !important;
  }
  .hd-hp-path__panel,
  .welcome .hd-hp-path__panel,
  .content-inner .hd-hp-path__panel {
    padding: 22px 20px;
  }
  .hd-hp-path__steps,
  .welcome .hd-hp-path__steps,
  .content-inner .hd-hp-path__steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .hd-hp-path__step,
  .welcome .hd-hp-path__step,
  .content-inner .hd-hp-path__step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 16px;
    padding: 0 0 22px;
  }
  .hd-hp-path__step:last-child,
  .welcome .hd-hp-path__step:last-child,
  .content-inner .hd-hp-path__step:last-child {
    padding-bottom: 0;
  }
  .hd-hp-path__step::before,
  .welcome .hd-hp-path__step::before,
  .content-inner .hd-hp-path__step::before {
    top: 34px;
    bottom: 0;
    left: 16px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .hd-hp-path__num,
  .welcome .hd-hp-path__num,
  .content-inner .hd-hp-path__num {
    width: 34px;
    height: 34px;
    margin: 0;
    font-size: 15px;
  }
  .hd-hp-path .hd-hp-path__name,
  .welcome .hd-hp-path .hd-hp-path__name,
  .content-inner .hd-hp-path .hd-hp-path__name {
    margin: 4px 0 10px !important;
    font-size: 20px !important;
  }
  .hd-hp-path__links,
  .welcome .hd-hp-path__links,
  .content-inner .hd-hp-path__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
  .hd-hp-path__links a,
  .welcome .hd-hp-path__links a,
  .content-inner .hd-hp-path__links a {
    font-size: 16px;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-color: #E3C8CE !important;
  }
}

@media (max-width: 480px) {
  .hd-hp-path .hd-hp-path__title,
  .welcome .hd-hp-path .hd-hp-path__title,
  .content-inner .hd-hp-path .hd-hp-path__title {
    font-size: 23px !important;
  }
  .hd-hp-path__panel,
  .welcome .hd-hp-path__panel,
  .content-inner .hd-hp-path__panel {
    padding: 20px 16px;
  }
  .hd-hp-path__step,
  .welcome .hd-hp-path__step,
  .content-inner .hd-hp-path__step {
    column-gap: 13px;
  }
  .hd-hp-path .hd-hp-path__name,
  .welcome .hd-hp-path .hd-hp-path__name,
  .content-inner .hd-hp-path .hd-hp-path__name {
    font-size: 19px !important;
  }
  .hd-hp-path__links a,
  .welcome .hd-hp-path__links a,
  .content-inner .hd-hp-path__links a {
    font-size: 15.5px;
  }
}


/* === HOMEPAGE: Očíslovaný postup === */

/* =========================================================
   hd-hp-steps / krátký očíslovaný postup (číslo, nadpis, popis)
   Vkládá se do textu, například do hd-split__text.
   Vše jsou span a div, žádné p ani li, aby se nepletly
   styly šablony a hd-split.
   ========================================================= */

.hd-hp-steps,
.welcome .hd-hp-steps,
.content-inner .hd-hp-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
}

.hd-hp-steps__item,
.welcome .hd-hp-steps__item,
.content-inner .hd-hp-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hd-hp-steps__num,
.welcome .hd-hp-steps__num,
.content-inner .hd-hp-steps__num {
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #A2213B;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: lining-nums;
  -webkit-font-feature-settings: "lnum" 1;
  font-feature-settings: "lnum" 1;
}

.hd-hp-steps__body,
.welcome .hd-hp-steps__body,
.content-inner .hd-hp-steps__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-top: 4px;
}

.hd-hp-steps__name,
.welcome .hd-hp-steps__name,
.content-inner .hd-hp-steps__name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #1D1D1D;
}

.hd-hp-steps__text,
.welcome .hd-hp-steps__text,
.content-inner .hd-hp-steps__text {
  display: block;
  font-size: 15px;
  line-height: 1.5;
  color: #3A3033;
}

.hd-hp-steps__text strong,
.welcome .hd-hp-steps__text strong,
.content-inner .hd-hp-steps__text strong {
  display: inline;
  font-weight: 700;
  color: #1D1D1D;
  font-size: inherit;
  line-height: inherit;
}

@media (max-width: 480px) {
  .hd-hp-steps__item,
  .welcome .hd-hp-steps__item,
  .content-inner .hd-hp-steps__item {
    gap: 12px;
  }
  .hd-hp-steps__num,
  .welcome .hd-hp-steps__num,
  .content-inner .hd-hp-steps__num {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .hd-hp-steps__body,
  .welcome .hd-hp-steps__body,
  .content-inner .hd-hp-steps__body {
    padding-top: 3px;
  }
  .hd-hp-steps__name,
  .welcome .hd-hp-steps__name,
  .content-inner .hd-hp-steps__name {
    font-size: 17px;
  }
}


/* === HOMEPAGE: Tlačítka === */

/* =========================================================
   hd-hp-btns / řada tlačítek na homepage
   hd-hp-btn            plné vínové (hlavní akce)
   hd-hp-btn--outline   bílé s vínovým rámečkem (vedlejší akce)
   ========================================================= */

.hd-hp-btns,
.welcome .hd-hp-btns,
.content-inner .hd-hp-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 4px 0 0;
}

.hd-hp-btn,
.welcome .hd-hp-btn,
.content-inner .hd-hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  box-sizing: border-box;
  border: 1.5px solid #A2213B;
  border-radius: 2px;
  background: #A2213B;
  color: #FFFFFF !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.hd-hp-btn:hover,
.welcome .hd-hp-btn:hover,
.content-inner .hd-hp-btn:hover {
  background: #000000;
  border-color: #000000;
  color: #FFFFFF !important;
}

.hd-hp-btn--outline,
.welcome .hd-hp-btn--outline,
.content-inner .hd-hp-btn--outline {
  padding: 10px 20px;
  background: #FFFFFF;
  color: #A2213B !important;
}

.hd-hp-btn--outline:hover,
.welcome .hd-hp-btn--outline:hover,
.content-inner .hd-hp-btn--outline:hover {
  background: #A2213B;
  border-color: #A2213B;
  color: #FFFFFF !important;
}

/* Mobil: tlačítka na celou šířku pod sebou */
@media (max-width: 480px) {
  .hd-hp-btns,
  .welcome .hd-hp-btns,
  .content-inner .hd-hp-btns {
    flex-direction: column;
    gap: 10px;
  }
  .hd-hp-btn,
  .welcome .hd-hp-btn,
  .content-inner .hd-hp-btn {
    width: 100%;
  }
}


/* === Trust box: vystředěná varianta pro homepage === */

/* hd-trust--hp / vše vystředěné pod sebou: eyebrow, H2 s vínovou
   linkou, text a pod ním USP ve 4 sloupcích s ikonou nahoře.
   Ikony se berou z existující sady hd-trust__icon--*. */

.hd-trust.hd-trust--hp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 48px 0;
  padding: 48px 56px;
  border-radius: 3px;
  text-align: center;
}

.hd-trust.hd-trust--hp .hd-trust__text-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 820px;
}

.hd-trust.hd-trust--hp .hd-trust__eyebrow {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-align: center !important;
}

/* Nadpis H2 s krátkou vínovou linkou pod ním */
.hd-trust.hd-trust--hp .hd-trust__title {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1D1D1D !important;
  text-align: center !important;
  text-transform: none !important;
}

.hd-trust.hd-trust--hp .hd-trust__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: #A2213B;
}

.hd-trust.hd-trust--hp .hd-trust__text {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 17px;
  line-height: 1.7;
  color: #3A3033;
  text-align: center !important;
}

/* USP ve 4 sloupcích, ikona nahoře */
.hd-trust.hd-trust--hp .hd-trust__usp {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  padding-top: 36px;
}

.hd-trust.hd-trust--hp .hd-trust__item {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.hd-trust.hd-trust--hp .hd-trust__icon {
  width: 40px;
  height: 40px;
}

.hd-trust.hd-trust--hp .hd-trust__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hd-trust.hd-trust--hp .hd-trust__label {
  font-size: 16px;
  text-align: center;
}

.hd-trust.hd-trust--hp .hd-trust__sub {
  font-size: 15px;
  line-height: 1.4;
  color: #555555;
  text-align: center;
}

/* Tablet: USP 2 x 2 */
@media (max-width: 860px) {
  .hd-trust.hd-trust--hp {
    margin: 36px 0;
    padding: 36px 28px;
  }
  .hd-trust.hd-trust--hp .hd-trust__title {
    font-size: 26px !important;
  }
  .hd-trust.hd-trust--hp .hd-trust__text {
    font-size: 16px;
    line-height: 1.65;
  }
  .hd-trust.hd-trust--hp .hd-trust__usp {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .hd-trust.hd-trust--hp {
    padding: 30px 18px;
  }
  .hd-trust.hd-trust--hp .hd-trust__eyebrow {
    font-size: 11.5px;
    letter-spacing: 0.1em;
  }
  .hd-trust.hd-trust--hp .hd-trust__title {
    font-size: 23px !important;
  }
  .hd-trust.hd-trust--hp .hd-trust__title::after {
    margin-top: 14px;
  }
  .hd-trust.hd-trust--hp .hd-trust__icon {
    width: 34px;
    height: 34px;
  }
  .hd-trust.hd-trust--hp .hd-trust__label {
    font-size: 15px;
  }
  .hd-trust.hd-trust--hp .hd-trust__sub {
    font-size: 13.5px;
  }
}


/* === HOMEPAGE: Oblíbené značky === */

/* =========================================================
   hd-hp-brands / pruh s logy značek
   Vlevo H2 a odkaz na všechny značky, vpravo mřížka log.
   Desktop 4 sloupce, mobil 2 sloupce, nadpis nad logy.
   Čtvercová loga (Wilton, FunCakes) dostanou modifikátor
   hd-hp-brands__logo--square, aby nebyla drobná.
   ========================================================= */

.hd-hp-brands,
.welcome .hd-hp-brands,
.content-inner .hd-hp-brands {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  margin: 40px 0;
  padding: 0;
  box-sizing: border-box;
  text-align: left;
  font-family: inherit;
}

.hd-hp-brands *,
.welcome .hd-hp-brands *,
.content-inner .hd-hp-brands * {
  box-sizing: border-box;
}

/* Levý sloupec */
.hd-hp-brands__head,
.welcome .hd-hp-brands__head,
.content-inner .hd-hp-brands__head {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hd-hp-brands .hd-hp-brands__title,
.welcome .hd-hp-brands .hd-hp-brands__title,
.content-inner .hd-hp-brands .hd-hp-brands__title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: inherit;
  font-size: 32px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #1D1D1D !important;
  text-align: left !important;
  text-transform: none !important;
}

.hd-hp-brands__all,
.welcome .hd-hp-brands__all,
.content-inner .hd-hp-brands__all {
  align-self: flex-start;
  font-size: 14px;
  line-height: 1.4;
  color: #1D1D1D !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.hd-hp-brands__all:hover,
.welcome .hd-hp-brands__all:hover,
.content-inner .hd-hp-brands__all:hover {
  color: #A2213B !important;
}

/* Mřížka log */
.hd-hp-brands__grid,
.welcome .hd-hp-brands__grid,
.content-inner .hd-hp-brands__grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.hd-hp-brands__item,
.welcome .hd-hp-brands__item,
.content-inner .hd-hp-brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 6px 14px;
  border: 1px solid #E6E1DF;
  border-radius: 2px;
  background: #FFFFFF;
  text-decoration: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.hd-hp-brands__item:hover,
.welcome .hd-hp-brands__item:hover,
.content-inner .hd-hp-brands__item:hover {
  border-color: #A2213B;
  box-shadow: 0 2px 8px rgba(162, 33, 59, 0.10);
}

.hd-hp-brands__logo,
.welcome .hd-hp-brands__logo,
.content-inner .hd-hp-brands__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 110px;
  max-height: 26px;
  margin: 0;
  border: 0;
  object-fit: contain;
}

.hd-hp-brands__logo--square,
.welcome .hd-hp-brands__logo--square,
.content-inner .hd-hp-brands__logo--square {
  max-height: 38px;
}

/* Tablet: nadpis nad logy */
@media (max-width: 1024px) {
  .hd-hp-brands,
  .welcome .hd-hp-brands,
  .content-inner .hd-hp-brands {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .hd-hp-brands__head,
  .welcome .hd-hp-brands__head,
  .content-inner .hd-hp-brands__head {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .hd-hp-brands,
  .welcome .hd-hp-brands,
  .content-inner .hd-hp-brands {
    margin: 32px 0;
  }
  .hd-hp-brands .hd-hp-brands__title,
  .welcome .hd-hp-brands .hd-hp-brands__title,
  .content-inner .hd-hp-brands .hd-hp-brands__title {
    font-size: 26px !important;
  }
}

/* Mobil: 2 sloupce */
@media (max-width: 600px) {
  .hd-hp-brands__grid,
  .welcome .hd-hp-brands__grid,
  .content-inner .hd-hp-brands__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hd-hp-brands .hd-hp-brands__title,
  .welcome .hd-hp-brands .hd-hp-brands__title,
  .content-inner .hd-hp-brands .hd-hp-brands__title {
    font-size: 23px !important;
  }
  .hd-hp-brands__item,
  .welcome .hd-hp-brands__item,
  .content-inner .hd-hp-brands__item {
    height: 50px;
    padding: 6px 10px;
  }
}


/* === HOMEPAGE: Informační lišta s tlačítkem (velkoobchod) === */

/* =========================================================
   hd-hp-band / jednořádková lišta: ikona, nadpis s textem
   a tlačítko vpravo. Tlačítko je hd-hp-btn hd-hp-btn--outline
   hd-hp-btn--sm. Na mobilu se skládá pod sebe.
   ========================================================= */

.hd-hp-band,
.welcome .hd-hp-band,
.content-inner .hd-hp-band {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin: 40px 0;
  padding: 16px 24px;
  box-sizing: border-box;
  border-radius: 2px;
  background: #FCF4F5;
  text-align: left;
  font-family: inherit;
  color: #1D1D1D;
}

.hd-hp-band *,
.welcome .hd-hp-band *,
.content-inner .hd-hp-band * {
  box-sizing: border-box;
}

/* Ikona, nákupní taška */
.hd-hp-band__icon,
.welcome .hd-hp-band__icon,
.content-inner .hd-hp-band__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A2213B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9h16l-1 11H5z'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hd-hp-band__body,
.welcome .hd-hp-band__body,
.content-inner .hd-hp-band__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.hd-hp-band__title,
.welcome .hd-hp-band__title,
.content-inner .hd-hp-band__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #1D1D1D;
}

.hd-hp-band__text,
.welcome .hd-hp-band__text,
.content-inner .hd-hp-band__text {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: #3A3033;
}

.hd-hp-band__text strong,
.welcome .hd-hp-band__text strong,
.content-inner .hd-hp-band__text strong {
  display: inline;
  font-weight: 700;
  color: #1D1D1D;
  font-size: inherit;
  line-height: inherit;
}

.hd-hp-band .hd-hp-btn,
.welcome .hd-hp-band .hd-hp-btn,
.content-inner .hd-hp-band .hd-hp-btn {
  flex: 0 0 auto;
}

/* Menší tlačítko, doplněk k hd-hp-btn */
.hd-hp-btn--sm,
.welcome .hd-hp-btn--sm,
.content-inner .hd-hp-btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

/* Mobil: pod sebe, tlačítko na celou šířku */
@media (max-width: 680px) {
  .hd-hp-band,
  .welcome .hd-hp-band,
  .content-inner .hd-hp-band {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px 16px;
    margin: 32px 0;
    padding: 18px;
  }
  .hd-hp-band__icon,
  .welcome .hd-hp-band__icon,
  .content-inner .hd-hp-band__icon {
    width: 28px;
    height: 28px;
    margin-top: 2px;
  }
  .hd-hp-band__body,
  .welcome .hd-hp-band__body,
  .content-inner .hd-hp-band__body {
    flex: 1 1 0;
  }
  .hd-hp-band__title,
  .welcome .hd-hp-band__title,
  .content-inner .hd-hp-band__title {
    font-size: 18px;
  }
  .hd-hp-band__text,
  .welcome .hd-hp-band__text,
  .content-inner .hd-hp-band__text {
    font-size: 15px;
  }
  .hd-hp-band .hd-hp-btn,
  .welcome .hd-hp-band .hd-hp-btn,
  .content-inner .hd-hp-band .hd-hp-btn {
    flex: 1 1 100%;
    width: 100%;
  }
}


/* === FAQ: varianta pro homepage === */

/* hd-faq--hp / nadpis H2 jako ostatní sekce homepage (32 px, tmavý),
   větší otázky a odpovědi, linka i pod poslední otázkou.
   Rozbalování zůstává z hd-faq beze změny.
   Obal má selektor div.hd-faq.hd-faq--hp, protože původní
   .content-inner .hd-faq má stejnou specificitu jako dvě třídy. */

div.hd-faq.hd-faq--hp {
  margin: 48px 0;
  text-align: left;
}

.hd-faq.hd-faq--hp .hd-faq__title {
  margin: 0 0 12px !important;
  font-size: 32px !important;
  line-height: 1.25 !important;
  color: #1D1D1D !important;
  text-align: left !important;
}

.hd-faq.hd-faq--hp .hd-faq__q {
  align-items: center;
  gap: 12px;
  padding: 15px 28px 15px 0;
  font-size: 17px;
}

.hd-faq.hd-faq--hp .hd-faq__icon {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
  margin-top: 0;
}

.hd-faq.hd-faq--hp .hd-faq__item:last-child {
  border-bottom: 1px solid #ead3d8;
}

.hd-faq.hd-faq--hp .hd-faq__a {
  padding: 0 28px 18px 36px;
}

.hd-faq.hd-faq--hp .hd-faq__a p {
  font-size: 16px;
  line-height: 1.6;
  color: #3A3033;
  text-align: left !important;
}

@media (max-width: 860px) {
  div.hd-faq.hd-faq--hp {
    margin: 36px 0;
  }
  .hd-faq.hd-faq--hp .hd-faq__title {
    font-size: 26px !important;
  }
}

@media (max-width: 480px) {
  .hd-faq.hd-faq--hp .hd-faq__title {
    font-size: 23px !important;
  }
  .hd-faq.hd-faq--hp .hd-faq__q {
    align-items: flex-start;
    font-size: 16px;
  }
  .hd-faq.hd-faq--hp .hd-faq__icon {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
    margin-top: 1px;
  }
  .hd-faq.hd-faq--hp .hd-faq__a {
    padding: 0 8px 16px 34px;
  }
  .hd-faq.hd-faq--hp .hd-faq__a p {
    font-size: 15px;
  }
}
