/* Aroma Natura – úvodní stránka (hero + ostatní sekce). Platí jen při zapnutém html.an-redesign. */
/* ---------- AN HERO: mřížka (velký banner vlevo, dva malé vpravo) ---------- */
html.an-redesign .in-index .an-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 30px;
  width: 100%;
  float: none !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
}
html.an-redesign .in-index .an-hero-grid > .banner-wrapper {
  /* přebije vaše staré pravidlo width:31% + margin u bannerů */
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex: none !important;
  display: block !important;
}
html.an-redesign .in-index .an-hero-grid > .an-hero-wrap {
  order: -1;
  grid-column: 1;
  grid-row: 1 / span 2;
}
html.an-redesign .in-index .an-hero-grid > .banner-wrapper > span[data-ec-promo-id] {
  display: block;
  height: 100%;
}

/* ---------- malé bannery vpravo: obrázek vyplní celé políčko ---------- */
html.an-redesign .in-index #content .an-hero-grid > .banner-wrapper:not(.an-hero-wrap) .banner {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 191px;
  border-radius: 10px;
}
html.an-redesign .in-index #content .an-hero-grid > .banner-wrapper:not(.an-hero-wrap) .banner img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ---------- velký hero banner ---------- */
html.an-redesign .in-index #content .an-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
  width: 100% !important;
  height: 100% !important;
  min-height: 412px;
  background: #f6f5f2;
  border-radius: 10px;
  overflow: hidden;
}
/* vypnout zoom/ztmavení při najetí myší (platí jen pro hero) */
html.an-redesign .in-index #content .an-hero:hover img {
  transform: none !important;
  filter: none !important;
}

.an-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 44px 20px 40px 48px;
  min-width: 0;
}
.an-hero__eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #a8480f;
}
.an-hero__title {
  font-family: var(--template-headings-font, "Exo 2"), sans-serif;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -.3px;
  color: #292b32;
}
.an-hero__lead {
  margin: 0;
  max-width: 27em;
  font-size: 17px;
  line-height: 1.45;
  color: #505050;
}
.an-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.an-hero__deadline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #1e1e1c;
}
.an-hero__deadline svg { flex: none; color: #4e8423; }

.an-hero__img { position: relative; min-height: 190px; }
html.an-redesign .in-index #content .an-hero__img img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: none !important;
}

/* tlačítka v hero – třída .an-btn, aby se nepralo s vašimi pravidly pro .banner a */
html.an-redesign .in-index #content .an-hero .an-btn {
  position: static !important;
  transform: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: #4e8423;
  border: 1px solid #4e8423;
  color: #fff !important;
  font-size: 15.4px;
  font-weight: 600;
  letter-spacing: .5px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none;
}
html.an-redesign .in-index #content .an-hero .an-btn:hover {
  background: #3f6d1b;
  border-color: #3f6d1b;
}
html.an-redesign .in-index #content .an-hero .an-btn--ghost {
  background: transparent;
  color: #3f6d1b !important;   /* tmavší zelená: na #f6f5f2 má #4e8423 jen cca 4,1 : 1 */
}
html.an-redesign .in-index #content .an-hero .an-btn--ghost:hover {
  background: #fff;
  color: #3f6d1b !important;
}

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  html.an-redesign .in-index #content .an-hero .an-hero__title { font-size: 38px; }
}

@media (min-width: 821px) {
  /* tlačítka na malých bannerech vpravo (počítač): v levém dolním rohu (dřív uprostřed a zakrývala velkou část obrázku) */
  html.an-redesign .in-index #content .an-hero-grid > .banner-wrapper:not(.an-hero-wrap) .banner a.btn-banner {
    left: 16px !important;
    right: auto !important;
    bottom: 16px !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 9px 18px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    border-radius: 8px !important;
    white-space: nowrap;
  }
}

/* ---------- mobil ---------- */
@media (max-width: 820px) {
  html.an-redesign .in-index .an-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: none;
    gap: 14px;
  }
  html.an-redesign .in-index .an-hero-grid > .an-hero-wrap {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  html.an-redesign .in-index #content .an-hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  html.an-redesign .in-index #content .an-hero .an-hero__img {
    order: -1;
    height: 190px;
    min-height: 0;
  }
  html.an-redesign .in-index #content .an-hero .an-hero__text {
    padding: 22px 20px 26px;
    gap: 12px;
  }
  html.an-redesign .in-index #content .an-hero .an-hero__title { font-size: 31px; }
  html.an-redesign .in-index #content .an-hero .an-hero__lead { font-size: 15.4px; }
  html.an-redesign .in-index #content .an-hero .an-hero__cta { width: 100%; }
  html.an-redesign .in-index #content .an-hero .an-hero__cta .an-btn { flex: 1 1 100%; }
  html.an-redesign .in-index #content .an-hero-grid > .banner-wrapper:not(.an-hero-wrap) .banner {
    min-height: 150px;
  }
  html.an-redesign .in-index #content .an-hero-grid > .banner-wrapper:not(.an-hero-wrap) .banner a.btn-banner {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    padding: 5px 9px;
    height: auto !important;
    min-height: 0;
    left: 8px !important;
    right: auto;
    max-width: calc(100% - 16px);
    width: auto;
    transform: none !important;
    text-align: center;
    white-space: normal;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* =====================================================================
   ZBYTEK ÚVODNÍ STRÁNKY (vše platí jen při zapnutém html.an-redesign)
   ===================================================================== */

/* ---------- 1) horní lišta s výhodami ----------
   Jen počítač a tablet (od 768 px). Na mobilu se výhody nezobrazují a hlavičky šablony se nedotýkáme. */
@media (min-width: 768px) {
  html.an-redesign .top-navigation-bar .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
}
.an-perks {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0 auto 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  white-space: nowrap;
}
.an-perks li { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 500; }
.an-perks svg { flex: none; color: #4e8423; }
@media (max-width: 1180px) { .an-perks li:nth-child(3) { display: none; } }
@media (min-width: 768px) and (max-width: 820px) { .an-perks li:nth-child(2) { display: none; } }
@media (max-width: 767px) { .an-perks { display: none !important; } }

/* ---------- 2) položka „Darčeky“ v menu jako bílá pilulka ---------- */
html.an-redesign #navigation .menu-level-1 > li.an-gift > a > b {
  background: #fff;
  color: #4e8423;
  border-radius: 20px;
  padding: 3px 12px;
  font-weight: 700;
}

/* ---------- 3) výhody v jednom řádku (4 sloupce) ---------- */
html.an-redesign .in-index .benefitBanner.position--benefitHomepage {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 38px;
}
html.an-redesign .in-index .benefitBanner.position--benefitHomepage > .benefitBanner__item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  flex: none !important;
}
.an-benefit .benefitBanner__picture { color: #a8480f; }
.an-benefit .benefitBanner__picture svg { width: 45px; height: 45px; display: block; }
@media (max-width: 820px) {
  html.an-redesign .in-index .benefitBanner.position--benefitHomepage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px 14px;
    padding-top: 26px;
  }
  .an-benefit .benefitBanner__picture svg { width: 36px; height: 36px; }
}

/* ---------- 4) „Čo dnes potrebujete?“ ---------- */
.an-needs__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  padding-top: 8px;
}
html.an-redesign .in-index #content a.an-need {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 18px;
  background: #f6f5f2;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
