/* ============================================================
   CUSTOM.CSS – otopne-zebriky.cz
   Struktura:
   1. CSS proměnné
   2. Globální přepisy
   3. Header / navigace
   4. Homepage
   5. Blog + KZM komponenty
   6. Detail produktu
   7. Košík / checkout
   8. FAQ
   9. Hodnocení
   10. Patička
   11. Responzivita
   ============================================================ */


/* ============================================================
   1. CSS PROMĚNNÉ
   ============================================================ */
:root {
  --color-navy:        #122841;
  --color-navy-light:  #1a3a5c;
  --color-red:         #93241C;
  --color-mustard:     #B57229;
  --color-mustard-dark:#8A5720;
  --color-bg:          #F7F7F5;
  --color-text:        #2D2D2D;
  --color-text-muted:  #6B6B6B;
  --color-border:      #E2E0DC;
  --color-white:       #ffffff;
}


/* ============================================================
   2. GLOBÁLNÍ PŘEPISY
   ============================================================ */

/* Základní text */
#content p,
.p-detail p {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.75;
}

/* Aktivní záložka */
.active .shp-tab-link {
  border-color: var(--color-mustard) !important;
}

/* Parametry produktu */
.detail-parameters th {
  color: var(--color-text-muted) !important;
}

/* Sleva – rudá pouze zde */
.price-save {
  color: var(--color-red) !important;
}

/* Záložky produktu – zvýraznění */
.shp-tabs-holder {
  background-color: var(--color-bg);
}

.shp-tabs-holder ul.shp-tabs li a.shp-tab-link[href="#dalsi-informace"] {
  background-color: var(--color-mustard);
  color: var(--color-white);
}


/* ============================================================
   3. HEADER / NAVIGACE
   ============================================================ */

/* Skrytí nepotřebných prvků */
.homepage-tabs-wrapper,
.footer-newsletter,
.rate-wrapper-in-description,
.top-navigation-menu-trigger,
.delivery-time-row,
.category-perex.empty-content-category,
.flag.flag-discount,
.benefitBanner.position--benefitProduct,
.vote-wrap .vote-header .vote-time,
.id-1 .latest-contribution-wrapper {
  display: none !important;
}

/* Navigační lišta */
.top-navigation-bar {
  font-size: 18px !important;
  line-height: 17px;
  letter-spacing: 0.8px;
  border: none;
}

.navigation-in {
  font-size: 18px;
}

/* Tlačítka navigace */
.responsive-tools > a {
  width: 45px;
  height: 45px;
}

.responsive-tools > a[data-target="navigation"]::before {
  content: 'MENU';
  width: auto !important;
  font-size: 14px;
  line-height: 40px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
  background: transparent;
  color: var(--color-navy);
  border: 1px solid var(--color-navy) !important;
  border-radius: 4px !important;
  margin-left: 5px !important;
  padding: 0 6px !important;
}

.navigation-buttons a[data-target="navigation"]::before {
  content: 'MENU';
  width: 40px;
  font-size: 10px;
  line-height: 40px;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
}

.navigation-window-visible .navigation-buttons a[data-target="navigation"]::before {
  font-family: shoptet;
}

/* Počet u košíku */
.navigation-buttons > a[data-target="cart"] i {
  color: var(--color-white);
  background-color: var(--color-mustard);
}

/* Logo v patičce – skrýt textový název */
#footer .site-name {
  display: none;
}

/* Ecodesign štítek */
.flag-ecodesign {
  display: inline-block !important;
  width: 50px !important;
  height: 50px !important;
  background: url("https://www.otopne-zebriky.cz/user/documents/upload/Grafika a blog/ecodesign otopné žebříky logo.png") center center no-repeat !important;
  background-size: contain !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  max-height: none !important;
  box-sizing: content-box !important;
}


/* ============================================================
   4. HOMEPAGE
   ============================================================ */

/* Šířka obsahu */
.welcome div,
.welcome h1 {
  max-width: 100%;
}

/* Pořadí sekcí */
.home #content {
  display: flex !important;
  flex-direction: column;
}

