/* Nejlevnější výživa – nový design (v1): úvodní stránka, detail produktu, kategorie
   Prvky vkládá skript nv-skripty.js (v2). */

/* ===== Úvodní stránka ===== */
/* jedna sekce kategorií: „Oblíbené kategorie“ skryjeme, zůstává „Vyberte si, co potřebujete“ */
.in-index .fav-cat { display: none !important; }
/* výhody (Garance, Dárek…) nahrazuje pruh důvěry */
.in-index .benefitBanner.position--benefitHomepage { display: none !important; }

/* pruh důvěry */
.nv-duvera { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; margin: 6px 0 26px; }
.nv-tr { display: flex; align-items: center; gap: 12px; background: #f6f6f7; border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.3; color: #6b6b76 !important; text-decoration: none !important; }
.nv-tr b { display: block; font-size: 15px; color: #24242e; }
.nv-big { font-size: 30px; font-weight: 900; color: #24242e; line-height: 1; }
.nv-stars { display: block; color: #f5a300; letter-spacing: 1px; font-size: 13px; }
.nv-ic { font-size: 24px; line-height: 1; }
.nv-tr-rating:hover { background: #fff4d6; }
@media (max-width: 991px) { .nv-duvera { grid-auto-flow: row; grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .nv-duvera { gap: 8px; margin: 4px 16px 20px; }
  .nv-tr { padding: 10px; gap: 8px; font-size: 11.5px; }
  .nv-tr b { font-size: 13px; }
  .nv-big { font-size: 24px; }
  .nv-ic { font-size: 20px; }
}

/* recenze přesunuté nad blog */
.nv-reviews { margin-top: 10px; margin-bottom: 30px; }

/* produkty v záložkách */
.nv-hide { display: none !important; }
.nv-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 30px 0 14px; }
.nv-tabs button {
  border: 1px solid #e3e3e8; background: #fff; color: #24242e;
  border-radius: 999px; padding: 10px 18px; font: 800 14px/1 "Nunito Sans", sans-serif; cursor: pointer;
}
.nv-tabs button.on { background: #24242e; border-color: #24242e; color: #fff; }
@media (max-width: 767px) {
  .nv-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 20px -16px 10px; padding: 0 16px; }
  .nv-tabs::-webkit-scrollbar { display: none; }
  .nv-tabs button { flex: none; padding: 9px 14px; font-size: 13px; }
}

/* ===== Detail produktu ===== */
/* dárek jako box */
.nv-gift { display: flex; align-items: center; gap: 12px; background: #fff4d6; border-radius: 12px; padding: 11px 14px; margin: 0 0 14px; font-size: 14px; color: #24242e; }
.nv-gift b { font-weight: 900; }
.nv-gift-ic { font-size: 22px; line-height: 1; }
h1 .product-appendix { display: none; }

/* příchutě jako tlačítka */
.nv-select-hidden { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; }
.nv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 4px; transition: box-shadow .2s; border-radius: 12px; }
.nv-chips button {
  border: 1.5px solid #dcdce3; background: #fff; color: #24242e;
  border-radius: 10px; padding: 9px 14px; min-height: 42px;
  font: 700 14px/1.2 "Nunito Sans", sans-serif; cursor: pointer; transition: all .12s;
}
.nv-chips button:hover { border-color: #24242e; }
.nv-chips button.on { background: #24242e; border-color: #24242e; color: #fff; }
.nv-chips button.sold { color: #a7a7b0; text-decoration: line-through; background: #f7f7f9; }
.nv-chips.nv-attention { box-shadow: 0 0 0 3px #f7b83a; }

/* tři důvody k nákupu */
.nv-reasons { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 14px 0 6px; }
.nv-reasons div { background: #f6f6f7; border-radius: 10px; padding: 10px 8px; font-size: 12px; line-height: 1.3; text-align: center; color: #6b6b76; }
.nv-reasons b { display: block; font-size: 15px; color: #24242e; }

/* plovoucí lišta – jen mobil */
.nv-sticky { display: none !important; }
@media (max-width: 767px) {
  .nv-sticky {
    display: flex !important; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: #fff; border-top: 1px solid #ececf0; box-shadow: 0 -6px 18px rgba(0,0,0,.08);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); transition: transform .25s;
  }
  .nv-sticky.show { transform: none; }
  .nv-sticky-p { flex: 1; min-width: 0; }
  .nv-sticky-p b { display: block; font-size: 19px; font-weight: 900; color: #24242e; }
  .nv-sticky-p span { display: block; font-size: 11.5px; color: #6b6b76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nv-sticky-b {
    flex: none; border: 0; border-radius: 999px; background: #f7b83a; color: #1a1a1a;
    font: 900 15px/1 "Nunito Sans", sans-serif; padding: 14px 22px;
  }
}
