/* 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-head { text-align: center; margin: 40px 0 18px; }
.nv-tabs-title { font: 700 21px/1.2 "Nunito Sans", sans-serif; color: #24242e; margin: 0 0 6px; }
.nv-tabs-sub { font-size: 13px; color: #6b6b76; margin: 0 0 14px; }
.nv-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #f1f1f4; border-radius: 999px; }
.nv-tabs button {
  border: 0; background: transparent; color: #24242e;
  border-radius: 999px; padding: 11px 22px; font: 800 14px/1 "Nunito Sans", sans-serif; cursor: pointer; transition: background .15s;
}
.nv-tabs button:hover { background: #e4e4ea; }
.nv-tabs button.on { background: #24242e; color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
@media (max-width: 767px) {
  .nv-tabs-head { margin: 28px 16px 12px; }
  .nv-tabs-title { font-size: 19px; }
  .nv-tabs-sub { font-size: 12px; margin-bottom: 12px; }
  .nv-tabs { display: flex; width: 100%; }
  .nv-tabs button { flex: 1; padding: 10px 6px; font-size: 13px; white-space: nowrap; }
  /* šipky posuvníku by překrývaly záložky – na mobilu se posouvá prstem */
  .in-index .products-block .slick-arrow { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991px) { .nv-tabs-head { margin-bottom: 64px; } }