.homepage .hodnoceni {
  order: -1 !important;
  margin: 20px auto 40px !important;
}

.homepage .benefitBanner {
  order: 1 !important;
}

/* Benefity – barva textu */
.benefitBanner__content {
  color: var(--color-navy) !important;
}

/* Filtry */
.advanced-parameter-inner {
  border: 1px solid var(--color-border);
  border-radius: 0;
}

.advanced-parameter-inner img {
  border-radius: 0;
}

/* Podkategorie */
.subcategories li a {
  height: 80px !important;
}

.subcategories.with-image li a .image img {
  max-height: 70px !important;
}

/* Kontaktní sloupec */
.leftcolumn {
  width: 33.33%;
  line-height: 1.5;
  float: left;
}

/* Kód produktu */
.p-detail-inner-header .p-code {
  display: block;
  margin-top: 5px;
  margin-left: 5px;
}

.p-detail-info .p-code-label::before {
  content: " | ";
}


/* ============================================================
   5. BLOG + KZM KOMPONENTY
   ============================================================ */

/* Perex sekce */
.sectionDescription {
  background: var(--color-bg);
  border-left: 4px solid var(--color-navy);
  padding: 24px 28px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 36px;
}

.sectionDescription ul {
  padding-left: 20px;
  margin: 12px 0;
}

.sectionDescription ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* Mřížka článků */
#newsWrapper.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

/* Karta článku */
.news-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-item:hover {
  box-shadow: 0 6px 24px rgba(18, 40, 65, 0.1);
  transform: translateY(-3px);
}

.news-item .image {
  width: 100%;
  overflow: hidden;
}

.news-item .image a {
  display: block;
}

.news-item .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-item:hover .image img {
  transform: scale(1.04);
}

.news-item .text {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.news-item .text .title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .text .title:hover {
  color: var(--color-mustard);
}

.news-item .description {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-item .description p {
  margin: 0;
}

/* Tlačítko Číst více */
.btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 11px 22px;
  background-color: var(--color-navy);
  color: var(--color-white) !important;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease;
}

.btn-read-more:hover {
  background-color: var(--color-mustard);
  color: var(--color-white) !important;
}

/* Počet položek */
.listingControls .itemsTotal {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 16px;
}

/* ¦¦ KZM SYSTÉM KOMPONENT ¦¦ */

.kzm-wrap {
  font-family: inherit;
  color: var(--color-text);
  line-height: 1.75;
}

.kzm-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sekce */
.kzm-section {
  padding: 64px 0;
}

.kzm-section-alt {
  background-color: var(--color-bg);
}

/* Hero */
.kzm-hero {
  background-color: var(--color-navy);
  padding: 72px 0;
}

.kzm-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-mustard);
  margin-bottom: 16px;
}

.kzm-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 20px;
}

.kzm-perex {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 36px;
}

.kzm-section .kzm-perex,
.kzm-section-alt .kzm-perex {
  color: var(--color-text-muted);
}


.kzm-perex strong {
  color: var(--color-white);
  font-weight: 600;
}

/* Tlačítka */
.kzm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.kzm-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background-color 0.2s ease, opacity 0.15s ease;
  cursor: pointer;
}

.kzm-btn:hover {
  opacity: 0.88;
  text-decoration: none;
}

.kzm-btn-primary {
  background-color: var(--color-mustard);
  color: var(--color-white) !important;
  border: 2px solid var(--color-mustard);
}

.kzm-btn-primary:hover {
  background-color: var(--color-mustard-dark);
  border-color: var(--color-mustard-dark);
  opacity: 1;
}

.kzm-btn-secondary {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.kzm-section .kzm-btn-secondary {
  color: var(--color-navy) !important;
  border-color: var(--color-navy);
}

/* Nadpisy sekcí */
.kzm-wrap .kzm-section h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.kzm-wrap .kzm-section h3,
.kzm-h3 {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.35;
}

.kzm-wrap .kzm-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.35;
}