html.an-redesign .in-index #content a.an-need:hover { border-color: #4e8423; }
.an-need__ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  color: #4e8423;
}
.an-need strong { font-size: 16.8px; font-weight: 700; color: #1e1e1c; }
.an-need__s { font-size: 13.5px; color: #505050; }
@media (max-width: 1180px) { .an-needs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .an-needs__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .an-needs__grid > a:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- 5) produkty: mřížka místo posuvníku, max. 5 (na mobilu 4) ---------- */
html.an-redesign .in-index .products-block.an-grid:not(.slick-initialized),
html.an-redesign .in-index .products-block.an-grid .slick-track {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px 10px;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  left: 0 !important;
}
html.an-redesign .in-index .products-block.an-grid .slick-list {
  overflow: visible !important;
  display: block !important;
  height: auto !important;
  padding: 0 !important;
}
html.an-redesign .in-index .products-block.an-grid .slick-slide,
html.an-redesign .in-index .products-block.an-grid:not(.slick-initialized) > .product {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  flex: none !important;
}
html.an-redesign .in-index .products-block.an-grid .slick-cloned,
html.an-redesign .in-index .products-block.an-grid .slick-arrow,
html.an-redesign .in-index .products-block.an-grid .slick-dots,
html.an-redesign .in-index .products-block.an-grid .an-hide,
html.an-redesign .in-index .products-block.an-grid .an-hide-x { display: none !important; }
html.an-redesign .in-index .products-block.an-grid .price-additional { display: none; }
html.an-redesign .in-index .products-block.an-grid .image { min-height: 150px !important; }
.an-more { display: flex; justify-content: center; padding: 16px 0 6px; }
html.an-redesign .in-index #content .an-more a {
  font-size: 15px;
  font-weight: 600;
  color: #4e8423 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Slick přidává do .slick-track prázdné pseudoprvky ::before/::after (clearfix);
   v mřížce by zabíraly buňky a posunuly produkty */
html.an-redesign .in-index .products-block.an-grid .slick-track::before,
html.an-redesign .in-index .products-block.an-grid .slick-track::after {
  display: none !important;
  content: none !important;
}
@media (max-width: 1180px) {
  html.an-redesign .in-index .products-block.an-grid:not(.slick-initialized),
  html.an-redesign .in-index .products-block.an-grid .slick-track {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  /* 4 sloupce => 4 produkty (jinak by pátý zůstal sám na druhém řádku) */
  html.an-redesign .in-index .products-block.an-grid .an-hide-m { display: none !important; }
}
@media (max-width: 820px) {
  html.an-redesign .in-index .products-block.an-grid:not(.slick-initialized),
  html.an-redesign .in-index .products-block.an-grid .slick-track {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }
  html.an-redesign .in-index .products-block.an-grid .an-hide-m { display: none !important; }
}

/* ---------- 6) tlačítko „Do košíka“: bílá na zelené, kontrast 4,5 : 1 (celý web) ---------- */
html.an-redesign .p .btn-cart,
html.an-redesign .product .btn-cart {
  background-color: #4e8423 !important;
  border-color: #4e8423 !important;
  color: #fff !important;
}
html.an-redesign .p .btn-cart:hover,
html.an-redesign .product .btn-cart:hover {
  background-color: #3f6d1b !important;
  border-color: #3f6d1b !important;
}

/* ---------- 7) vánoční pruh ---------- */
.an-xmas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 96px;
  margin: 40px 0 10px;
  padding: 20px 32px;
  background: #4e8423;
  border-radius: 10px;
  color: #fff;
}
.an-xmas strong { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; color: #fff; }
.an-xmas__t span { font-size: 15.4px; opacity: .95; color: #fff; }
html.an-redesign .in-index #content a.an-xmas__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: #fff;
  color: #4e8423 !important;
  font-size: 15.4px;
  font-weight: 600;
  letter-spacing: .5px;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .an-xmas { padding: 20px; }
  html.an-redesign .in-index #content a.an-xmas__btn { width: 100%; }
}

/* ---------- 8) „O nás“: text vlevo, fotka vpravo ---------- */
.an-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding-top: 30px;
}
.an-about__text { text-align: left; }
.an-about__text .h1 { text-align: left !important; font-size: 30.8px; line-height: 1.2; }
.an-about__text .h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 8px;
  margin: 20px 0 0;
  background: #4e8423;
}
.an-about__text p { text-align: left !important; margin-top: 20px; max-width: 34em; }
.an-about__img img { display: block; width: 100%; height: auto; margin: 0 !important; border-radius: 10px; }
@media (max-width: 820px) { .an-about { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 10px; } }

/* ---------- 9) patička: zelená linka pod nadpisy sloupců ---------- */
html.an-redesign #footer .pageElement__heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 12px;
  background: #4e8423;
}


/* =====================================================================
   OPRAVY PO PRVNÍM TESTU NA ŽIVÉM WEBU
   ===================================================================== */

/* A) čtvrtá výhoda: stejné rozložení jako ostatní (ikona nahoře, text pod ní).
      Krátký text se vešel vedle ikony, dlouhé texty ostatních výhod se zalamují pod ni. */
html.an-redesign .in-index .benefitBanner.position--benefitHomepage .an-benefit .benefitBanner__link {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
}

/* B) „Čo dnes potrebujete?“ přes celou šířku obsahu (dřív se smrštila na šířku dlaždic) */
html.an-redesign .in-index #content .an-needs {
  display: block !important;
  float: none !important;
  clear: both;
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 100% !important;
  box-sizing: border-box;
}

/* C) tlačítko Do košíka: text a ikona vždy bílé a viditelné
      (v klidovém stavu se text ztrácel, viditelný byl jen při najetí myší) */
html.an-redesign .p .btn-cart,
html.an-redesign .p .btn-cart *,
html.an-redesign .p .btn-cart::before,
html.an-redesign .p .btn-cart::after,
html.an-redesign .product .btn-cart,
html.an-redesign .product .btn-cart *,
html.an-redesign .product .btn-cart::before,
html.an-redesign .product .btn-cart::after {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* D) „O nás“: nadpis bez odsazení zleva a se zelenou linkou */
html.an-redesign .an-about__text .h1 {
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
  text-align: left !important;
}
html.an-redesign .an-about__text .h1::after {
  content: "";
  display: block !important;
  width: 80px;
  height: 8px;
  margin: 20px 0 0;
  background: #4e8423;
}


/* =====================================================================
   10) PATIČKA PODLE NÁVRHU
   Rozložení platí jen když JS postavil sloupce (třída #footer.an-foot).
   ===================================================================== */

/* nadpisy sloupců: jedna zelená linka (případné linky šablony skrýt) */
html.an-redesign #footer .pageElement__heading::before,
html.an-redesign #footer .pageElement__heading > span::before,
html.an-redesign #footer .pageElement__heading > span::after {
  display: none !important;
  content: none !important;
}
html.an-redesign #footer.an-foot .pageElement__heading {
  font-size: 18.2px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 22px;
  text-align: left;
  color: #1e1e1c;
}

/* mřížka: Instagram nahoře, 4 sloupce, platby a doprava dole přes celou šířku */
html.an-redesign #footer.an-foot .custom-footer.elements-4 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start !important;
  width: 100%;
}
html.an-redesign #footer.an-foot .custom-footer.elements-4 > * {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  flex: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  min-width: 0;
}
html.an-redesign #footer.an-foot .custom-footer__instagram { grid-column: 1 / -1; grid-row: 1; }
html.an-redesign #footer.an-foot .an-foot-brand { grid-column: 1; grid-row: 2; }
html.an-redesign #footer.an-foot .custom-footer__articles:not(.an-foot-shop) { grid-column: 2; grid-row: 2; }
html.an-redesign #footer.an-foot .an-foot-shop { grid-column: 3; grid-row: 2; }
html.an-redesign #footer.an-foot .custom-footer__section2 { display: none !important; }   /* seznam článků v patičce návrh nemá; smazat řádek = zase zobrazit */
html.an-redesign #footer.an-foot .custom-footer__banner7 {
  grid-column: 1 / -1;
  grid-row: 3;
  border-top: 1px solid #e4e2dc;
  padding-top: 22px !important;
}

