#top10-section li::marker {
  color: transparent !important;
}


#top10-section ol,
#top10-section .list-group-numbered {
  counter-reset: top10counter;
  list-style: none;
  padding-left: 0;
}

#top10-section li {
  counter-increment: top10counter;
  margin: 10px 0;
  font-weight: 600;
  position: relative;
  padding-left: 50px;
  min-height: 36px;
}

#top10-section li::before {
  content: counter(top10counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

#top10-section li:nth-child(1)::before { background: linear-gradient(135deg,#e7fdec,#b8f3ca); }
#top10-section li:nth-child(2)::before { background: linear-gradient(135deg,#dafbe5,#a9f0c0); }
#top10-section li:nth-child(3)::before { background: linear-gradient(135deg,#ccf9dd,#9aebb7); }
#top10-section li:nth-child(4)::before { background: linear-gradient(135deg,#bef7d5,#89e6ad); }
#top10-section li:nth-child(5)::before { background: linear-gradient(135deg,#aff5cd,#78e1a3); }
#top10-section li:nth-child(6)::before { background: linear-gradient(135deg,#9ff2c4,#66dc99); }
#top10-section li:nth-child(7)::before { background: linear-gradient(135deg,#8fedbc,#54d68f); }
#top10-section li:nth-child(8)::before { background: linear-gradient(135deg,#7ee9b3,#42d085); }
#top10-section li:nth-child(9)::before { background: linear-gradient(135deg,#6de5aa,#32ca7b); }
#top10-section li:nth-child(10)::before { background: linear-gradient(135deg,#5be0a0,#21c371); }


/* ===== Solar Green × Nuevo – Dual price (refined) ===== */
#sg-price-card{
  display:grid;
  gap:8px;
  padding:12px 14px;
  margin-top:12px;
  border:1px solid rgba(17,24,39,.08);   /* jemnější */
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}
#sg-price-card .sg-price-row{
  display:flex; align-items:baseline; justify-content:space-between;
}
#sg-price-card .sg-price-label{
  font-weight:600; font-size:14px; color:#111827;
}
#sg-price-card .sg-price-amount{
  font-weight:800; font-size:clamp(20px,2.4vw,26px); letter-spacing:-.01em;
}
#sg-price-card .sg-price-label-muted{
  font-size:13px; color:#6b7280;
}
#sg-price-card .sg-price-amount-muted{
  font-weight:600; font-size:14px; color:#374151;
}
/* Jemné vyrovnání okolních prvků */
.tax-shipping-delivery-label{ margin-top:8px; }

/* Trochu prostoru okolo "tax-shipping-delivery-label" a odsazení */
.tax-shipping-delivery-label{
  margin-top:8px;
}

/* ===== Solar Green × Nuevo – Two price tiles ===== */
#sg-price-tiles{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  margin-top:12px;
}
@media (min-width: 480px){
  #sg-price-tiles{ grid-template-columns: 1fr 1fr; }
}

.sg-price-tile{
  padding:12px 14px;
  border:1px solid rgba(17,24,39,.08);
  border-radius:12px;
  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.04);
}

.sg-tile-label{
  font-weight:600;
  font-size:14px;
  color:#111827;
  margin-bottom:4px;
}

/* Stejná velikost částek pro obě tabule */
.sg-tile-amount{
  font-size:clamp(20px, 2.4vw, 26px);
  font-weight:700;           /* Bez DPH = tučné */
  letter-spacing:-0.01em;
  color:#111827;
}

/* S DPH výraznější (stejná velikost, jen větší váha písma) */
.sg-ttc .sg-tile-amount{
  font-weight:800;
}

/* Poznámka k DPH (pod tabulemi) */
.sg-vat-note{
  margin-top:6px;
  font-size:12px;
  color:#6b7280;    /* neutral-500 */
  text-align:right; /* zarovnání doprava k cenám */
}

/* Jemné srovnání okolních prvků */
.tax-shipping-delivery-label{ margin-top:8px; }

/* hide firstname and lastname alerts in checkout form */  
#customer-form input[name="firstname"] + span.form-control-comment,
#customer-form input[name="lastname"] + span.form-control-comment {
  display: none;
}

/* fix for Chrome image rendering (zvaž omezit na .product-cover img) */
img { image-rendering: -webkit-optimize-contrast; }

/* ===== CMS & Page Headings ===== */
.page-content .page-header .page-title {
  font-size: 36px;
  font-weight: 700;
  color: #2e7d32;
  padding-bottom: 15px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-content .page-header .page-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #81c784, #388e3c);
  border-radius: 2px;
}