.kzm-sub {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0 0 36px;
  line-height: 1.65;
}

/* Intro text */
.kzm-intro p {
  font-size: 16px;
  color: #444;
  margin-bottom: 18px;
}

.kzm-intro p:last-child {
  margin-bottom: 0;
}

/* Gridy */
.kzm-grid-2,
.kzm-grid-3 {
  display: grid;
  gap: 16px;
}

.kzm-grid-2 { grid-template-columns: repeat(2, 1fr); }
.kzm-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Karty */
.kzm-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
}

.kzm-card h3,
.kzm-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.35;
}

.kzm-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* Checklist */
.kzm-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 32px;
}

.kzm-checklist ul li {
  padding-left: 22px;
  position: relative;
  font-size: 15px;
  color: #444;
  line-height: 1.55;
}

.kzm-checklist ul {
  padding-left: 18px;
}

.kzm-checklist ul li {
  list-style: disc;
  margin-bottom: 6px;
  line-height: 1.55;
}

.kzm-checklist ul li::before {
  content: none !important;
}


/* Kroky */
.kzm-steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kzm-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.kzm-step:last-child {
  border-bottom: none;
}

.kzm-step-no {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-navy);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.kzm-step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kzm-step-content h3,
.kzm-step-content h4,
.kzm-step h3,
.kzm-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.kzm-step-content p,
.kzm-step p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
}

/* Volný text */
.kzm-text p {
  font-size: 16px;
  color: #444;
  margin-bottom: 18px;
  max-width: 780px;
}

.kzm-text p:last-child {
  margin-bottom: 0;
}

/* CTA box */
.kzm-cta-box {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-navy);
  border-radius: 0 6px 6px 0;
  padding: 24px 28px;
  margin: 28px 0;
  background: var(--color-white);
}

.kzm-cta-box p {
  font-size: 15px;
  color: var(--color-text);
  margin: 0 0 8px;
  line-height: 1.65;
}

.kzm-cta-box p:last-child {
  margin-bottom: 0;
}

.kzm-cta-box ul {
  margin: 10px 0;
  padding-left: 18px;
}

.kzm-cta-box ul li {
  font-size: 15px;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.55;
}

.kzm-cta-highlight {
  color: var(--color-navy) !important;
  font-weight: 600;
  margin-top: 12px !important;
}

/* FAQ komponenta */
.kzm-faq {
  display: flex;
  flex-direction: column;
}

.kzm-faq-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}

.kzm-faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.kzm-faq-item h3,
.kzm-faq-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px;
  line-height: 1.4;
}

.kzm-faq-item p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.65;
  max-width: 760px;
}

/* Warning box */
.kzm-warning {
  background-color: #fdf6ee;
  border-left: 4px solid var(--color-red);
  border-radius: 0 4px 4px 0;
  padding: 18px 22px;
  margin-bottom: 32px;
}

.kzm-warning p {
  font-size: 15px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.65;
}

.kzm-warning p + p {
  margin-top: 10px;
}

/* Poznámka */
.kzm-note {
  font-size: 14px;
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-border);
  padding: 10px 16px;
  margin-top: 8px;
  line-height: 1.6;
}

/* Kontaktní karta */
.kzm-contact-card {
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 32px;
  margin-top: 20px;
  text-align: center;
  background: var(--color-white);
}

.kzm-section-alt .kzm-contact-card {
  background: var(--color-bg);
}

.kzm-contact-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 10px;
}

.kzm-contact-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0 auto 24px;
  max-width: 480px;
}

/* KZM responzivita */
@media (max-width: 860px) {
  .kzm-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .kzm-section { padding: 48px 0; }
  .kzm-hero { padding: 52px 0; }
  .kzm-grid-2,
  .kzm-grid-3 { grid-template-columns: 1fr; }
  .kzm-checklist ul { grid-template-columns: 1fr; }
  .kzm-actions { flex-direction: column; }
  .kzm-btn { text-align: center; }
  .kzm-cta-box { padding: 18px 20px; }
}