/* ===== Úvodní stránka: blog ===== */
.in-index .blog-outer { margin-bottom: 20px; }
.nv-blog { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 !important; }
.nv-blog::before, .nv-blog::after { display: none !important; }
.nv-blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 10px 0 18px; }
.nv-blog-head h2 { font: 700 21px/1.2 "Nunito Sans", sans-serif; color: #24242e; margin: 0 0 4px; text-transform: uppercase; }
.nv-blog-head p { margin: 0; font-size: 13px; color: #6b6b76; }
.nv-blog-head a { flex: none; font-weight: 800; font-size: 14px; color: #24242e !important; text-decoration: none !important; border: 1.5px solid #24242e; border-radius: 999px; padding: 9px 16px; }
.nv-blog-head a:hover { background: #24242e; color: #fff !important; }
.nv-blog .news-item { width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; background: #fff; border: 1px solid #ececf0; border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.nv-blog .news-item:hover { box-shadow: 0 10px 24px rgba(0,0,0,.09); transform: translateY(-3px); }
@media (min-width: 768px) { .nv-blog .news-item:nth-of-type(n+5) { display: none !important; } }
.nv-blog .news-item > a { display: flex !important; flex-direction: column; height: 100%; text-decoration: none !important; }
.nv-blog .news-item .image { position: relative; margin: 0 !important; aspect-ratio: 1 / 1; overflow: hidden; }
.nv-blog .news-item .image img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .35s; }
.nv-blog .news-item:hover .image img { transform: scale(1.04); }
.nv-blog-tag { position: absolute; left: 10px; top: 10px; background: #fff; color: #24242e; font: 800 11px/1 "Nunito Sans", sans-serif; padding: 6px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.nv-blog .news-item .text { padding: 14px 16px 16px !important; display: flex; flex-direction: column; flex: 1; }
.nv-blog .news-item .title { font: 800 16px/1.3 "Nunito Sans", sans-serif !important; color: #24242e !important; text-decoration: none !important; margin: 0 0 8px !important; display: block; }
.nv-blog .news-item .description { font-size: 13px !important; line-height: 1.45 !important; color: #6b6b76 !important; margin: 0 0 12px !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nv-blog .news-item .read-article { margin-top: auto; font-weight: 800; font-size: 13px; color: #a16800 !important; text-decoration: none !important; }
.nv-blog .news-item .read-article::after { content: " →"; }
.nv-blog .news-item .read-article::before { display: none !important; }
.nv-blog .cely-clanek { display: none !important; }
@media (max-width: 991px) { .nv-blog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .nv-blog { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; gap: 12px; padding: 0 16px 8px !important; margin: 0 !important; width: 100% !important; box-sizing: border-box; scrollbar-width: none; }
  .in-index .blog-outer { padding: 0 !important; overflow: hidden; }
  .nv-blog::-webkit-scrollbar { display: none; }
  .nv-blog .news-item { flex: 0 0 75%; scroll-snap-align: start; }
  .nv-blog-head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 0 16px; }
  .nv-blog-head h2 { font-size: 19px; }
  .nv-blog-head a { padding: 7px 13px; font-size: 13px; }
}

/* ===== Úvodní stránka: recenze – vlevo souhrn, vpravo karty ===== */
.nv-reviews .ratings-in { display: grid !important; grid-template-columns: 230px 1fr; gap: 22px; align-items: stretch; background: #f6f6f7; border-radius: 18px; padding: 22px !important; }
.nv-reviews .ratings-in::before, .nv-reviews .ratings-in::after { display: none !important; }
.nv-reviews .r-top { display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; margin: 0 !important; padding: 8px 6px; }
.nv-reviews .r-number { width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; display: block !important; }
.nv-reviews .r-number .rate-average { font: 900 56px/1 "Nunito Sans", sans-serif !important; color: #24242e !important; background: none !important; width: auto !important; height: auto !important; border-radius: 0 !important; display: block !important; text-align: left !important; }
.nv-reviews .r-number::after { content: "★★★★★"; display: block; color: #f5a300; font-size: 20px; letter-spacing: 2px; margin-top: 6px; }
.nv-reviews .r-nadpis { width: auto !important; }
.nv-reviews .r-nadpis h4 { font: 800 18px/1.2 "Nunito Sans", sans-serif !important; color: #24242e; margin: 4px 0 2px !important; }
.nv-reviews .r-nadpis > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; font-size: 13px; color: #6b6b76; }
.nv-reviews .r-nadpis div::after, .nv-reviews .r-nadpis span::after { content: none !important; }
.nv-reviews .r-nadpis a { margin: 0 !important; font-weight: 800; font-size: 14px; color: #1a1a1a !important; background: #f7b83a; border-radius: 999px; padding: 10px 18px; text-decoration: none !important; }
.nv-reviews .r-nadpis a::after { content: " →"; }
.nv-reviews .r-nadpis a:hover { filter: brightness(1.06); }
.nv-reviews .r-bottom { min-width: 0; }
.nv-reviews #ratingsList { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important; }
.nv-reviews .vote-wrap { width: auto !important; max-width: none !important; margin: 0 !important; background: #fff; border-radius: 14px; padding: 16px 18px !important; display: flex !important; flex-direction: column; gap: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.05); border: 0 !important; }
.nv-reviews .vote-header { display: flex; align-items: center; gap: 10px; }
.nv-reviews .vote-name { font-weight: 800; color: #24242e; }
.nv-reviews .vote-rating { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #9a9aa3; }
.nv-reviews .vote-rating .stars { position: static !important; display: inline-block; margin: 0; }
.nv-reviews .vote-content { font-size: 14px !important; line-height: 1.5 !important; color: #3a3a44 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991px) { .nv-reviews .ratings-in { grid-template-columns: 1fr; } .nv-reviews .r-top { flex-direction: row; flex-wrap: wrap !important; align-items: center; gap: 12px 18px; } }
@media (max-width: 767px) {
  .nv-reviews .ratings-in { padding: 18px 14px !important; margin: 0 16px; border-radius: 14px; gap: 14px; }
  .nv-reviews .r-number .rate-average { font-size: 44px !important; }
  .nv-reviews .r-number::after { font-size: 16px; }
  .nv-reviews #ratingsList { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .nv-reviews #ratingsList::-webkit-scrollbar { display: none; }
  .nv-reviews .vote-wrap { flex: 0 0 80%; scroll-snap-align: start; }
}

/* ===== Pruh „Poradíme vám“ ===== */
.nv-help { margin-top: 10px; margin-bottom: 40px; }
.nv-help-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #24242e; color: #fff; border-radius: 16px; padding: 22px 26px; }
.nv-help-t { display: flex; align-items: center; gap: 16px; font-size: 14px; color: #c9c9d2; }
.nv-help-t b { display: block; font-size: 19px; color: #fff; margin-bottom: 2px; }
.nv-help-ic { font-size: 34px; line-height: 1; }
.nv-help-b { display: flex; gap: 10px; flex-wrap: wrap; }
.nv-help-btn { background: #f7b83a; color: #1a1a1a !important; font-weight: 900; font-size: 15px; border-radius: 999px; padding: 12px 20px; text-decoration: none !important; white-space: nowrap; }
.nv-help-btn2 { background: transparent; color: #fff !important; border: 1.5px solid #6b6b76; }
.nv-help-btn:hover { filter: brightness(1.06); }
@media (max-width: 767px) {
  .nv-help { padding: 0 16px; }
  .nv-help-in { flex-direction: column; align-items: stretch; padding: 20px 18px; }
  .nv-help-b { flex-direction: column; }
  .nv-help-btn { text-align: center; }
}

/* ===== Detail produktu ===== */
/* dárek jako box */
.nv-gift { display: flex; align-items: center; gap: 12px; background: #fff4d6; border-radius: 12px; padding: 11px 14px; margin: 16px 0 22px; 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;
  }
}
