/* Šipky karuselu */
.slick-arrow {
  background-color: #64898F !important;
  color: white !important;
  width: 60px !important;
  height: 60px !important;
  border-radius: 50%;
  border: none;
  font-size: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: absolute;
  top: 45% !important;
}
.slick-prev::before,
.slick-next::before {
  font-size: 30px;
  color: white;
  content: '‹';
}
.slick-next::before {
  content: '›';
}
.slick-prev { left: -25px !important; }
.slick-next { right: -25px !important; }

/* Logo */
#header .site-name a img { max-height:150px }
@media(max-width:768px) { #header .site-name a img { max-height:80px } }
@media(max-width:480px) { #header .site-name a img { max-height:60px } }

/* Menu barvy */
@media(min-width:768px) {
  #header::after { background:#85B7BE }
  .navigation-in { background:transparent }
  .navigation-in>ul>li>a, .submenu-arrow::after, .menu-helper::after { color:#fff }
}

/* Barevné sekce */
.footer { background:#64898F }
.opal-sidebar { background:#4B686B }
aside.sidebar .box.box-categories h4, aside #categories, .subcategories.with-image li a, #filters h4, aside.sidebar .top-products, aside.sidebar .box-onlinePayments p { background:#C0D7D3 }

.external-fonts-loaded body, body.blank-mode, body { color:#233132 }
aside .categories a, .subcategories.with-image li a, ol.top-products li a, #filters .ui-slider-horizontal .ui-slider-handle { color:#233132 }

.flags .flag.flag-tip { background:#85B7BE }
.newsletter { background:#4B686B }
.newsletter .newsletter-header { color:#F2F1F0 }

/* Produkty */
.products-block .p-bottom .p-tools {
  background:#85B7BE;
  color:#F2F1F0;
  border-radius:8px;
  font-size:20px;
  text-align:center
}
.products-block.products .product .btn,
.products-block.products .product button {
  padding:5% 10%;
  margin:auto;
  font-size:.8em;
  text-transform:uppercase
}
.products-block.products .product .p-in { flex-direction:column-reverse }
.products-block.products .product .prices .price-final strong { font-size:1.3em }
.products-block.products .product .p .name { min-height:40px }
article { max-width:95% }
.product-top .p-detail-info .p-short-description a {
  color:#85B7BE !important;
  font-size:1em
}

/* Info box */
.site-msg.information,
div.message.notice-message { background:#D0A852 }

/* Root proměnné */
:root {
  --contact-form-border-radius:10px;
  --contact-form-BG:#f7f7f7;
  --contact-form-BG-hover:#eaeaea;
  --contact-form-title-color:var(--color-secondary);
  --contact-form-text-color:#000;
  --contact-form-link-color:var(--color-secondary);
  --contact-form-icon-color:var(--color-secondary);
  --contact-form-border-color:#f7f7f7;
  --header-info-bar-BG:var(--color-secondary);
  --header-info-bar-BG-hover:var(--color-secondary-hover);
  --header-info-bar-text-color:#fff;
  --header-info-bar-icon-color:#fff;
  --header-info-bar-btn-BG:#fff;
  --header-info-bar-btn-BG-hover:#fff;
  --header-info-bar-btn-text-color:#000;
  --header-info-bar-btn-text-color-hover:#000;
  --banner-klik-border-radius:10px;
  --banner-klik-BG:#64898F;
  --banner-klik-BG-hover:#e7e7e7;
  --banner-klik-title-color:#FFF;
  --banner-klik-text-color:#FFF;
  --banner-klik-icon-color:#FFF;
  --banner-klik-border-color:var(--color-secondary);
}

/* Blog / článek */
body.type-post #content-wrapper { max-width:100% }
body.type-post aside { display:block }

/* Cena u produktu (desktop) */
@media(min-width:769px) {
  .product-top .price-line { margin-top:60px }
  .product-top .price-line strong,
  .product-top .price-final {
    font-size:32px !important;
    font-weight:700 !important
  }
}

/* Výpis produktů na mobilu */
@media(max-width:768px) {
  .products-block .product .p {
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important
  }
  .products-block .product .p .name {
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:unset !important;
    font-size:.9em !important;
    line-height:1.3em !important;
    min-height:3.6em !important;
    margin-bottom:1.5em !important
  }
  .products-block .product .availability {
    margin-top:1.5em !important
  }
}

/* Vlastní značka: mrazuvzdorné */
.flag.flag-mrazuvzdorne {
  background: transparent !important;
  color: transparent !important;
  padding: 0 !important;
  width: 100px;
  height: 100px;
  display: inline-block;
  position: relative;
}
.flag.flag-mrazuvzdorne::before {
  content: "";
  display: block;
  width: 90%;
  height: 90%;
  background: url('https://www.villagestyle.cz/user/documents/upload/Příznaky/Mrazuvzdorne-CB.png') no-repeat center center;
  background-size: contain;
}

.flag.flag-outdoor-textil {
  background: transparent !important;
  color: transparent !important;
  padding: 0 !important;
  width: 100px;
  height: 100px;
  display: inline-block;
  position: relative;
  cursor: help;
}

/* Obrázek štítku */
.flag.flag-outdoor-textil::before {
  content: "";
  display: block;
  width: 90%;
  height: 90%;
  background: url('https://www.villagestyle.cz/user/documents/upload/Příznaky/modre_outdoor.png') no-repeat center center;
  background-size: contain;
}

/* Styl sekce s newsletterem */
.odber-in {
  background: linear-gradient(135deg, #eaf3f4, #d0e0e2);
  padding: 60px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Nadpis */
.odber-in .newsletter--header h2,
.odber-in h2,
.odber-in h3 {
  font-size: 28px;
  color: #2d3a3b;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Text pod nadpisem (volitelně přidej v HTML) */
.odber-in .newsletter-text {
  font-size: 16px;
  color: #4a5a5b;
  margin-bottom: 25px;
}

/* Input + tlačítko */
.odber-in input[type="email"] {
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #64898f;
  border-radius: 6px;
  width: 280px;
  max-width: 90%;
  margin-right: 10px;
  box-sizing: border-box;
}
.odber-in button,
.odber-in input[type="submit"] {
  background-color: #64898f;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 10px;
}
.odber-in button:hover,
.odber-in input[type="submit"]:hover {
  background-color: #4b6d73;
  transform: scale(1.05);
}

/* Responsivita */
@media (max-width: 600px) {
  .odber-in input[type="email"] {
    display: block;
    margin: 0 auto 10px auto;
    width: 90%;
  }
  .odber-in button,
  .odber-in input[type="submit"] {
    width: 90%;
  }
}

/* Styl pro prázdné výsledky hledání */
.vs-empty-box {
  background-color: #d3e2df;
  padding: 3rem 2rem;
  margin-top: 2rem;
  text-align: center;
  border-radius: 12px;
  font-family: inherit;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #b8cbc8;
}
.vs-empty-box h2 {
  color: #2c4246;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.vs-empty-box p {
  color: #2c4246;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.vs-empty-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.vs-empty-buttons a {
  background-color: #2c4246;
  color: #ffffff;
  padding: 0.75rem 1.6rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.vs-empty-buttons a:hover {
  background-color: #1e2e30;
  transform: translateY(-2px);
}

/* === VILLAGE STYLE – FINÁLNÍ UNIVERZÁLNÍ NASTAVENÍ CAROUSELU === */
#carousel .carousel-slide-caption {
  position: absolute !important;
  bottom: 130px !important;         /* ⬆️ posunuto výš oproti původnímu 50px */
  left: 8% !important;              /* 🔹 posun DOLEVA */
  right: auto !important;
  width: auto !important;
  max-width: 440px !important;
  background: rgba(35, 49, 50, 0.45) !important; /* 💙 průhledné modrozelené pozadí */
  backdrop-filter: blur(2px);
  padding: 25px 35px !important;
  border-radius: 0 !important;
  text-align: center !important;
  color: #fff !important;
  z-index: 5 !important;
  margin: 0 !important;
  transform: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
/* --- TITULEK --- */
#carousel .carousel-slide-caption h2 {
  font-size: 2.4rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 0.4em 0 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
  text-align: center !important;
  width: 100% !important;
}
/* --- PODTITULEK --- */
#carousel .carousel-slide-caption p {
  font-size: 1.1rem !important;
  color: #f3f3f3 !important;
  margin-bottom: 1.4em !important;
  font-weight: 600 !important;
  line-height: 1.5;
  text-align: center !important;
  width: 100% !important;
}
/* --- TLAČÍTKO --- */
#carousel .carousel-slide-caption a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #7fb8be !important;
  color: #ffffff !important;
  padding: 18px 48px !important;
  font-weight: 900 !important;
  font-size: 1.35rem !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 14px !important;  /* 🔹 mírně zaoblené rohy */
  letter-spacing: 1px !important;
  text-align: center !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  margin: 0 auto !important;
  min-height: 56px !important;
}
#carousel .carousel-slide-caption a:hover {
  background: #c7a864 !important;
  color: #fff !important;
  transform: scale(1.05);
}
/* --- ZTMAVENÍ OBRÁZKU PRO KONTRAST --- */
#carousel .carousel-item::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)) !important;
  z-index: 1 !important;
}
/* --- Textový blok nad overlayem --- */
#carousel .carousel-slide-caption {
  z-index: 2 !important;
}
/* --- MOBILNÍ VERZE --- */
@media (max-width: 768px) {
  #carousel .carousel-slide-caption {
    bottom: 25px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    padding: 20px 20px !important;
    background: rgba(35, 49, 50, 0.7) !important;
  }
  #carousel .carousel-slide-caption h2 {
    font-size: 1.8rem !important;
  }
  #carousel .carousel-slide-caption p {
    font-size: 1rem !important;
  }
  #carousel .carousel-slide-caption a {
    font-size: 1rem !important;
    padding: 14px 30px !important;
    min-height: 48px !important;
  }
}

/* Odstranění mezery mezi menu a carouselem na mobilu */
@media (max-width: 768px) {
  .content-wrapper.homepage-box.before-carousel {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .header-top {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  #header {
    margin-bottom: 0 !important;
  }
  .content-wrapper {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* Konkurenční výhody na mobilu */
@media screen and (max-width: 768px) {
  .position--benefitHomepage {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 10px; /* menší mezera mezi řádky a sloupci */
    justify-items: center;
    align-items: start;
    text-align: center;
    padding: 10px 0 0 0; /* minimalizace mezer */
    margin-bottom: 0;
  }
  .position--benefitHomepage .benefitBanner__item {
    width: 100%;
    max-width: 150px;
    padding: 4px 0;
    margin: 0;
  }
  .benefitBanner__picture {
    margin-bottom: 5px;
  }
  .benefitBanner__picture img {
    width: 36px;
    height: auto;
  }
  .benefitBanner__title {
    font-size: 12px;
    font-weight: bold;
    color: #394f7e;
    margin: 0 0 4px;
    line-height: 1.2;
    min-height: 2.5em; /* zajištění stejné výšky nadpisů */
  }
  .benefitBanner__data {
    font-size: 11px;
    color: #666;
    line-height: 1.3;
    margin: 0;
    min-height: 2.8em; /* zajištění stejné výšky popisků */
  }
}

@media screen and (max-width: 768px) {
  /* DOLNÍ MEZERA POD VÝHODAMI */
  .position--benefitHomepage {
    margin-bottom: 10px !important;
    padding-bottom: 0 !important;
  }

  /* ROVNOMĚRNÁ VÝŠKA OBSAHU UVNITŘ BOXŮ */
  .benefitBanner__title,
  .benefitBanner__data {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .benefitBanner__title {
    min-height: 2.4em;
  }
  .benefitBanner__data {
    min-height: 3em;
    padding: 0 4px;
  }

  /* OPRAVA: odstranění případných defaultních marginů */
  .benefitBanner__item {
    margin-bottom: 0 !important;
  }
}

.custom-oblibene-wrapper {
  margin-top: 20px;
  padding-top: 10px;
}
.custom-oblibene-wrapper .homepage-group-title {
  margin-bottom: 10px;
}

/* Vyhledávání pod menu – Village Style */