/* ============================================================
   6. DETAIL PRODUKTU
   ============================================================ */

/* Info-boxy */
.order-assurance,
.order-adjust-note {
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-navy);
  border-radius: 0 6px 6px 0;
  padding: 18px 22px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}

.order-assurance strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--color-navy);
}

.order-adjust-note__title {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
}

.order-adjust-note__text {
  margin: 0;
  color: var(--color-text);
}

/* Pořadí sekcí v detailu */
#content .p-detail {
  display: flex;
  flex-direction: column;
}

#content .p-detail .products-related-header { order: 30; }
#content .p-detail .products-related.products-additional { order: 31; }
#content .p-detail .browse-p { order: 32; }

.product-slider-holder {
  padding-top: 0;
}


/* ============================================================
   7. KOŠÍK / CHECKOUT
   ============================================================ */

#checkoutSidebar .checkout-box > .btn.btn-block.btn-default.toggle-contacts {
  display: none !important;
}

.cart-summary > h4 {
  display: none !important;
}

.sidebar-in-cart .cart-content.checkout-box-wrapper > h4 {
  display: none !important;
}


/* ============================================================
   8. FAQ
   ============================================================ */
.faq-wrapper {
  clear: both;
  margin-top: 40px;
  padding: 28px 24px;
  background-color: var(--color-bg);
  box-sizing: border-box;
}

.otazka {
  background-color: var(--color-white);
  color: var(--color-navy);
  cursor: pointer;
  padding: 16px 20px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-border);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 600;
  line-height: inherit;
  box-sizing: border-box;
}

.otazka:hover {
  border-left-color: var(--color-mustard);
  box-shadow: 0 2px 8px rgba(18, 40, 65, 0.08);
}

.otazka.active {
  border-left-color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(18, 40, 65, 0.08);
}

.otazka::after {
  content: '+';
  float: right;
  margin-left: 12px;
  color: var(--color-mustard);
  font-weight: 400;
}

.otazka.active::after {
  content: '-';
}

.odpoved {
  padding: 0 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-top: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.35s ease;
  opacity: 0;
  margin-bottom: 6px;
  box-sizing: border-box;
  font-size: 16px;
  font-family: inherit;
  line-height: inherit;
  color: var(--color-text);
}

.odpoved.show {
  opacity: 1;
  max-height: 900px;
  padding: 16px 20px;
}

.odpoved p {
  margin-top: 0;
  margin-bottom: 10px;
}

.category-seo-list {
  margin: 0 0 24px;
  padding-left: 20px;
}

.category-seo-list li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.faq-wrapper h2.otazka {
  font-size: 1.1em !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}


/* ============================================================
   9. HODNOCENÍ
   ============================================================ */

/* Homepage widget – nadpis */
.hodnoceni::before {
  content: "Hodnocení od našich zákazníků, které hřeje nás ??";
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  padding: 12px 20px 10px;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 4px;
}

.hodnoceni {
  margin: 20px auto;
}

.hodnoceni .vote-wrap {
  border: none !important;
  width: 24.5%;
  flex-basis: 25%;
  padding: 10px 20px !important;
  display: inline-block;
  margin: 0;
  vertical-align: top;
}

.hodnoceni .votes-wrap {
  display: block;
  border: 1px solid var(--color-border);
  margin: 0;
  width: 100%;
  max-width: none;
  padding: 10px 0;
  background: var(--color-white);
}

.hodnoceni .vote-wrap:nth-child(n+5),
.hodnoceni .votes-wrap.admin-response {
  display: none !important;
}

.hodnoceni > a {
  display: block;
  text-align: right;
  padding-top: 6px;
}

.hodnoceni > a::after {
  content: "›";
  margin-left: 4px;
}

.hodnoceni .vote-pic { width: 100px; }
.hodnoceni .vote-delimeter { display: none; }

.hodnoceni .vote-rating,
.hodnoceni .vote-time {
  display: block;
  margin-top: 5px;
}

/* Sidebar hodnocení */
.sidebar .hodnoceni .vote-pic,
.sidebar .hodnoceni .vote-initials {
  display: block;
}

