/*
 * Naturalky: sjednocení písma v detailu produktu (návrh 17. 11. 2026, jen náhled)
 *
 * 1. Žádné šedé ani černé písmo, všechno v zelené značky #007041.
 * 2. Tři úrovně nadpisů:
 *    sekce stránky   25 px mobil / 35 px počítač, tučně 700, velké jen první písmeno
 *    podsekce popisu 18 px / 20 px, 600, verzálky (Parametry, Detailní popis…)
 *    popisky v buy boxu 14 px, 700, verzálky (Rozměr ubrousku, Počet ubrousků,
 *                       Přehrajte si video)
 * 3. Běžný text nejméně 15 px (na mobilu byl místy 12,5 px).
 *
 * Na webu od 17. 11. 2026 jako /user/documents/upload/detail-sjednoceni-v2.css (Záhlaví),
 * v2 přidala nadpis „Související produkty“. Platí jen pro detail produktu (body.type-detail).
 */

body.type-detail {
  --nd-g: #007041;
}

/* ---- 1. Šedé a černé písmo → zelená ---- */
body.type-detail .p-short-description,
body.type-detail .p-short-description *,
body.type-detail .price-measure,
body.type-detail .price-measure *,
body.type-detail .delivery-time-label,
body.type-detail .stars-wrapper,
body.type-detail .stars-wrapper *:not(.star),
body.type-detail #ratingTab h2,
body.type-detail .vote-wrap,
body.type-detail .vote-wrap .vote-name,
body.type-detail .vote-wrap .vote-name *,
body.type-detail .vote-wrap .vote-time,
body.type-detail .vote-wrap .vote-content,
body.type-detail #sf-reviews-widget-headline,
body.type-detail #sf-reviews-widget-headline *,
body.type-detail .products-related-header {
  color: var(--nd-g) !important;
}
body.type-detail .vote-wrap .vote-time { opacity: .75; }
/* Štítky pod názvem (200 ubrousků v roli…) měly černý text i rámeček */
body.type-detail .detail-tags .flag {
  color: var(--nd-g) !important;
  border-color: var(--nd-g) !important;
}

/* ---- 2a. Nadpisy sekcí stránky ---- */
body.type-detail h2.text-heading,
body.type-detail #ratingTab h2,
body.type-detail h2.reviews-headline,
body.type-detail h2.faq-headline,
body.type-detail #sf-reviews-widget-headline {
  font-size: 25px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
/* „Vytvořeno přes doplněk Fotorecenze“ v nadpisu zůstává drobně */
body.type-detail #sf-reviews-widget-headline a,
body.type-detail #sf-reviews-widget-headline a * {
  font-size: 12px !important;
  font-weight: 400 !important;
}
body.type-detail #sf-reviews-widget-headline a .sf-widget-brand-link { font-weight: 700 !important; }

/* ---- 2b. Podsekce popisu ---- */
body.type-detail p.text-label,
body.type-detail .basic-description h3,
body.type-detail .products-related-header {
  font-size: 18px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
}

/* ---- 2c. Popisky v buy boxu ---- */
body.type-detail .vb-popisek,
body.type-detail .nv-hlava {
  font-size: 14px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}
body.type-detail .vb-popisek .vb-jednotka { text-transform: none !important; letter-spacing: 0 !important; }

/* ---- 3. Běžný text ---- */
body.type-detail .product-features-item,
body.type-detail .product-usage-text,
body.type-detail .product-usage-item,
body.type-detail .faq-answer-text,
body.type-detail .faq-question,
body.type-detail .review-text,
body.type-detail .vote-wrap .vote-content {
  font-size: 15px !important;
  line-height: 1.5 !important;
}

/* ---- 4. Mezera mezi buy boxem a Popisem (dnes 77 px, nově 38 px) ----
   Skrytý odkaz „Detailní informace“ měl 19 px okraj, horní část detailu 38 px. */
body.type-detail .p-info-wrapper > p[data-testid="productCardDescr"] { margin: 0 !important; }
body.type-detail .product-top { margin-bottom: 18px !important; }

@media (min-width: 768px) {
  body.type-detail h2.text-heading,
  body.type-detail #ratingTab h2,
  body.type-detail h2.reviews-headline,
  body.type-detail h2.faq-headline,
  body.type-detail #sf-reviews-widget-headline {
    font-size: 35px !important;
  }
  body.type-detail p.text-label,
  body.type-detail .basic-description h3,
  body.type-detail .products-related-header {
    font-size: 20px !important;
  }
}
