/* === MONSIEUR — FINÁLNÍ HLAVIČKA === */

/* === HORNÍ LIŠTA === */
.top-navigation-bar {
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 50;
}

/* === HLAVNÍ HLAVIČKA === */
header#header {
  position: relative;
  background: url("https://www.monsieur.cz/user/documents/upload/res/imgs/header-banner1.jpg") center top / cover no-repeat;
  color: #fff;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  overflow: hidden;
  z-index: 100;
  border: none;
}

/* === LOGO === */
.header-top {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  margin-bottom: 35px;
}

.header-top::after {
  content: "";
  display: block;
  width: 100vw;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.header-top .site-name-wrapper img {
  max-height: 22px !important;
  width: auto;
  display: inline-block;
  margin-top: 15px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  margin-bottom: 35px !important;
}

/* === MENU KONTEJNER === */
.navigation-in.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 300px;
  position: relative;
}

.navigation-in.menu::before,
.navigation-in.menu::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.navigation-in.menu::before {
  top: 0;
  transform: translateY(-8px);
}

.navigation-in.menu::after {
  bottom: 0;
  transform: translateY(8px);
}

/* === MENU ODKAZY === */
.navigation-in.menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex: 1;
  white-space: nowrap;
  padding-right: 30px;
}

.navigation-in.menu li a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navigation-in.menu li a:hover {
  color: #d4a24a;
}

/* === IKONY === */
.navigation-buttons {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 1px;
  color: #fff;
  flex-shrink: 0;
  padding-left: 20px;
}

.navigation-buttons a,
.navigation-buttons button {
  color: #fff;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.navigation-buttons a:hover,
.navigation-buttons button:hover {
  opacity: 0.8;
}

/* === PROMO TEXT === */
.promo-heading {
  position: absolute;
  top: 60%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  color: #ffffff;
  z-index: 30;
  max-width: 600px;
  animation: fadeInPromo 1.2s ease-in-out;
}

.promo-heading h2 {
  font-size: 4.5rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  line-height: 1.1;
}

.promo-heading p {
  font-size: 2.2rem;
  margin-top: 10px;
  line-height: 1.3;
}

.promo-heading .promo-code {
  font-size: 2.8rem;
  font-weight: 700;
  margin-top: 10px;
}

@keyframes fadeInPromo {
  from { opacity: 0; transform: translateY(-40%) translateX(-10px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* === TABLET (992–1200 px) === */
@media screen and (max-width: 1200px) and (min-width: 992px) {
  header#header {
    min-height: 500px;
    background-position: center top;
    padding-top: 60px;
  }

  .promo-heading {
    top: 58%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 500px;
  }

  .promo-heading h2 { font-size: 3.6rem; }
  .promo-heading p { font-size: 1.8rem; }
  .promo-heading .promo-code { font-size: 2.2rem; }
}

/* === MOBIL (do 991 px) === */
@media screen and (max-width: 991px) {

  /* === HLAVIČKA === */
  body.homepage header#header,
  body header#header {
    background: url("https://www.monsieur.cz/user/documents/upload/res/imgs/header-banner1.jpg") center top / cover no-repeat !important;
    min-height: 400px !important;
    padding-top: 130px !important;
    position: relative;
    overflow: hidden;
    color: #fff !important;
  }

  /* === LOGO A POZADÍ === */
  .header-top {
    background: #000 !important;
    padding: 10px 0 15px;
    justify-content: center;
    z-index: 20;
  }

  .header-top .site-name-wrapper img {
    margin-top: 45px;
    margin-bottom: 0;
  }

  /* === MENU === */
  .navigation-in.menu {
    flex-direction: column;
    padding: 0 20px;
    background: #000 !important;
    position: relative;
    z-index: 15;
  }

  .navigation-in.menu::before,
  .navigation-in.menu::after {
    display: none;
  }

  .navigation-in.menu ul {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .navigation-buttons {
    justify-content: center;
    margin-top: 10px;
  }

  /* === MENU IKONA === */
  .nav-menu-toggle {
    height: 60px;
    width: 60px;
    background: #000 !important;
  }

  /* === PROMO TEXT === */
  .promo-heading {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    background: rgba(0, 0, 0, 0.45);
    padding: 15px 10px 10px;
    border-radius: 6px;
    color: #ffffff !important;
    backdrop-filter: blur(3px);
    z-index: 10;
    line-height: 1.2;
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .promo-heading h2 {
    font-size: 2.4rem;
    line-height: 1.1;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 6px;
  }

  .promo-heading p {
    font-size: 1.1rem;
    margin: 5px 0;
    color: #ffffff !important;
    line-height: 1.2;
  }

  .promo-heading .promo-code {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff !important;
    line-height: 1.2;
  }
}

/* === doplněno 2.11 === */

/* === HERO PRODUKT — finální styl === */
#heroProductText {
  position: relative;
  margin-top: -380px;
  background: transparent;
  z-index: 5;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  max-width: none;
  padding: 60px 0 0;
}

/* Header zůstává pod produktem */
header#header {
  position: relative;
  z-index: 1;
}

/* === Rozložení sekce === */
.heroProductText__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px 0 100px;
  gap: 40px;
}

/* === Obrázek produktu — posunutý blíž k textu === */
.heroProductText__image {
  order: 2;
  flex: 1 1 35%;
  display: flex;
  justify-content: flex-start;
  margin-right: 40px;
  margin-bottom: -50px;
}
.heroProductText__image img {
  max-width: 340px;
  height: auto;
  display: block;
  position: relative;
  z-index: 5;
}

/* === Text vlevo, zarovnán nalevo === */
.heroProductText__content {
  order: 1;
  flex: 1 1 55%;
  text-align: left;
  max-width: 600px;
  margin-top: 0;
  padding-top: 380px;
  padding-bottom: 80px;
}

/* Nadpisy a text */
.heroProductText__content h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 20px;
  line-height: 1.3;
}
.heroProductText__content p {
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A1A;
  margin-bottom: 30px;
}