.sidebar .hodnoceni .vote-wrap,
#column-l #column-l-in .hodnoceni .vote-wrap {
  width: 100% !important;
  display: block;
}

.sidebar .hodnoceni::before,
#column-l #column-l-in .hodnoceni::before {
  background: none !important;
  padding-left: 0 !important;
}

.home #main-product .hodnoceni { margin: 60px; }
.template-10 .hodnoceni { max-width: 952px !important; }
.template-12 .hodnoceni { max-width: 747px; margin-left: auto; margin-right: auto; }
.template-14 .hodnoceni .vote-initials { margin: 0 auto; }

.vote-pic img::before { display: none; }

.page-detail .hodnoceni > a { font-size: 14px; }
.page-detail .hodnoceni { margin-bottom: 30px; }

/* Stránka hodnocení */
body.in-hodnoceni-obchodu #ratingWrapper {
  border-top: 3px solid var(--color-navy);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 36px;
  background: var(--color-bg);
}

body.in-hodnoceni-obchodu #ratingsList.votes-wrap.simple-vote {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-right: 0 !important;
  padding-top: 10px !important;
  align-items: start !important;
}

body.in-hodnoceni-obchodu #ratingsList.votes-wrap.simple-vote > .vote-wrap {
  width: auto !important;
  min-width: 0 !important;
  flex-basis: auto !important;
  flex: none !important;
  margin: 0 !important;
  display: block !important;
  background-color: var(--color-white) !important;
  border: 1px solid var(--color-border) !important;
  border-top: 3px solid var(--color-navy) !important;
  border-radius: 6px !important;
  padding: 22px !important;
  box-shadow: 0 2px 8px rgba(18, 40, 65, 0.05);
  transition: box-shadow 0.2s ease, border-top-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box !important;
}

body.in-hodnoceni-obchodu #ratingsList.votes-wrap.simple-vote > .vote-wrap:hover {
  box-shadow: 0 6px 20px rgba(18, 40, 65, 0.1);
  border-top-color: var(--color-mustard) !important;
  transform: translateY(-2px);
}

body.in-hodnoceni-obchodu #ratingsList .vote-name span {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 15px;
}

body.in-hodnoceni-obchodu #ratingsList .vote-time {
  color: var(--color-text-muted);
  font-size: 13px;
}

body.in-hodnoceni-obchodu #ratingsList .vote-content {
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: var(--color-text);
}

/* Admin odpověď */
body.in-hodnoceni-obchodu #ratingsList .admin-response .vote-wrap {
  background-color: var(--color-bg) !important;
  border: none !important;
  border-top: 2px solid var(--color-mustard) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 0 !important;
  margin-top: 16px !important;
  width: auto !important;
  transform: none !important;
}

body.in-hodnoceni-obchodu #ratingsList .admin-response .vote-content {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 14px !important;
}

body.in-hodnoceni-obchodu .heureka-rating-group.plus div {
  color: #2a7a2a;
  font-size: 14px;
  line-height: 1.5;
}

body.in-hodnoceni-obchodu .admin-response .vote-initials {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
}

body.in-hodnoceni-obchodu .admin-response .vote-initials img {
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Homepage widget – #hodnoceniobchodu */
#hodnoceniobchodu {
  padding-top: 30px;
  background-color: var(--color-white);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

#hodnoceniobchodu h2 {
  text-align: center;
  font-size: 24px;
  margin-top: 0 !important;
}

#hodnoceniobchodu h2 > a {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--color-mustard) !important;
}

#hodnoceniobchodu .shop-stat-all {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 20px;
}

#hodnoceniobchodu .shop-stat-all a {
  padding: 10px 20px;
  transition: background-color 0.2s ease;
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
  min-height: 50px;
  display: inline-flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  text-decoration: none;
  font-size: 15px;
  border-radius: 4px;
}

#hodnoceniobchodu .shop-stat-all a:hover {
  background-color: var(--color-mustard);
  border-color: var(--color-mustard);
}