/* Instagram: nadpis „Instagram“ šablony pryč (zůstává velký nadpis), 4 čtvercové fotky */
html.an-redesign #footer.an-foot .custom-footer__instagram > .pageElement__heading { display: none !important; }
html.an-redesign #footer.an-foot .instagram-widget {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
}
html.an-redesign #footer.an-foot .instagram-widget > a {
  display: block !important;
  position: relative !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.an-redesign #footer.an-foot .instagram-widget > a:nth-of-type(n+5) { display: none !important; }
/* čtverec drží sám odkaz (aspect-ratio), fotka ho vyplní; nezávisí na triku se paddingem ze šablony */
html.an-redesign #footer.an-foot .instagram-widget > a img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  opacity: 1 !important;
}
html.an-redesign #footer.an-foot .instagram-widget > .instagram-follow-btn { display: none !important; }   /* návrh tlačítko „Sledovať“ nemá; ikona Instagramu je vlevo */

/* odkazy ve sloupcích */
html.an-redesign #footer.an-foot .custom-footer__articles ul { list-style: none; margin: 0; padding: 0; }
html.an-redesign #footer.an-foot .custom-footer__articles li { margin: 0 0 11px; }
html.an-redesign #footer.an-foot .custom-footer__articles li a {
  font-size: 15.4px;
  color: #1e1e1c;
  text-decoration: none;
}
html.an-redesign #footer.an-foot .custom-footer__articles li a:hover { color: #4e8423; text-decoration: underline; }

/* levý sloupec: logo, text, ikony sítí */
.an-foot-brand img { display: block; width: 230px; max-width: 100%; height: auto; margin: -22px 0 2px -10px; }
.an-foot-about { margin: 0; font-size: 14.5px; line-height: 1.45; color: #505050; max-width: 24em; }
.an-foot-social { display: flex; gap: 10px; margin-top: 16px; }
html.an-redesign #footer .an-foot-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4e8423;
  color: #fff !important;
}
html.an-redesign #footer .an-foot-social a:hover { background: #3f6d1b; }

/* platby a doprava: jedna řada, vystředěná */
html.an-redesign #footer.an-foot .footer-icons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: center;
}
html.an-redesign #footer.an-foot .footer-icons a { display: block !important; width: auto !important; }
html.an-redesign #footer.an-foot .footer-icons img { width: auto !important; max-width: none !important; height: 36px !important; }

/* copyright na střed */
html.an-redesign #footer.an-foot .footer-bottom { text-align: center; justify-content: center; }

@media (max-width: 1180px) {
  html.an-redesign #footer.an-foot .custom-footer.elements-4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 40px; }
  html.an-redesign #footer.an-foot .an-foot-brand { grid-column: 1 / -1; grid-row: auto; }
  html.an-redesign #footer.an-foot .custom-footer__articles:not(.an-foot-shop) { grid-column: 1; grid-row: auto; }
  html.an-redesign #footer.an-foot .an-foot-shop { grid-column: 2; grid-row: auto; }
  html.an-redesign #footer.an-foot .custom-footer__instagram { grid-row: auto; }
  html.an-redesign #footer.an-foot .custom-footer__banner7 { grid-row: auto; }
}
@media (max-width: 820px) {
  html.an-redesign #footer.an-foot .custom-footer.elements-4 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  html.an-redesign #footer.an-foot .an-foot-brand,
  html.an-redesign #footer.an-foot .custom-footer__articles:not(.an-foot-shop),
  html.an-redesign #footer.an-foot .an-foot-shop { grid-column: 1; }
  html.an-redesign #footer.an-foot .instagram-widget { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html.an-redesign #footer.an-foot .footer-icons { gap: 18px; }
}


/* =====================================================================
   DOLADĚNÍ PATIČKY PO PRVNÍM TESTU
   ===================================================================== */
.an-foot-dup { display: none !important; }

/* text vlevo: bez rozšířených mezer a barvy z šablony */
html.an-redesign #footer .an-foot-about {
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #505050 !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

/* logo Slovenské pošty a Packety jsou čtvercová a vedle širokých log vypadají malá */
html.an-redesign #footer.an-foot .footer-icons a:nth-child(1) img,
html.an-redesign #footer.an-foot .footer-icons a:nth-child(6) img { height: 44px !important; }


/* =====================================================================
   INSTAGRAM + KONTAKTNÍ BOX (podle DOM z DevTools)
   ===================================================================== */

/* Blok Instagramu má u šablony třídu instagram-line a je display:flex (v řadě).
   Widget s fotkami se v něm smrštil na nulovou šířku -> pod sebe a přes celou šířku. */
html.an-redesign #footer.an-foot .custom-footer__instagram {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 22px;
}
html.an-redesign #footer.an-foot .custom-footer__instagram > .instagram-widget {
  width: 100% !important;
  max-width: none !important;
  align-self: stretch !important;
  flex: 0 0 auto !important;
}

/* kontaktní box je div.site-name přesunutý šablonou do .custom-footer: malé logo v něm je navíc */
html.an-redesign #footer.an-foot .custom-footer > .site-name img { display: none !important; }


/* =====================================================================
   11) PŘIHLÁŠENÍ K ODBĚRU (Ecomail) + ČLÁNKY pod hodnocením obchodu
   ===================================================================== */