.heroProductText__content .btn,
.heroProductText__content a.btn,
.heroProductText__content a {
  display: inline-flex;             /* změna z inline-block na inline-flex */
  align-items: center;              /* vertikální zarovnání textu */
  justify-content: center;          /* horizontální zarovnání textu */
  background-color: #fff;           /* bílé pozadí */
  color: #000;                      /* černý text */
  border: none;                     /* bez rámečku */
  padding: 14px 36px;               /* lehce upravené rozměry */
  text-transform: uppercase;        /* kapitálky */
  letter-spacing: 2px;              /* mezery mezi písmeny */
  font-weight: 400;                 /* lehčí styl – odpovídá Helvetica Neue Roman */
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Hover efekt */
.heroProductText__content .btn:hover,
.heroProductText__content a.btn:hover,
.heroProductText__content a:hover {
  background-color: #000;
  color: #fff;
}


/* === Kategorie pod produktem === */
.homepageCategories {
  padding: 0;
}

/* === RESPONSIVNÍ ÚPRAVY === */
@media (max-width: 992px) {
  #heroProductText {
    margin-top: -100px;
    padding: 70px 20px 20px; /* ✅ tvoje úprava */

  }

  /* Nadpisy na mobilech */
  h1, h2, h3, h4, h5, h6 {
    margin-top: -30px;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
  }

  .heroProductText__inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .heroProductText__image {
    order: 1;
    justify-content: center;
    margin-right: 0;
margin-bottom: 0px;
  }

  .heroProductText__image img {
    max-width: 260px;
  }

  .heroProductText__content {
    order: 2;
    text-align: center;
    margin: 0 auto;
    padding-top: 0;
  }
}

/* === Mobilní verze: bez zásahu do Shoptet headeru === */
@media (max-width: 991px) {

  /* Uvolní kontext a zajistí, že nic nebude přesahovat */
  body, html, .overall-wrapper, header#header {
    overflow: visible !important;
    transform: none !important;
  }

  /* Necháme header řídit Shoptetem */
  header#header {
    position: relative !important;
    z-index: 9999 !important;
    background: #000;
  }

  /* odstraníme overlay efekty */
  .header-top::before,
  .header-top::after {
    display: none !important;
  }

  /* Hero sekce posunutá pod header */
  #heroProductText {
    margin-top: 0 !important;
    padding-top: 40px !important; /* nastav podle výšky loga */
  }

  /* logo přizpůsobené */
  #header .site-name-wrapper img {
    max-height: 42px;
  }

  /* Textová část hero sekce */
  .heroProductText__content {
    padding-top: 20px;
  }
}