/* Ikona ve stylu Font Awesome (CMS) */
.cms-content .title-icon {
  font-size: 32px;
  vertical-align: middle;
  margin-right: 12px;
  color: #4caf50;
}

/* CMS: seznamy, odstavce, odkazy */
.cms-content ul { padding-left: 20px; margin-bottom: 20px; }
.cms-content ul li {
  font-size: 17px;
  margin-bottom: 8px;
  list-style: disc;
  color: #2e7d32;
  font-family: 'Roboto', sans-serif;
}
.cms-content p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Roboto', sans-serif;
}
.cms-content a { color: #388e3c; text-decoration: underline; }
.cms-content a:hover { color: #1b5e20; }

/* ===== Vertical Menu drobnosti ===== */
#wpverticalmenu .vertical-menu a.dropdown-submenu { margin-top: 10px; }
#wpverticalmenu .vertical-menu a.dropdown-submenu + .category-thumbnail img {
  margin-top: 25px; display: block;
}
#wpverticalmenu .vertical-menu #lnk-revize-a-servis-fve > a {
  color: #d32f2f !important;
  font-weight: 700;
  background-color: #f5f5f5;
}

/* ===== Mega Menu loga ===== */
.ets_item_img {
  display: flex; align-items: center; justify-content: center;
  height: 90px; width: 100%; overflow: hidden; padding: 10px 0;
}
.mm_mnu_display_img img {
  max-height: 70px; width: auto; object-fit: contain;
  transition: transform .2s ease-in-out;
}
.mm_mnu_display_img img:hover { transform: scale(1.05); opacity: .9; }
.mm_mnu_display_img li { list-style: none; text-align: center; margin: 8px 0; }

/* ===== Produktový listing & filtry ===== */
#grid_list { display: flex; gap: 25px; }

/* “Filtrovat podle” – zvýraznění */
#search_filters > p.h6.hidden-lg-down {
  font-weight: 700; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
#search_filters > p.h6.hidden-lg-down::before {
  content: "🔍";
  font-size: 1.1em; color: #FFD700; line-height: 1;
}
#search_filters > p.h6.hidden-lg-down:hover,
#search_filters > p.h6.hidden-lg-down:hover::before { color: #ffcc00; }