#hodnoceniobchodu .rate-average-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#hodnoceniobchodu .rate-star-wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  margin-bottom: 0;
}

#hodnoceniobchodu .shop-eval {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -7.5px;
  margin-right: -7.5px;
}

#hodnoceniobchodu .rate-average {
  font-size: 14px !important;
  margin-right: 5px;
}

#hodnoceniobchodu .stars-label {
  font-size: 14px;
  line-height: normal;
  margin-left: 5px;
}

#hodnoceniobchodu .shop-eval-stars .stars {
  margin-right: 0;
}

#hodnoceniobchodu .vote-wrap {
  display: block !important;
  border: none;
  padding: 15px !important;
  border-radius: 6px;
  margin: 7.5px;
  text-align: left;
  background-color: var(--color-bg);
}

#hodnoceniobchodu .vote-wrap > *:not(.no-display) {
  flex-basis: 100% !important;
  width: 100% !important;
  display: block !important;
  text-align: left;
}

#hodnoceniobchodu .vote-wrap:nth-child(n + 5) {
  display: none !important;
}

#hodnoceniobchodu .vote-rating {
  flex-wrap: nowrap;
  justify-content: flex-start;
  white-space: nowrap;
}

#hodnoceniobchodu .vote-rating > * { order: unset; }

#hodnoceniobchodu .vote-rating .vote-time {
  width: unset;
  line-height: normal;
}

#hodnoceniobchodu .vote-rating .stars { margin: 0; }

#hodnoceniobchodu .vote-rating .vote-delimeter {
  display: unset;
  padding: 0 10px;
}

#hodnoceniobchodu .vote-time {
  color: var(--color-text-muted);
}

#hodnoceniobchodu .vote-rating .vote-name.vote-name--nowrap {
  display: none !important;
}

#hodnoceniobchodu .vote-wrap::before,
#hodnoceniobchodu .vote-pic,
.heureka-rating-group + br,
.vote-admin-response {
  display: none !important;
}

.heureka-rating-group {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.heureka-rating-group.plus div {
  color: #2a7a2a;
  font-size: 14px;
  line-height: 1.5;
}

#hodnoceniobchodu .vote-summary {
  margin-top: 0;
}

/* Stránka hodnocení id--51 */
.id--51 .content-inner,
.id--51 #ratingWrapper,
.id--51 .votes-wrap {
  max-width: 100%;
}

.id--51 #ratingWrapper {
  background-color: transparent !important;
}

.id--51 #ratingWrapper + .votes-wrap {
  padding-top: 30px;
}

.id--51 #ratingWrapper + .votes-wrap .vote-rating {
  flex-wrap: nowrap;
  justify-content: flex-start;
  white-space: nowrap;
}

.id--51 #ratingWrapper + .votes-wrap .vote-rating > * { order: unset; }

.id--51 #ratingWrapper + .votes-wrap .vote-rating .vote-time {
  width: unset;
  line-height: normal;
}

.id--51 #ratingWrapper + .votes-wrap .vote-rating .stars { margin: 0; }

.id--51 #ratingWrapper + .votes-wrap .vote-rating .vote-delimeter {
  display: unset;
  padding: 0 10px;
}

.id--51 #ratingWrapper + .votes-wrap .vote-content {
  padding: 0 !important;
  width: 100% !important;
}

.id--51 #ratingWrapper + .votes-wrap .vote-initials {
  background-color: var(--color-white) !important;
  color: transparent !important;
  font-size: 0 !important;
}

.id--51 #ratingWrapper + .votes-wrap .admin-response .vote-pic img {
  display: block !important;
}

.id--51 #content #ratingWrapper + .votes-wrap.simple-vote {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: unset;
}

.id--51 #content #ratingWrapper + .votes-wrap .vote-wrap {
  margin: 7.5px !important;
  flex-basis: unset !important;
}

.id--51 #content #ratingWrapper + .votes-wrap .admin-response {
  padding: 0;
  border-radius: 0 !important;
  margin: 0;
}