.an-news { margin-top: 64px; background: #f6f5f2; }
.an-news__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 44px 0;
}
.an-news__h {
  font-family: var(--template-headings-font, "Exo 2"), sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: #292b32;
}
.an-news__t p { margin: 10px 0 0; max-width: 32em; font-size: 15.4px; color: #505050; }
html.an-redesign .an-news__row { display: flex; height: 48px; }
html.an-redesign .an-news__row input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #d9d9d9;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #fff;
  font-size: 15.4px;
  box-shadow: none;
}
html.an-redesign .an-news__row button {
  height: 48px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 0 8px 8px 0;
  background: #4e8423;
  color: #fff;
  font-size: 15.4px;
  font-weight: 600;
  letter-spacing: .5px;
  white-space: nowrap;
  cursor: pointer;
}
html.an-redesign .an-news__row button:hover { background: #3f6d1b; }
html.an-redesign .an-news__row button:disabled { opacity: .7; cursor: default; }
.an-news__consent { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.4; color: #505050; font-weight: 400; cursor: pointer; }
.an-news__consent input { flex: none; margin: 2px 0 0; }
html.an-redesign .an-news__consent a { color: #3f6d1b; text-decoration: underline; }
.an-news__ok { margin: 0; padding: 16px 18px; background: #fff; border-radius: 8px; color: #1e1e1c; font-size: 15.4px; }

.an-articles { padding-bottom: 70px; }   /* odstup od patičky (návrh: 70 px) */
.an-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-top: 8px; }
html.an-redesign .an-posts a.an-post {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
html.an-redesign .an-posts a.an-post:hover { border-color: #4e8423; }
.an-post__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.an-post__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.an-post time { font-size: 12.5px; color: #505050; }
.an-post strong { font-size: 17px; font-weight: 600; line-height: 1.3; color: #1e1e1c; }
.an-post__more { margin-top: auto; font-size: 14px; font-weight: 600; color: #4e8423; }

@media (max-width: 820px) {
  .an-news { margin-top: 44px; }
  .an-news__in { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .an-news__h { font-size: 23px; }
  .an-posts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .an-articles { padding-bottom: 48px; }
}


/* odstup pod články (před patičkou): na samostatném bloku, aby ho nepřebila pravidla šablony pro .container */
html.an-redesign .an-below { padding-bottom: 70px !important; }
html.an-redesign .an-below .an-articles { padding-bottom: 0 !important; }
@media (max-width: 820px) { html.an-redesign .an-below { padding-bottom: 48px !important; } }


/* hero postavený znovu (mobil, když šablona banner přesunula do posuvníku) */
html.an-redesign .an-banners-off { display: none !important; }
html.an-redesign .in-index .an-hero-grid > .banner-wrapper > span.an-promo { display: block; height: 100%; }


/* =====================================================================
   OPRAVA PŘESAHU NA MOBILU: formulář přihlášení roztahoval stránku (nowrap tlačítko + minimální šířka políčka)
   ===================================================================== */
.an-news__t, .an-news__f { min-width: 0; }
html.an-redesign .an-news__row { min-width: 0; max-width: 100%; }
html.an-redesign .an-news__row input[type="email"] { width: 100%; min-width: 0; }
html.an-redesign .an-news__row button { flex: none; }
.an-news__consent span { min-width: 0; }

/* =====================================================================
   STRÁNKA KATEGORIE (vše platí jen při zapnutém html.an-redesign a jen na body.type-category)
   Obrázky, texty a pořadí se řídí skriptem (blok CFG.cat v homepage14.js).
   ===================================================================== */

/* ---------- nadpis, počet produktů, zelená linka ---------- */
html.an-redesign .type-category #content .an-h1row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 22px 0 16px; }
html.an-redesign .type-category #content .an-h1row h1 { margin: 0; padding: 0; border: 0; font-size: 39px; font-weight: 600; line-height: 1.2; color: #292b32; text-transform: none; }
html.an-redesign .type-category #content .an-count { font-size: 15.4px; color: #505050; }
html.an-redesign .type-category #content .an-count:empty { display: none; }
/* čáry pod nadpisem (z šablony) pryč */
html.an-redesign .type-category #content .an-h1row h1::before,
html.an-redesign .type-category #content .an-h1row h1::after,
html.an-redesign .type-category #content .an-h1row::before,
html.an-redesign .type-category #content .an-h1row::after { content: none !important; display: none !important; }
html.an-redesign .type-category #content .an-h1row h1 { background: none !important; box-shadow: none !important; text-decoration: none !important; }

/* ---------- krátký úvod: jen první odstavec, dlouhý text je dole ---------- */
html.an-redesign .type-category .category-perex { margin: 0; padding: 0; }
html.an-redesign .type-category .category-perex > :not(p:first-of-type):not(.moje-kategorie-kontejner) { display: none !important; }
html.an-redesign .type-category .category-perex > p:first-of-type { margin: 0; font-size: 14px; line-height: 1.45; max-width: 70em; }

/* ---------- podkategorie: nízké dlaždice (obrázek vlevo, text vpravo) ---------- */
html.an-redesign .type-category .category-perex .moje-kategorie-kontejner {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; padding: 0;
}
html.an-redesign .type-category .category-perex .kategorie-karta {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px;
  min-height: 76px; padding: 9px 14px; margin: 0; background: #fff; border: 1px solid #ddd; border-radius: 0;
  text-align: left; color: #000; text-decoration: none; box-shadow: none; transition: border-color .15s;
}
html.an-redesign .type-category .category-perex .kategorie-karta:hover { border-color: #4e8423; box-shadow: none; }
html.an-redesign .type-category .category-perex .kategorie-karta img { width: 56px; height: 56px; max-width: none; margin: 0; object-fit: contain; flex: none; }
html.an-redesign .type-category .category-perex .kategorie-karta span { font-size: 15px; font-weight: 600; line-height: 1.25; text-transform: none; color: #000; }

/* ---------- pruh s průvodcem ---------- */
html.an-redesign .type-category .an-guide { display: flex; align-items: center; gap: 18px; margin: 22px 0 0; padding: 16px 22px; background: #f6f5f2; border-radius: 10px; }
html.an-redesign .type-category .an-guide img { width: 45px; height: 45px; flex: none; }
html.an-redesign .type-category .an-guide > div { flex: 1 1 0; min-width: 0; }
html.an-redesign .type-category .an-guide strong { display: block; font-size: 16.8px; font-weight: 700; color: #222; }
html.an-redesign .type-category .an-guide span { font-size: 14px; color: #505050; }
html.an-redesign .type-category .an-guide .an-guide__btn {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px;
  border: 1px solid #4e8423; border-radius: 8px; background: #fff; color: #4e8423 !important; font-size: 15px; font-weight: 600; letter-spacing: .5px;
  white-space: nowrap; text-decoration: none; cursor: pointer;
}
html.an-redesign .type-category .an-guide .an-guide__btn:hover { background: #4e8423; color: #fff !important; }
html.an-redesign .type-category #content.an-hide-top .products-top-wrapper { display: none !important; }

/* ---------- řazení ---------- */
html.an-redesign .type-category .category-header { display: block; margin: 26px 0 0; padding: 0; }
html.an-redesign .type-category .listSorting { margin: 0; padding: 0; width: 100%; }
html.an-redesign .type-category .listSorting__controls { display: flex; list-style: none; margin: 0; padding: 0; height: 45px; overflow: hidden; background: #f4f4f4; border-radius: 8px; }
html.an-redesign .type-category .listSorting__controls li { flex: 1; display: flex; position: relative; margin: 0; padding: 0; }
html.an-redesign .type-category .listSorting__controls li + li::before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 1px; background: #cfcfcf; }
html.an-redesign .type-category .listSorting__control {
  flex: 1; display: grid; place-items: center; height: 45px; padding: 0 10px; border: 0; border-radius: 0; background: transparent;
  color: #222; font: inherit; font-size: 15px; font-weight: 400; white-space: nowrap; cursor: pointer; box-shadow: none; text-decoration: none;
}
html.an-redesign .type-category .listSorting__control:hover { background: rgba(78, 132, 35, .08); }
html.an-redesign .type-category .listSorting__control--current,
html.an-redesign .type-category .listSorting__control--current:hover { background: #4e8423; color: #fff; font-weight: 500; border-radius: 8px; }
html.an-redesign .type-category .listSorting__controls li:has(> .listSorting__control--current)::before,
html.an-redesign .type-category .listSorting__controls li:has(> .listSorting__control--current) + li::before { display: none; }
html.an-redesign .type-category .listItemsTotal,
html.an-redesign .type-category .listingControls .itemsTotal { display: none; }
html.an-redesign .type-category #filters-wrapper { margin-top: 18px; }

/* ---------- výpis produktů: 4 sloupce, jedna cena, štítky ---------- */
html.an-redesign .type-category #products.products-block {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 0; margin: 14px 0 0 !important; padding: 0;
}
html.an-redesign .type-category #products .product {
  position: relative; width: auto !important; max-width: none !important; flex: none !important; float: none !important;
  margin: 0 !important; padding: 14px 12px 6px !important; border: 0 !important; box-shadow: none !important; background: transparent !important;
}
html.an-redesign .type-category #products .product.an-more { display: none !important; }
html.an-redesign .type-category #products .product .p {
  position: relative; display: flex; flex-direction: column; align-items: center; height: 100%; margin: 0; padding: 0;
  border: 0 !important; box-shadow: none !important; background: transparent !important; text-align: center;
}
html.an-redesign .type-category #products .product .p > .image { display: flex; justify-content: center; width: 100%; margin: 0 0 16px; }
html.an-redesign .type-category #products .product .p > .image img { width: 220px; max-width: 100%; height: 166px !important; object-fit: contain; }
html.an-redesign .type-category #products .product .p-in { display: flex; flex-direction: column; flex: 1; width: 100%; padding: 0; }
html.an-redesign .type-category #products .product .p-in-in { padding: 0; }
html.an-redesign .type-category #products .product .name { display: block; min-height: 43px; font-size: 15px; font-weight: 400; line-height: 1.4; color: #000; text-decoration: none; }
html.an-redesign .type-category #products .product .availability { font-size: 14px; margin: 2px 0 4px; }
html.an-redesign .type-category #products .product .p-bottom { margin-top: auto; padding: 0; }
html.an-redesign .type-category #products .product .price-additional,
html.an-redesign .type-category #products .product .price-measure,
html.an-redesign .type-category #products .product .p-desc { display: none !important; }
html.an-redesign .type-category #products .product .prices { margin: 2px 0 0; }
html.an-redesign .type-category #products .product .price-final strong { font-size: 21px; font-weight: 700; line-height: 30px; color: #1e1e1c; }
html.an-redesign .type-category #products .product .p-tools { margin: 10px 0 12px; }
html.an-redesign .type-category #products .product .btn-cart { min-width: 140px; height: 34px; min-height: 34px; line-height: 32px; padding-top: 0; padding-bottom: 0; border-radius: 10px; }
html.an-redesign .type-category #products .product .an-flag {
  position: absolute; left: 2px; top: -6px; z-index: 2; padding: 3px 9px; border-radius: 4px;
  background: #4e8423; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .3px; line-height: 1.3;
}

/* ---------- „Načítať ďalších“ ---------- */
html.an-redesign .type-category .an-pager { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 0 10px; }
html.an-redesign .type-category .an-pager[hidden] { display: none; }
html.an-redesign .type-category .an-pager small { font-size: 14px; color: #505050; }
html.an-redesign .type-category .an-pager__bar { width: 260px; max-width: 100%; height: 6px; overflow: hidden; background: #ededed; border-radius: 6px; }
html.an-redesign .type-category .an-pager__bar i { display: block; height: 100%; background: #4e8423; }
html.an-redesign .type-category .an-pager__btn {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 22px; border: 1px solid #4e8423; border-radius: 8px;
  background: #4e8423; color: #fff; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .5px; cursor: pointer;
}
html.an-redesign .type-category .an-pager__btn:hover { background: #3f6d1b; border-color: #3f6d1b; }
html.an-redesign .type-category .an-pager__btn[hidden] { display: none; }

/* ---------- text kategorie a časté otázky ---------- */
html.an-redesign .type-category .an-seo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 64px; padding-top: 44px; border-top: 1px solid #e6e6e6; }
html.an-redesign .type-category .an-seo--solo { grid-template-columns: minmax(0, 1fr); }
html.an-redesign .type-category .an-seo h2 { margin: 0 0 14px; line-height: 1.25; font-size: 24px; font-weight: 600; color: #292b32; }
html.an-redesign .type-category .an-seo p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: #505050; }
html.an-redesign .type-category .an-seo ul { display: flex; flex-direction: column; gap: 7px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 15px; color: #505050; }
html.an-redesign .type-category .an-seo li { position: relative; margin: 0; padding-left: 18px; }
html.an-redesign .type-category .an-seo li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: #4e8423; }
html.an-redesign .type-category .an-seo details { margin: 0 0 10px; padding: 0 18px; border: 1px solid #ddd; border-radius: 8px; }
html.an-redesign .type-category .an-seo summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 16px; font-weight: 600; color: #222; cursor: pointer; list-style: none; }
html.an-redesign .type-category .an-seo summary::-webkit-details-marker { display: none; }
html.an-redesign .type-category .an-seo summary::after { content: "+"; color: #4e8423; font-size: 20px; line-height: 1; }
html.an-redesign .type-category .an-seo details[open] summary::after { content: "–"; }
html.an-redesign .type-category .an-seo details p { margin: 0; padding-bottom: 14px; }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  html.an-redesign .type-category #products.products-block { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  html.an-redesign .type-category .category-perex .moje-kategorie-kontejner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- mobil ---------- */
@media (max-width: 820px) {
  html.an-redesign .type-category .an-seo { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; padding-top: 30px; }
}
@media (max-width: 767px) {
  html.an-redesign .type-category #content .an-h1row { margin-top: 6px; }
  html.an-redesign .type-category #content .an-h1row h1 { font-size: 29px; }
  html.an-redesign .type-category #content .an-h1row { margin-bottom: 12px; }
  html.an-redesign .type-category .category-perex .moje-kategorie-kontejner { gap: 8px; margin-top: 14px; }
  html.an-redesign .type-category .category-perex .kategorie-karta { min-height: 58px; padding: 6px 10px; gap: 8px; }
  html.an-redesign .type-category .category-perex .kategorie-karta img { width: 40px; height: 40px; }
  html.an-redesign .type-category .category-perex .kategorie-karta span { font-size: 14px; }
  html.an-redesign .type-category .an-guide { flex-wrap: wrap; gap: 12px; margin-top: 14px; padding: 14px; }
  html.an-redesign .type-category .an-guide .an-guide__btn { margin-left: 0; width: 100%; flex: 0 0 100%; }
  html.an-redesign .type-category .listSorting__controls { overflow-x: auto; scrollbar-width: none; margin-top: 16px; }
  html.an-redesign .type-category .listSorting__controls li { flex: none; }
  html.an-redesign .type-category .listSorting__control { padding: 0 16px; }
  html.an-redesign .type-category #products.products-block { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; margin-top: 6px !important; }
  html.an-redesign .type-category #products .product { padding: 10px 4px 4px !important; }
  html.an-redesign .type-category #products .product .p > .image { margin-bottom: 10px; }
  html.an-redesign .type-category #products .product .p > .image img { height: 128px !important; }
  html.an-redesign .type-category #products .product .btn-cart { min-width: 0; width: 100%; max-width: 150px; }
}

/* ---------- kategorie: bez bloku „O nás“ a bez Instagramu v patičce ---------- */
html.an-redesign .type-category .category__secondDescription { display: none !important; }
html.an-redesign .type-category #footer.an-foot .custom-footer__instagram { display: none !important; }
@media (min-width: 1181px) {   /* Instagram byl v řádku 1 mřížky patičky; bez něj se ostatní řádky posunou nahoru */
  html.an-redesign .type-category #footer.an-foot .an-foot-brand,
  html.an-redesign .type-category #footer.an-foot .custom-footer__articles:not(.an-foot-shop),
  html.an-redesign .type-category #footer.an-foot .an-foot-shop { grid-row: 1; }
  html.an-redesign .type-category #footer.an-foot .custom-footer__banner7 { grid-row: 2; }
}

/* ---------- posun na přihlášení k odběru (odkaz /#sprievodca) ---------- */
html.an-redesign #sprievodca { scroll-margin-top: 220px; }

/* ---------- kategorie: pruh s přihlášením navazuje přímo na patičku (bez bílé mezery), linka světlá jako v návrhu ---------- */
html.an-redesign .type-category .an-below { padding-bottom: 0 !important; }
html.an-redesign .type-category #footer { margin-top: 0 !important; border-top: 1px solid #e4e2dc !important; }

/* ---------- kategorie: štítek „Top N“ (hnědý) a panel Top produktov jen s prvními položkami ---------- */
html.an-redesign .type-category #products .product .an-flag--top { background: #aa4906; }
html.an-redesign .type-category .box-topProducts .top-products > li.an-top-hide { display: none !important; }

/* ---------- kategorie, počítač: celý pravý panel je jeden lepicí celek (sticky) ----------
   Platí jen když skript přidal body.an-side-sticky (CFG.cat.stickySide). Šablonou připínaný košík (.fixed) se vrací do běžného toku. */
@media (min-width: 768px) {
  html.an-redesign body.an-side-sticky.type-category .content-wrapper,
  html.an-redesign body.an-side-sticky.type-category .content-wrapper-in { overflow: visible !important; }
  html.an-redesign body.an-side-sticky.type-category .content-wrapper-in { align-items: stretch; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar { align-self: stretch; overflow: visible !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner { position: sticky; top: 16px; padding-top: 0 !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .cart-sidebar-box,
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .cart-sidebar-box.fixed {
    position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    margin-top: var(--an-side-shift, 0px) !important;   /* relative: pozadí košíku (::before/::after šablony) se počítá od košíku, ne od celého panelu */
    width: auto !important; max-width: none !important; height: auto !important; min-height: 0 !important;
  }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner.an-fit-norating .banner-rating-box { display: none !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .box-topProducts .top-products > li.an-top-fit { display: none !important; }
}

/* ---------- kategorie, počítač: kompaktní hodnocení obchodu, když se panel nevejde do okna ---------- */
@media (min-width: 768px) {
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner.an-fit-compact .banner-rating { padding: 10px 16px 14px !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner.an-fit-compact .banner-rating__title { font-size: 17px !important; line-height: 1.2 !important; margin: 0 0 2px !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner.an-fit-compact .banner-rating__stats-block { margin: 0 !important; padding: 0 !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner.an-fit-compact .rate-average { font-size: 36px !important; line-height: 1.05 !important; }
  html.an-redesign body.an-side-sticky.type-category aside.sidebar .sidebar-inner.an-fit-compact .banner-rating__btn {
    height: 38px !important; min-height: 38px !important; line-height: 36px !important; padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 6px !important; font-size: 15px !important;
  }
}

/* =====================================================================
   STRÁNKA PRODUKTU (vše platí jen při zapnutém html.an-redesign a jen na body.type-detail)
   Kupní box, ujištění a lepivou lištu sestavuje skript (blok CFG.prod v homepage27.js).
   ===================================================================== */

/* ---------- rozložení: fotka vlevo přes celou výšku, vpravo název, značka a nákup (jen počítač) ----------
   Skript nic nepřesouvá: formulář a řádek se „rozpustí“ (display: contents), takže název,
   značka, fotka a nákup se uspořádají v jedné mřížce. Na mobilu zůstává pořadí jako dnes. */
@media (min-width: 992px) {
  html.an-redesign .type-detail .p-detail-inner { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 44px; align-items: start; }
  html.an-redesign .type-detail .p-detail-inner > form,
  html.an-redesign .type-detail .p-detail-inner > form > .row.product-top { display: contents; }
  html.an-redesign .type-detail .p-detail-inner > form > :not(.row) { position: absolute !important; }   /* schema.org meta prvky nesmí zabírat buňku mřížky */
  html.an-redesign .type-detail .p-detail-inner-header { grid-column: 2; grid-row: 1; }
  html.an-redesign .type-detail .product-top > .col-xs-12:not(.p-image-wrapper):not(.p-info-wrapper) { grid-column: 2; grid-row: 2; }
  html.an-redesign .type-detail .p-image-wrapper { grid-column: 1; grid-row: 1 / span 3; }
  html.an-redesign .type-detail .p-info-wrapper { grid-column: 2; grid-row: 3; }
  html.an-redesign .type-detail .product-top > .col-xs-12 { width: auto !important; max-width: none !important; float: none !important; flex: none !important; margin: 0 !important; padding: 0 !important; min-width: 0; }
}
html.an-redesign .type-detail .p-detail-inner-header h1 { margin: 0; padding: 0; font-size: 36px; font-weight: 600; line-height: 1.2; color: #292b32; text-transform: none; }
html.an-redesign .type-detail .product-top > .col-xs-12:not(.p-image-wrapper):not(.p-info-wrapper) { text-align: left !important; }
html.an-redesign .type-detail .p-detail-info { float: none !important; width: auto !important; max-width: none !important; margin: 10px 0 0 !important; padding: 0 !important; text-align: left !important; font-size: 13px; font-weight: 600; }
html.an-redesign .type-detail .p-detail-info > div { float: none !important; width: auto !important; text-align: left !important; }
html.an-redesign .type-detail .p-detail-info a { color: #4e8423; font-size: 13px; text-decoration: none; }

/* ---------- krátký popis ---------- */
html.an-redesign .type-detail .an-prod .p-short-description,
html.an-redesign .type-detail .p-detail.an-prod .p-short-description { margin: 16px 0 0; font-size: 16.8px; line-height: 1.5; }
html.an-redesign .type-detail .p-detail.an-prod .p-short-description img { display: none !important; }   /* drobná ilustrace odsouvala cenu níž */
html.an-redesign .type-detail .p-detail.an-prod .p-short-description p { margin: 0 0 8px; }
html.an-redesign .type-detail .p-detail.an-prod .p-short-description p:last-child { font-size: 15px; color: #505050; }
html.an-redesign .type-detail .p-detail.an-prod [data-testid="productCardDescr"] { margin: 4px 0 0; font-size: 14px; }

/* ---------- kupní box (cenu, dostupnost a doručení kreslí skript vlastními prvky; původní jsou skryté) ---------- */
html.an-redesign .type-detail .an-orig { display: none !important; }
/* pevné pořadí v obalu s kupním boxem (třídy přidává skript) */
html.an-redesign .type-detail .an-host { display: flex !important; flex-direction: column !important; }
html.an-redesign .type-detail .an-host > * { order: 7; }
html.an-redesign .type-detail .an-host > .an-o1 { order: 1; }
html.an-redesign .type-detail .an-host > .an-o2 { order: 2; }
html.an-redesign .type-detail .an-host > .an-o3 { order: 3; }
html.an-redesign .type-detail .an-host > .an-o4 { order: 4; }
html.an-redesign .type-detail .an-host > .an-o5 { order: 5; }
html.an-redesign .type-detail .an-host > .an-o6 { order: 6; }
html.an-redesign .type-detail .an-host > .social-buttons-wrapper { order: 9; }
html.an-redesign .type-detail .an-host h1 { margin: 0; padding: 0; font-size: 36px; font-weight: 600; line-height: 1.2; color: #292b32; text-transform: none; }
html.an-redesign .type-detail .an-host > .an-o1,
html.an-redesign .type-detail .an-host > .an-o2,
html.an-redesign .type-detail .an-host > .an-o3,
html.an-redesign .type-detail .an-host > .an-o4 { float: none !important; width: auto !important; max-width: none !important; text-align: left !important; }
/* obal, který kolem ceny a tlačítka staví šablona: ztratí pozadí, odsazení a rámeček (kupní box kreslíme sami) */
html.an-redesign .type-detail .an-box0 { background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
html.an-redesign .type-detail .an-box0:empty { display: none !important; }
html.an-redesign .type-detail .an-buy { display: flow-root; float: none !important; width: auto !important; max-width: none !important; margin: 20px 0 0 !important; padding: 22px 24px; background: #eef0e9; border-radius: 8px; box-sizing: border-box; text-align: left; }
html.an-redesign .type-detail .an-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
html.an-redesign .type-detail .an-price__old { font-size: 16px; color: #8a8a8a; }
html.an-redesign .type-detail .an-price { font-size: 32px; font-weight: 700; line-height: 1.1; color: #1e1e1c; }
html.an-redesign .type-detail .an-price__vat { font-size: 13.5px; color: #505050; }
html.an-redesign .type-detail .an-stock { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; font-size: 15px; color: #505050; }
html.an-redesign .type-detail .an-stock b { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
html.an-redesign .type-detail .an-stock b::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
html.an-redesign .type-detail .an-stock a { font-size: 13px; color: #222; text-decoration: underline; text-underline-offset: 3px; }
html.an-redesign .type-detail .an-deliv { margin-top: 8px; font-size: 14px; color: #505050; }
html.an-redesign .type-detail .an-deliv b { font-weight: 600; color: #222; }
html.an-redesign .type-detail .an-deliv a { margin-left: 10px; font-size: 13px; color: #222; text-decoration: underline; text-underline-offset: 3px; }
html.an-redesign .type-detail .an-buy .add-to-cart { display: flex !important; align-items: center; gap: 14px; float: none !important; position: static !important; width: auto !important; max-width: none !important; margin: 16px 0 0 !important; padding: 0 !important; }
html.an-redesign .type-detail .an-buy .add-to-cart .quantity { flex: none; float: none !important; margin: 0 !important; }
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button {
  flex: 1 1 auto; display: flex !important; align-items: center; justify-content: center; float: none !important; width: auto !important; min-width: 0; height: 52px; min-height: 52px;
  margin: 0 !important; padding: 0 20px !important; border: 1px solid #4e8423 !important; border-radius: 10px !important; background: #4e8423 !important; color: #fff !important;
  font-size: 18px !important; font-weight: 600; letter-spacing: .5px; line-height: 1; white-space: nowrap; text-transform: none !important; box-shadow: none !important;
}
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button * { color: #fff !important; }
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button:hover { background: #3f6d1b !important; border-color: #3f6d1b !important; }
/* tlačítko: košík jako ikona zleva (vlastní SVG), ikony doplňku „tlačítka“ se skryjí */
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button { gap: 12px; background-image: none !important; }
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button::before,
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button::after { content: none !important; display: none !important; }
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button svg:not(.an-btn-ico),
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button i,
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button img { display: none !important; }
html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button .an-btn-ico { flex: none; width: 22px; height: 22px; }

/* množství: [−] [ 1 ] [+] jako v návrhu */
html.an-redesign .type-detail .an-buy .quantity { display: flex !important; align-items: center; gap: 8px; position: relative; flex: none; float: none !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; }
html.an-redesign .type-detail .an-buy .quantity label { order: 2; display: block; position: static; margin: 0; padding: 0; }
html.an-redesign .type-detail .an-buy .quantity .amount { width: 52px !important; height: 48px !important; margin: 0 !important; padding: 0 !important; border: 1px solid #d0d3ca !important; border-radius: 8px !important; background: #fff !important; box-shadow: none !important; text-align: center; font-size: 17px; font-weight: 500; -moz-appearance: textfield; appearance: textfield; }
html.an-redesign .type-detail .an-buy .quantity .amount::-webkit-outer-spin-button,
html.an-redesign .type-detail .an-buy .quantity .amount::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
html.an-redesign .type-detail .an-buy .quantity .decrease { order: 1; }
html.an-redesign .type-detail .an-buy .quantity .increase { order: 3; }
html.an-redesign .type-detail .an-buy .quantity .increase,
html.an-redesign .type-detail .an-buy .quantity .decrease { position: static !important; display: grid !important; place-items: center; width: 22px !important; height: 22px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 3px !important; background: #dfe2d9 !important; box-shadow: none !important; color: #222; font-size: 15px; line-height: 1; cursor: pointer; transform: none !important; }
html.an-redesign .type-detail .an-buy .quantity .increase__sign,
html.an-redesign .type-detail .an-buy .quantity .decrease__sign { display: block; font-size: 15px; line-height: 1; }
html.an-redesign .type-detail .an-buy .quantity::before,
html.an-redesign .type-detail .an-buy .quantity::after,
html.an-redesign .type-detail .an-buy .quantity label::before,
html.an-redesign .type-detail .an-buy .quantity label::after { content: none !important; display: none !important; }
html.an-redesign .type-detail .an-buy .quantity .amount { background-image: none !important; }
html.an-redesign .type-detail .an-buy .quantity .increase-tooltip,
html.an-redesign .type-detail .an-buy .quantity .decrease-tooltip { position: absolute !important; width: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; opacity: 0 !important; overflow: hidden; visibility: hidden !important; pointer-events: none; }
html.an-redesign .type-detail .an-buy .quantity *::before,
html.an-redesign .type-detail .an-buy .quantity *::after { content: none !important; display: none !important; border: 0 !important; }
html.an-redesign .type-detail .an-buy .quantity .amount { -webkit-appearance: textfield !important; appearance: textfield !important; }
html.an-redesign .type-detail .an-buy .quantity .amount::-webkit-inner-spin-button,
html.an-redesign .type-detail .an-buy .quantity .amount::-webkit-outer-spin-button { -webkit-appearance: none !important; display: none !important; margin: 0; }


/* ---------- ujištění a „Opýtať sa“ ---------- */
html.an-redesign .type-detail .an-assure { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 18px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid #dcdfd5; font-size: 14px; }
html.an-redesign .type-detail .an-assure li { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 0; }
html.an-redesign .type-detail .an-assure svg { flex: none; margin-top: 1px; color: #4e8423; }
html.an-redesign .type-detail .an-assure a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
html.an-redesign .type-detail .an-ask { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-size: 14px; color: #505050; }
html.an-redesign .type-detail .an-ask a { display: inline-flex; align-items: center; gap: 7px; color: #222; text-decoration: underline; text-underline-offset: 3px; }
html.an-redesign .type-detail .an-prod .social-buttons-wrapper { display: none !important; }   /* tisk a sdílení; „Opýtať sa“ je výše */

/* záložky (Popis / Podobné / Diskusia) se záměrně nestylují: šablona je přepíná do nabídky „≡“ podle šířky a rozbíjelo by se to */

/* ---------- popis a parametry ---------- */
html.an-redesign .type-detail .p-detail-tabs-wrapper .description-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 44px; align-items: start; margin-top: 30px; }
html.an-redesign .type-detail .p-detail-tabs-wrapper .description-inner > .basic-description,
html.an-redesign .type-detail .p-detail-tabs-wrapper .description-inner > .extended-description,
html.an-redesign .type-detail .p-detail-tabs-wrapper .description-inner > .an-params { float: none !important; width: auto !important; max-width: none !important; min-width: 0; margin: 0 !important; box-sizing: border-box; }
html.an-redesign .type-detail .p-detail-tabs-wrapper .description-inner > .basic-description { padding: 0 !important; }
html.an-redesign .type-detail .p-detail-tabs-wrapper .basic-description > h3 { display: none; }   /* „Podrobný popis“ je zbytečný nadpis */
html.an-redesign .type-detail .basic-description,
html.an-redesign .type-detail .basic-description section,
html.an-redesign .type-detail .basic-description p,
html.an-redesign .type-detail .basic-description li { font-family: inherit !important; font-size: 15.4px !important; line-height: 1.6 !important; color: #505050 !important; text-align: left !important; }
html.an-redesign .type-detail .basic-description h2 { margin: 26px 0 10px; font-size: 22px !important; font-weight: 600; line-height: 1.25; color: #292b32; }
html.an-redesign .type-detail .basic-description h2 strong { font-weight: 600; }
html.an-redesign .type-detail .basic-description ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
html.an-redesign .type-detail .basic-description li { position: relative; margin: 0; padding-left: 18px; }
html.an-redesign .type-detail .basic-description li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: #4e8423; }
html.an-redesign .type-detail .basic-description strong { color: #222; }
html.an-redesign .type-detail .an-params { padding: 8px 22px !important; background: #eef0e9; border-radius: 8px; }
html.an-redesign .type-detail .an-params > h3 { margin: 16px 0 4px; padding: 0; font-size: 20px; font-weight: 600; color: #292b32; text-transform: none; }
html.an-redesign .type-detail .an-params__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid #dcdfd5; font-size: 14.5px; }
html.an-redesign .type-detail .an-params__row:last-child { border-bottom: 0; }
html.an-redesign .type-detail .an-params__row span { font-weight: 600; text-align: left; }
html.an-redesign .type-detail .an-params__row b,
html.an-redesign .type-detail .an-params__row a { color: #4e8423 !important; font-weight: 600; text-align: right; text-decoration: none; }

/* ---------- pravý panel na produktu: rámeček „Neviete si vybrať?“ ---------- */
html.an-redesign .type-detail .an-help { margin: 26px 0; padding: 20px; background: #f4f4f4; border: 0 !important; box-shadow: none !important; outline: 0; border-radius: 8px; text-align: left; }
html.an-redesign .type-detail .an-help::before, html.an-redesign .type-detail .an-help::after { content: none !important; display: none !important; }
html.an-redesign .type-detail .an-help strong { display: block; margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #222; }
html.an-redesign .type-detail .an-help p { margin: 0; font-size: 14px; line-height: 1.45; color: #505050; }
html.an-redesign .type-detail .an-help .an-help__tel { display: block; margin-top: 10px; font-size: 18px; font-weight: 700; color: #4e8423 !important; text-decoration: none; }
html.an-redesign .type-detail .an-help .an-help__hrs { margin-top: 2px; }
html.an-redesign body.an-prod-notop .box-topProducts { display: none !important; }

/* ---------- lepivá lišta s cenou a tlačítkem (jen mobil) ---------- */
.an-buybar { display: none; }
@media (max-width: 991px) {
  html.an-redesign .type-detail .p-detail-tabs-wrapper .description-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 767px) {
  html.an-redesign .type-detail .p-detail-inner-header h1,
  html.an-redesign .type-detail .an-host h1 { font-size: 27px; }
  html.an-redesign .type-detail .an-buy { margin-top: 14px; padding: 16px; }
  html.an-redesign .type-detail .an-buy .p-final-price-wrapper .price-final { font-size: 28px; }
  html.an-redesign .type-detail .an-buy .add-to-cart .add-to-cart-button { height: 50px; min-height: 50px; font-size: 17px; }
  html.an-redesign .type-detail .an-assure { grid-template-columns: 1fr; }
  .an-buybar {
    display: flex; align-items: center; gap: 14px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px;
    background: #fff; border-top: 1px solid #e6e6e6; box-shadow: 0 -6px 18px rgba(0, 0, 0, .08); transform: translateY(110%); transition: transform .2s;
  }
  .an-buybar--on { transform: none; }
  .an-buybar > div { line-height: 1.2; }
  .an-buybar strong { display: block; font-size: 20px; font-weight: 700; color: #1e1e1c; }
  .an-buybar small { font-size: 12.5px; font-weight: 600; color: #3f9a1c; }
  .an-buybar__btn { flex: 1; height: 48px; border: 0; border-radius: 10px; background: #4e8423; color: #fff; font: inherit; font-size: 16.5px; font-weight: 600; letter-spacing: .5px; cursor: pointer; }
  body.an-buybar-on #return-to-top { bottom: 84px !important; }
  body.an-has-buybar #footer { padding-bottom: 72px; }
}

/* ---------- „K tomuto produktu sa hodí“ (souvisejicí zboží jako kompaktní pruh) ---------- */
html.an-redesign .type-detail .p-detail.an-prod .an-rel-hide { display: none !important; }
html.an-redesign .type-detail .an-with { margin-top: 46px; }
html.an-redesign .type-detail .an-with__h { margin: 0 0 16px; padding: 0; font-size: 24px; font-weight: 600; line-height: 1.25; color: #292b32; text-transform: none; }
html.an-redesign .type-detail .an-with__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html.an-redesign .type-detail .an-with__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
html.an-redesign .type-detail .an-with__item:hover { border-color: #4e8423; }
html.an-redesign .type-detail .an-with__img { display: block; }
html.an-redesign .type-detail .an-with__img img { display: block; width: 64px; height: 64px; max-width: none; object-fit: contain; }
html.an-redesign .type-detail .an-with__name { display: block; font-size: 14.5px; line-height: 1.3; color: #222; text-decoration: none; }
html.an-redesign .type-detail .an-with__txt b { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; color: #1e1e1c; }
html.an-redesign .type-detail .an-with__add { display: inline-block; margin: 4px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: #4e8423; text-decoration: none; cursor: pointer; }
html.an-redesign .type-detail .an-with__add:hover { text-decoration: underline; }
html.an-redesign .type-detail .an-with__add:disabled { cursor: default; text-decoration: none; }
@media (max-width: 767px) {
  html.an-redesign .type-detail .an-with { margin-top: 34px; }
  html.an-redesign .type-detail .an-with__h { font-size: 21px; margin-bottom: 12px; }
  html.an-redesign .type-detail .an-with__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* =====================================================================
   KOŠÍK: „K vašej objednávke sa hodí“ (pruh vzniká ve skriptu, CFG.cart)
   ===================================================================== */
html.an-redesign .an-rec { clear: both; margin: 34px 0 0; }
html.an-redesign .an-rec__head { margin: 0 0 14px; }
html.an-redesign .an-rec__h { margin: 0; padding: 0; font-size: 22px; font-weight: 600; line-height: 1.25; color: #292b32; text-transform: none; }
html.an-redesign .an-rec__sub { margin: 4px 0 0; font-size: 14.5px; line-height: 1.4; color: #505050; }
html.an-redesign .an-rec__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
html.an-redesign .an-rec__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
html.an-redesign .an-rec__item:hover { border-color: #4e8423; }
html.an-redesign .an-rec__img { display: block; }
html.an-redesign .an-rec__img img { display: block; width: 64px; height: 64px; max-width: none; object-fit: contain; }
html.an-redesign .an-rec__name { display: block; font-size: 14.5px; line-height: 1.3; color: #222; text-decoration: none; }
html.an-redesign .an-rec__row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 3px; }
html.an-redesign .an-rec__row b { font-size: 16px; font-weight: 700; color: #1e1e1c; }
html.an-redesign .an-rec__badge { padding: 2px 8px; border-radius: 20px; background: #e6efd9; color: #3f6d1b; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
html.an-redesign .an-rec__add { display: inline-block; margin: 8px 0 0; padding: 6px 12px; border: 1px solid #4e8423; border-radius: 8px; background: #fff; color: #4e8423; font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.3; cursor: pointer; }
html.an-redesign .an-rec__add:hover { background: #4e8423; color: #fff; }
html.an-redesign .an-rec__add:disabled { cursor: default; background: #eef0e9; border-color: #eef0e9; color: #4e8423; }
@media (max-width: 767px) {
  html.an-redesign .an-rec { margin-top: 26px; }
  html.an-redesign .an-rec__h { font-size: 20px; }
}

/* =====================================================================
   BANNERY S DVĚMA OBRÁZKY: původní čtvercový (starý vzhled) a široký (nový vzhled).
   Široký obrázek má v kódu banneru style="display:none", takže i bez tohoto souboru zůstane starý vzhled beze změny.
   ===================================================================== */
html.an-redesign .banner img.an-b-old { display: none !important; }
html.an-redesign .banner img.an-b-wide { display: block !important; }

/* =====================================================================
   MOBIL: pás výhod pod hlavičkou (na počítači jsou výhody v horní liště)
   Vkládá ho raný skript v záhlaví (nebo hlavní skript jako záloha).
   ===================================================================== */
.an-perks-m { display: none; }
@media (max-width: 767px) {
  html.an-redesign .an-perks-m { display: block; background: #f6f5f2; border-bottom: 1px solid #e4e2dc; }
  html.an-redesign .an-perks-m__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 0; padding: 9px 14px; list-style: none; font-size: 12px; line-height: 1.25; color: #222; }
  html.an-redesign .an-perks-m__list li { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; font-weight: 500; }
  html.an-redesign .an-perks-m__list svg { flex: none; width: 16px; height: 16px; color: #4e8423; }
}

/* =====================================================================
   MOBIL: celý malý banner je odkaz (obrázek je v odkazu přes celou plochu, tlačítko zůstává nad ním)
   ===================================================================== */
html.an-redesign .in-index #content .an-hero-grid .banner a.an-banner-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  transform: none !important;
  display: block !important;
  z-index: 1 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
}
