/* --- Úprava sidebaru Rumcajzl.cz v11 --- */

/* 1. Základ všech boxů */
.sidebar-inner .box,
.sidebar-inner .box.box-bg-variant,
.sidebar-inner .box.box-bg-default {
    background-color: #eeeeee !important; 
    border-radius: 12px !important;
    overflow: hidden !important; 
    border: none !important;
    margin-bottom: 25px !important;
    padding: 0 !important; 
    box-shadow: none !important; 
    position: relative !important; 
}
.sidebar-inner .filter-sections {
    background-color: #eeeeee !important;
}
.sidebar-inner .box-topProducts .top-products-wrapper {
    padding: 0 !important;
}

/* 2. Tmavé záhlaví pro hlavní boxy */
.sidebar-inner .box-topProducts h3,
.sidebar-inner .box-contact > h3,
.sidebar-inner .box-newsletter .newsletter-header {
    background-color: #272727 !important;
    margin: 0 !important;
    padding: 15px 20px !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Formátování textu hlavních nadpisů (kromě Top 7) */
.sidebar-inner .box-contact > h3 span,
.sidebar-inner .box-newsletter .newsletter-header h3 span,
.sidebar-inner .box-newsletter .newsletter-header h3 {
    color: #fafafa !important; 
    font-size: 1.25rem !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* Falešný nadpis pro box s produkty (Změna z Top 10 na Top 7 vč. zarovnání) */
.sidebar-inner .box-topProducts h3 {
    font-size: 0 !important; /* Zabije prázdné HTML mezery, které posouvaly text */
}
.sidebar-inner .box-topProducts h3 span {
    display: none !important; /* Úplně vyřadíme původní text z toku */
}
.sidebar-inner .box-topProducts h3::after {
    content: "Top 7 produktů"; 
    font-size: 1.25rem !important; /* Znovu nastavíme správnou velikost */
    color: #fafafa !important; 
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

/* Vytvoření falešného nadpisu pro FILTRY */
.sidebar-inner .box-filters::before {
    content: "Filtry"; 
    display: block !important;
    background-color: #272727 !important;
    color: #fafafa !important;
    font-size: 1.25rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 15px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* 3. Vnitřní obsah boxů pod nadpisem */
.sidebar-inner .box-topProducts .top-products,
.sidebar-inner .box-contact .contact-box,
.sidebar-inner .box-newsletter form,
.sidebar-inner .box-filters .filters-wrapper {
    padding: 15px 20px !important;
    box-sizing: border-box !important;
}
.sidebar-inner .box-newsletter fieldset {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Jemné zmenšení nadpisů vnitřních sekcí filtrů */
.sidebar-inner .filter-section h3 span,
.sidebar-inner .slider-wrapper h3 span {
    font-size: 15px !important; 
}

/* Skrytí textu "Položek k zobrazení" dole */
.sidebar-inner .filter-section-count {
    display: none !important;
}

/* 4. TOP 7 PRODUKTŮ */
.sidebar-inner .top-products {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    counter-reset: top-products-counter !important; 
}
.sidebar-inner .top-products li {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important; 
    border-bottom: 1px solid #ddd !important;
    padding: 15px 0 !important; 
    margin: 0 !important;
}

/* Skryjeme položky od osmé dále */
.sidebar-inner .top-products li:nth-child(n+8) {
    display: none !important;
}
/* Sedmá položka bude nyní poslední (zrušíme jí spodní čáru a padding) */
.sidebar-inner .top-products li:nth-child(7) {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.sidebar-inner .top-products li::before {
    counter-increment: top-products-counter !important;
    content: counter(top-products-counter) !important;
    background-color: #fafafa !important; 
    color: #272727 !important; 
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important; 
    font-weight: bold !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}
.sidebar-inner .top-products-image {
    flex-shrink: 0 !important;
    width: 60px !important; 
    height: 60px !important;
    margin: 0 !important;
    border-radius: 8px !important; 
    overflow: hidden !important;
}
.sidebar-inner .top-products-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.sidebar-inner .top-products-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Zvětšený název a cena */
.sidebar-inner .top-products-name {
    font-size: calc(1.2rem + 2px) !important; 
    color: #272727 !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    margin-bottom: 4px !important;
}
.sidebar-inner .top-products-content strong {
    font-size: 1.35rem !important; 
    color: #c79040 !important; 
}

/* 5. Ostatní texty */
.sidebar-inner .contact-box {
    font-size: 1rem !important;
    color: #333 !important;
    line-height: 1.4;
}

/* 6. Vynucené zobrazení SLIDERU CENY */
.sidebar-inner #category-filter-hover,
.sidebar-inner #category-filter-hover .slider-wrapper,
.sidebar-inner #category-filter-hover .slider-content {
    display: block !important;
    position: relative !important; 
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.sidebar-inner #category-filter-hover .slider-header {
    display: flex !important;
    justify-content: space-between !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: #272727 !important;
    margin-bottom: 12px !important;
    padding: 0 5px !important;
}

/* Stylování barev a úchopů slideru */
.sidebar-inner .ui-slider-horizontal {
    height: 4px !important;
    background: #cccccc !important; 
    border: none !important;
    margin: 20px 8px 10px 8px !important; 
}
.sidebar-inner .ui-slider-range {
    background: #c79040 !important; 
}
.sidebar-inner .ui-slider-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important; 
    background: #ffffff !important; 
    border: 3px solid #c79040 !important; 
    top: -7px !important; 
    cursor: pointer !important;
    outline: none !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important; 
}

/* --- Vizuální úprava Newsletteru v sidebaru (Zvětšené písmo) --- */

/* Skrytí zbytečného odřádkování, které Shoptet generuje */
.sidebar-inner .box-newsletter br {
    display: none !important;
}

/* Pole pro zadání e-mailu - ZVĚTŠENÉ */
.sidebar-inner .box-newsletter input[type="email"] {
    width: 100% !important;
    height: 52px !important; /* Mírně zvětšeno pro větší text */
    padding: 10px 55px 10px 18px !important; /* Větší odsazení zprava kvůli tlačítku */
    border: 1px solid #cccccc !important;
    border-radius: 8px !important; 
    background-color: #ffffff !important;
    color: #272727 !important;
    font-size: 1.3rem !important; /* Zvětšeno o cca 35% */
    box-sizing: border-box !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02) !important;
    transition: border-color 0.3s ease !important;
}

/* Zvýraznění pole po kliknutí (Focus) */
.sidebar-inner .box-newsletter input[type="email"]:focus {
    border-color: #c79040 !important; 
    outline: none !important;
}

/* Odesílací tlačítko vložené přímo do inputu - Přizpůsobeno výšce */
.sidebar-inner .box-newsletter button[type="submit"] {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    height: 44px !important; /* Větší, aby pasovalo do vyššího inputu */
    width: 46px !important; 
    background-color: #c79040 !important; 
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background-color 0.3s ease !important;
}

.sidebar-inner .box-newsletter button[type="submit"]:hover {
    background-color: #272727 !important; 
}

/* Odsazení a formátování textu se souhlasem GDPR */
.sidebar-inner .box-newsletter .consents {
    margin-top: 14px !important;
    padding: 0 !important;
}

/* Zvětšení textu souhlasu, aby to ladilo k velkému inputu */
.sidebar-inner .box-newsletter .consents label {
    font-size: 0.95rem !important; /* Zvětšeno z 0.8rem */
    color: #666666 !important;
    line-height: 1.4 !important;
    display: block !important;
    cursor: pointer !important;
}

.sidebar-inner .box-newsletter .consents a {
    color: #c79040 !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.sidebar-inner .box-newsletter .consents a:hover {
    color: #272727 !important;
}

/* --- Vizuální úprava Kontaktního boxu v sidebaru (Vycentrováno, velké písmo) --- */

/* Skrytí Facebook tlačítka a nepotřebných prvků */
.sidebar-inner .box-contact .social-icon-list {
    display: none !important;
}

/* Základní kontejner - Flexbox, vše zarovnáno na střed */
.sidebar-inner .box-contact .contact-box {
    display: flex !important; 
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 25px 20px !important;
    background-color: #eeeeee !important; 
}

/* Fotka - Větší, kulatá, čistě bílý rámeček */
.sidebar-inner .box-contact .contact-box img {
    width: 165px !important; /* Zvětšeno */
    height: 165px !important;
    border-radius: 50% !important; /* Zpět na dokonalé kolečko */
    object-fit: cover !important;
    border: 4px solid #ffffff !important; /* Pouze bílý rámeček */
    margin: 0 0 15px 0 !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important; /* Jemný stín pro hloubku */
    display: block !important;
}

/* Jméno - Výrazně zvětšené písmo, centrované pod fotkou */
.sidebar-inner .box-contact .contact-box strong {
    font-size: 1.5rem !important; /* Výrazně zvětšeno */
    color: #272727 !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.2 !important;
}

/* Seznam kontaktů */
.sidebar-inner .box-contact .contact-box ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 12px !important; /* Větší mezery mezi e-mailem a telefonem */
    width: 100% !important;
}

/* Spojení ikonky a textu do jedné linky vedle sebe */
.sidebar-inner .box-contact .contact-box span.mail,
.sidebar-inner .box-contact .contact-box span.tel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important; 
}

/* Zlatá ikonka OBÁLKY (lehce zvětšená, aby ladila s velkým písmem) */
.sidebar-inner .box-contact .contact-box span.mail::before {
    content: "";
    display: block !important;
    width: 22px !important; 
    height: 22px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c79040" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>');
    background-size: contain !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
}

/* Zlatá ikonka TELEFONU */
.sidebar-inner .box-contact .contact-box span.tel::before {
    content: "";
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c79040" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"></path></svg>');
    background-size: contain !important;
    background-repeat: no-repeat !important;
    flex-shrink: 0 !important;
}

/* Samotné texty kontaktů - Výrazně zvětšené písmo */
.sidebar-inner .box-contact .contact-box a {
    color: #444444 !important;
    text-decoration: none !important;
    font-size: 1.25rem !important; /* Zvětšeno z 1.1rem */
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.sidebar-inner .box-contact .contact-box a:hover {
    color: #c79040 !important; 
}