.id--51 #content #ratingWrapper + .votes-wrap .admin-response .vote-wrap {
  border-top: 2px solid var(--color-mustard) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

.id--51 #content #ratingWrapper + .votes-wrap .admin-response .vote-header {
  display: none !important;
}

.id--51 #content #ratingWrapper + .votes-wrap .admin-response .vote-content {
  margin-top: 0 !important;
}

.id--51 #ratingWrapper + .votes-wrap .admin-response .vote-initials svg {
  display: none;
}


/* ============================================================
   10. PATIČKA
   ============================================================ */

/* Základní layout */
.custom-footer {
  background-color: var(--color-white);
  border-top: 3px solid var(--color-navy);
  padding-top: 48px;
  padding-bottom: 36px;
  gap: 0;
}

.custom-footer > div {
  padding: 0 28px 32px;
  border-left: 1px solid var(--color-border);
}

.custom-footer > div:first-child {
  border-left: none;
}

/* Nadpisy sloupců */
.custom-footer .pageElement__heading {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase !important;
  color: var(--color-navy) !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-mustard);
  display: inline-block;
}

/* Sloupec 1: Kontakt */
.custom-footer__contact .contact-box {
  padding: 0;
}

.custom-footer__contact .contact-box strong[data-testid="contactboxName"] {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 14px;
}

.custom-footer__contact .contact-box ul {
  margin: 0;
  padding: 0;
}

.custom-footer__contact .contact-box ul li {
  padding: 5px 0;
  list-style: none;
}

.custom-footer__contact .contact-box ul li > span {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-text);
}

.custom-footer__contact .contact-box ul li > span::before {
  margin-right: 10px;
  font-size: 16px;
  color: var(--color-mustard);
  flex-shrink: 0;
}

.custom-footer__contact .contact-box ul li > span a {
  color: var(--color-text);
  font-size: 15px;
  transition: color 0.2s ease;
  text-decoration: none;
}

.custom-footer__contact .contact-box ul li > span a:hover {
  color: var(--color-navy);
}

.custom-footer__contact .contact-box ul li > span.cellphone a {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

.custom-footer__contact .contact-box ul li > span.cellphone a:hover {
  color: var(--color-mustard);
}

/* Sloupec 2: Informace */
.custom-footer__articles ul {
  margin: 0;
  padding: 0;
}

.custom-footer__articles ul li {
  list-style: none;
  padding: 0;
  margin-bottom: 2px;
}

.custom-footer__articles ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.custom-footer__articles ul li a:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-mustard);
}

/* Sloupec 3: Poradna */
.custom-footer__section2 .news-item-widget {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0;
  padding: 8px 0;
}

.custom-footer__section2 .news-item-widget:last-child {
  border-bottom: none;
}

.custom-footer__section2 .newsItemWidget__heading {
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

.custom-footer__section2 .newsItemWidget__heading a {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}

.custom-footer__section2 .newsItemWidget__heading a:hover {
  color: var(--color-navy);
}

/* Sloupec 4: Online platby */
.custom-footer__onlinePayments .text-center {
  text-align: left !important;
  margin-top: 8px;
}

.custom-footer__onlinePayments img {
  max-width: 160px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.custom-footer__onlinePayments img:hover {
  opacity: 1;
}

/* Copyright lišta */
.footer-links .footer-link {
  font-weight: 600 !important;
}

.footer-bottom {
  background-color: var(--color-navy);
  border-top: none;
  padding: 16px 20px;
}

.footer-bottom .copyright,
.footer-bottom #signature,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 13px;
}

.footer-bottom a:hover {
  color: var(--color-white) !important;
  text-decoration: none;
}

.footer-bottom .footer-links .footer-link a {
  color: rgba(255, 255, 255, 0.65) !important;
}

.footer-bottom .footer-links .footer-link a:hover {
  color: var(--color-mustard) !important;
}


/* ============================================================
   11. RESPONZIVITA
   ============================================================ */

/* Desktop */
@media (min-width: 1200px) {
  .content-inner { max-width: 100%; }
  .custom-footer { padding-left: 76px; padding-top: 76px; }
  .template-12 .hodnoceni { max-width: 1418px; }
}

/* Logo – desktop */
@media (min-width: 768px) {
  #header .header-top-wrapper .site-name {
    display: flex;
    align-items: center;
    flex: 200px;
    max-height: 80px;
  }
}