/* ===== Reusable SG utility stylování ===== */
.sg-container { max-width: 1100px; margin: 0 auto; padding: 16px; }
.sg-breadcrumbs { font-size: 14px; color: #667085; margin-bottom: 8px; }
.sg-hero { background: #f3f7f5; border: 1px solid #e6f0eb; border-radius: 14px; padding: 20px; margin-bottom: 24px; }
.sg-hero h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.2; }
.sg-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sg-badge { font-size: 12px; padding: 6px 10px; border-radius: 999px; background: #eaf6f0; }
.sg-toc { border: 1px solid #e8ecef; border-radius: 12px; padding: 16px; background: #fafcff; margin: 20px 0; }
.sg-note { background: #fff7e6; border: 1px solid #ffe3a1; padding: 12px; border-radius: 12px; }
.sg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sg-card { background: #fff; border: 1px solid #eceff2; border-radius: 14px; padding: 16px; margin-bottom: 16px; }
.sg-kpi { display: flex; gap: 16px; flex-wrap: wrap; }
.sg-kpi .item {
  flex: 1 1 180px; background: #f5faf7; border: 1px dashed #cfe7da;
  border-radius: 12px; padding: 14px; text-align: left; display: flex; gap: 12px;
}
.sg-icon { min-width: 42px; text-align: center; font-weight: 700; }
.sg-table { width: 100%; border-collapse: collapse; }
.sg-table th, .sg-table td { border: 1px solid #e6e9ef; padding: 10px; vertical-align: top; }
.sg-table th { background: #f7fafc; }
.sg-cta .btn-primary, .btn-primary {
  background: #0e3f2b; color: #fff; padding: 10px 14px;
  border-radius: 12px; text-decoration: none; font-weight: 600; display: inline-block;
}
.sg-cta .btn-outline, .btn-outline {
  background: #fff; border: 1px solid #0e3f2b; color: #0e3f2b;
  padding: 10px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; display: inline-block;
}
.sg-highlight { background: #eaf6f0; padding: 2px 6px; border-radius: 8px; }
.sg-divider { height: 1px; background: #eef1f4; margin: 24px 0; }
@media (max-width: 900px) { .sg-grid { grid-template-columns: 1fr; } }

/* ===== Design tokens (proměnné) ===== */
:root{
  --sg-green: #17a34a;
  --sg-green-700: #15803d;
  --sg-text: #0f172a;
  --sg-muted: #64748b;
  --sg-bg: #f8fafc;
  --sg-border: #e2e8f0;
}

/* ===== Product Meta (Kód / EAN / Záruka) ===== */
.sg-product-meta {
  margin: 1rem 0 1.25rem;
  padding: .875rem 1rem;
  border: 1px solid var(--sg-border);
  border-radius: .75rem;
  background: var(--sg-bg);
  display: grid; gap: .75rem; grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .sg-product-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sg-meta-item {
  display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem;
  border: 1px dashed var(--sg-border); border-radius: .65rem; background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sg-meta-item:hover { border-color: var(--sg-green); box-shadow: 0 2px 10px rgba(23,163,74,.08); }
.sg-meta-icon {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px;
  border: 1px solid var(--sg-green-700); display: grid; place-items: center;
  font-weight: 700; color: #fff; background: var(--sg-green);
}
.sg-meta-label {
  font-size: .78rem; line-height: 1; color: var(--sg-muted);
  letter-spacing: .02em; text-transform: uppercase;
}
.sg-meta-value { display: block; font-weight: 600; color: var(--sg-text); margin-top: .25rem; word-break: break-word; }

/* DŮLEŽITÉ: badge pro Product Meta je scoped, neprepíše globální .sg-badge */
.sg-product-meta .sg-badge {
  display: inline-block; font-size: .78rem; line-height: 1; font-weight: 700;
  padding: .35rem .55rem; border-radius: 999px; color: #fff;
  background: var(--sg-green); border: 1px solid var(--sg-green-700);
}
.product-information .sg-product-meta { margin-top: .75rem; }
.sg-stock-badge{display:inline-block;font-size:.78rem;font-weight:700;padding:.35rem .6rem;border-radius:999px;border:1px solid transparent}
.sg-stock--ok{color:#fff;background:var(--sg-green,#17a34a);border-color:var(--sg-green-700,#15803d)}
.sg-stock--naobj{color:#334155;background:#e2e8f0;border-color:#cbd5e1}

/* === Solar‑Green – Vertical Menu (safe enhancements only, 2025‑11‑05) === */
/* Scope strictly to #wpverticalmenu to avoid side effects elsewhere */
#wpverticalmenu .vertical-menu a.dropdown-submenu {
  padding: 6px 10px;
  border-radius: 8px;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* Subtle hover without color overrides (keeps theme palette) */
#wpverticalmenu .vertical-menu a.dropdown-submenu:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

/* Thumbnail alignment inside vertical submenus */
#wpverticalmenu .vertical-menu .category-thumbnail img {
  display: block;
  margin: 10px auto;
  max-width: 110px;
  height: auto;
  object-fit: contain;
}

/* Improve spacing between link and its thumbnail when present */
#wpverticalmenu .vertical-menu a.dropdown-submenu + .category-thumbnail {
  margin-top: 8px;
}

/* Optional: divider rhythm in long lists (keeps theme colors) */
#wpverticalmenu .vertical-menu li + li {
  border-top: 1px solid rgba(0,0,0,.05);
}
@media (prefers-color-scheme: dark) {
  #wpverticalmenu .vertical-menu li + li {
    border-top-color: rgba(255,255,255,.08);
  }
}

/* === Solar‑Green HOTFIX (2025‑11‑05) ===
   - Search icon visible on hover
   - TOP 1–10 badges green
   - Pagination green (active + hover)
*/

/* 1) SEARCH ICON – keep visible on hover */
#search_widget .search-button i,
#search_widget button i {
  color: inherit !important;
  transition: color .2s ease;
}
#search_widget:hover i,
#search_widget .search-button:hover i,
#search_widget button:hover i {
  color: #222 !important; /* dark text to be visible on white */
}

/* 2) TOP badges – green */
.product-flags .product-flag.top,
.product-flag.top,
.product-miniature .product-flag.top {
  background-color: #34c759 !important;
  color: #fff !important;
  border-color: #34c759 !important;
}

/* 3) Pagination – green */
.pagination .current,
.page-list li.current a,
.page-list li a:hover {
  background-color: #34c759 !important;
  border-color: #34c759 !important;
  color: #fff !important;
}
.pagination li a {
  color: #34c759;
  border-radius: 6px;
  transition: all .2s ease;
}
