/* ==============================
   FOOTER – full-width background
   ============================== */

/* Základ */
.container.footer-rows {
  position: relative;
  z-index: 0;
  padding: 30px 20px;
  color: #ffffff; /* bílý text */
}

/* Desktop: full-bleed přes okraj viewportu (Safari-safe) */
@media (min-width: 768px) {
  .container.footer-rows {
    background-color: #19202c;
    /* "Roztažení" pozadí přes kraje viewportu */
    box-shadow: 0 0 0 100vmax #19202c;
    clip-path: inset(0 -100vmax);
    -webkit-clip-path: inset(0 -100vmax);
  }
}

/* Mobil: jednoduše podbarvit samotný container */
@media (max-width: 767px) {
  .container.footer-rows {
    background-color: #19202c;
    padding: 20px 15px;
    box-shadow: none;
    clip-path: none;
    -webkit-clip-path: none;
  }
}

/* Obsah nad pozadím */
.container.footer-rows > * {
  position: relative;
  z-index: 1;
}

/* Nadpisy + odkazy */
.container.footer-rows h4,
.container.footer-rows h4 span { color: #ffffff; }

.container.footer-rows a {
  color: #e19457;
  text-decoration: none;
  transition: color .2s ease;
}
.container.footer-rows a:hover { color: #a56d44; }

/* (Odstraněno: původní ::before varianta – byla v kolizi a zbytečná) */


/* ==============================
   INFO HLÁŠKA – horní proužek
   ============================== */

.site-msg.information {
  all: unset;                 /* zruší default Shoptetu */
  display: block;
  position: relative;
  width: 100%;
  background-color: #990000;
  color: #ffffff;
  text-align: center;
  padding: 12px 15px;
  z-index: 999;               /* header/menu bude nad tím */
  box-sizing: border-box;
}

.site-msg.information .text {
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
}

.site-msg.information a {
  color: #e19457;
  text-decoration: none;
  transition: color .2s ease;
}
.site-msg.information a:hover { color: #a56d44; }

.site-msg.information .close {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  width: 20px;
  height: 20px;
}

/* Odstranění bílého pruhu nahoře a správné vrstvení */
html, body { margin: 0 !important; }

.overall-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* skip-link ať nezabírá prostor */
.skip-link.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  top: 0 !important;
  left: 0 !important;
}

/* Bez mezery nad proužkem */
.overall-wrapper > .site-msg.information { margin-top: 0 !important; }

/* Po zavření nezůstane prázdný box */
.site-msg.information.hidden,
.site-msg.information[style*="display:none"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Mobil: menu nad proužkem + prevence horizontálního scrollu */
@media (max-width: 767px) {
  #header { position: relative; z-index: 3000 !important; } /* header/hamburger nad proužkem */
  .site-msg.information { z-index: 1000 !important; }       /* proužek pod menu */
  html, body { overflow-x: hidden; }
}


/* ==============================
   KOŠÍK – nad proužkem na mobilu
   ============================== */

@media (max-width: 767px) {
  .content-window.cart-window[role="dialog"][aria-hidden="false"] {
    position: fixed !important;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 5000 !important; /* nad #header (3000) i .site-msg (1000) */
  }
  .content-window.cart-window[role="dialog"][aria-hidden="false"] .content-window-in {
    position: relative;
    z-index: 5001 !important;
  }
}


/* ==============================
   RESPONSIVNÍ VIDEO
   ============================== */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==============================
   KONTAKT – layout a prvky
   ============================== */

.farma-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: inherit;
}

.farma-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 40px;
}

.farma-col { min-width: 0; }

.farma-card {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  box-shadow: none;
  padding: 22px;
  height: 100%;
}

.farma-block p { margin: 0 0 14px; }
.farma-block a { text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.15); }
.farma-block a:hover { border-bottom-color: currentColor; }

.farma-map-wrap {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  min-height: 380px;
  display: flex;
}
.farma-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.farma-banner { margin: 36px 0 28px; }
.farma-banner img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0;
}

.farma-form {
  background: #f9faf9;
  border: 1px solid #e6eae6;
  border-radius: 0;
  padding: 24px;
}
.farma-form h4 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.farma-contact .btn,
.farma-contact button,
.farma-contact input[type="submit"] {
  background: #cb8851;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 12px 20px;
  cursor: pointer;
  transition: filter .2s ease;
}
.farma-contact .btn:hover,
.farma-contact button:hover,
.farma-contact input[type="submit"]:hover {
  filter: brightness(0.95);
}

@media (max-width: 980px) {
  .farma-row { grid-template-columns: 1fr; }
  .farma-card { height: auto; }
  .farma-map-wrap { min-height: 320px; height: auto; }
}
@media (max-width: 560px) {
  .farma-contact { padding: 28px 16px; }
  .farma-card, .farma-form { padding: 18px; }
}


/* ==============================
   KONKURENČNÍ VÝHODY – mobil
   (homepage + kategorie + produkt)
   ============================== */

@media (max-width: 767px) {
  .content-wrapper-in .benefitBanner.position--benefitHomepage,
  .benefitBanner.position--benefitHomepage,
  .benefitBanner.position--benefitCategory,
  .benefitBanner.position--benefitProduct {
    display: flex;
    flex-wrap: nowrap;            /* 4 ikony vedle sebe */
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin: 10px 0 0 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .benefitBanner.position--benefitHomepage .benefitBanner__item,
  .benefitBanner.position--benefitCategory .benefitBanner__item,
  .benefitBanner.position--benefitProduct  .benefitBanner__item {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    box-sizing: border-box;
  }

  .benefitBanner__link,
  .benefitBanner__picture,
  .benefitBanner__img {
    display: block;
    width: 100%;
  }
  .benefitBanner__img {
    max-width: 100%;
    height: auto;
  }

  /* Pojistka – žádný horizontální posuvník */
  body,
  .content-wrapper-in {
    overflow-x: hidden;
  }
}


/* ==============================
   Drobnosti (podpis v patičce apod.)
   ============================== */

.signature-wrapper {
  white-space: nowrap;
  font-size: 0.9em;
}
.OD-PODPIS { color: #000; }