/* Podkategorie – desktop */
@media (min-width: 769px) {
  .subcategories li:not(.divider) {
    width: calc(33.333% - 12px) !important;
    flex: 0 calc(33.333% - 12px) !important;
    max-width: calc(33.333% - 12px) !important;
    margin: 1px !important;
    padding: 5px !important;
  }

  .subcategories li.divider {
    width: 100% !important;
    flex: 0 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
}

/* Hodnocení – střední desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .hodnoceni .vote-rating { display: block; }
  .hodnoceni .vote-time { display: block; margin-top: 3px; }
  .hodnoceni .vote-delimeter { display: none; }
  .template-12 .hodnoceni { max-width: 972px; }
}

/* Tablet */
@media (max-width: 991px) {
  .hodnoceni .vote-wrap {
    width: 49% !important;
    flex-basis: 50% !important;
  }

  .multiple-columns-body #content .hodnoceni .vote-wrap {
    width: 99% !important;
    flex-basis: 100% !important;
  }
}

/* Hodnocení stránka – tablet */
@media (max-width: 900px) {
  body.in-hodnoceni-obchodu #ratingsList.votes-wrap.simple-vote {
    grid-template-columns: 1fr !important;
  }
}

/* Patička – tablet */
@media (max-width: 1199px) {
  .custom-footer { padding-left: 0 !important; }
}

@media (max-width: 991px) {
  .custom-footer > div {
    width: 50% !important;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 24px 20px;
  }

  .custom-footer > div:first-child,
  .custom-footer > div:nth-child(2) {
    border-top: none;
  }
}

/* Hodnocení stránka – velký desktop */
@media (min-width: 1400px) {
  body.in-hodnoceni-obchodu #ratingsList.votes-wrap.simple-vote {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Hodnocení šířky karet – stránka */
@media (min-width: 1200px) {
  .id--51 #content #ratingWrapper + .votes-wrap:not(.admin-response) > .vote-wrap {
    width: calc(33.333% - 15px);
  }
}

@media (max-width: 1200px) {
  .id--51 #content #ratingWrapper + .votes-wrap:not(.admin-response) > .vote-wrap {
    width: calc(50% - 15px);
  }
}

@media (max-width: 600px) {
  .id--51 #content #ratingWrapper + .votes-wrap:not(.admin-response) > .vote-wrap {
    width: calc(100% - 15px);
  }
}

/* Hodnocení šířky karet – homepage widget */
@media (min-width: 1200px) {
  #hodnoceniobchodu .vote-wrap { width: calc(25% - 15px); }
}

@media (max-width: 1200px) {
  #hodnoceniobchodu .vote-wrap { width: calc(50% - 15px); }
}

@media (max-width: 600px) {
  #hodnoceniobchodu .vote-wrap { width: calc(100% - 15px); }
}

/* Mobil */
@media (max-width: 768px) {
  .subcategories li:not(.divider) {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 5px !important;
  }

  .subcategories li a {
    height: auto !important;
    min-height: 0 !important;
  }

  .subcategories.with-image li a .image img {
    max-height: 90px !important;
  }

  .faq-wrapper { padding: 20px 16px; }
  .sectionDescription { padding: 16px 18px; }

  .hodnoceni .vote-wrap {
    width: 99% !important;
    flex-basis: 100% !important;
  }
}

/* Mobil – blog */
@media (max-width: 600px) {
  #newsWrapper.news-wrapper { grid-template-columns: 1fr; }

  .custom-footer > div {
    width: 100% !important;
    border-top: 1px solid var(--color-border);
    padding: 20px 16px;
  }

  .custom-footer > div:first-child { border-top: none; }

  .footer-bottom { text-align: center; }
}
