/* Tlačítka (barva textu, zaoblení) */
.btn.btn-default.searchWhisperer__button, .btn.btn-conversion.add-to-cart-button, .btn.btn-lg.btn-conversion, 
.load-products.btn.btn-default.unveil-button, a.btn.btn-conversion, a.btn.btn-conversion:hover, .site-msg .close::before { 
color: white;
border-radius: 15px;
}

/* Hledací panel, slide banner, menu, košík zaoblení */
.p-to-cart-block, .carousel-inner, .searchWhisperer.active, .fitted, .menu-level-2, 
.btn.btn-default.unveil-button, .btn.btn-xs.btn-plain, .dropdown-menu, #navigation, .menu-helper ul, .order-summary-inner, .form-control, 
.checkout-box, .btn.btn-primary.js-try-search-button, #checkoutContent .helper, .btn.btn-secondary.btn-text.btn-login,
.c-product-interconnection-detail-params__products.is-type--banner .c-product-interconnection-banner__link.is--text, 
.btn, a.btn, .cart-widget, .cart-widget-inner, .popup-widget-inner.cart-widget-inner.place-cart-here.full, .product, .radio-wrapper, 
.flag, .news-image, #header .navigation-buttons a, .popup-widget-inner:not(.cart-widget-inner), .top-navigation-bar-menu-helper, a.login-btn.seznam, 
.planetwe-wrapper, .planetwe-checkmark, .pagination .pagination__list .pagination__link {
border-radius:15px;
}

.c-product-interconnection-detail-params__products {
text-align: center;
cursor: pointer;
color: #556fd1;
}

/* Nejprodávanější produkty kategorie */
.products-inline.products-top > div .p {
box-shadow: 0 6px 12px rgba(0,0,0,0.08);
border-radius: 20px;
background-color: #ffffff;
overflow: hidden;
font-weight: 700;
font-size: 80%;
padding: 5px 0px 5px 0px;
}

/* Vypnutí tlačítek u slideru */
.carousel-control {
opacity: 0%;
}

/* Skrytí množství v kategoriích i na hlavní straně */
.product .p-tools .quantity,
.product-top .p-tools .quantity {
display: none !important;
}

/* Roztažení tlačítka Do košíku */
.product .p-tools .add-to-cart-button,
.product-top .p-tools .add-to-cart-button {
width: 70% !important;
margin-left: 0 !important;
}

/* Vzhled informativní zprávy */
.site-msg.information {
background-color: #556fd1;
color: white;
max-width: 540px;
border-radius: 10px;
font-weight: bold;
font-size: 16px;
}

/* Přesunutí stránky nahoru */
.pagination-top .pagination-link, .pagination-top > strong {
background-color: #556fd1;
font-weight: bold;
color: white;
}

/* Přesunutí stránky nahoru - aktivní */
.pagination-top:hover .pagination-link, .pagination-top:hover > strong {
background-color: #721ef0;
font-weight: bold;
color: white;
}

/* Navigace stránek */
.pagination a {
background-color: #556fd1;
color: #d1d1d1;
border-radius: 15px;
}

/* Navigace stránek - aktivní */
.pagination a:hover {
background-color: #721ef0;
border-radius: 15px;
color: white;
}

/* Vycentrování textu v zápatí */
.container.footer-rows, .query-input, .search-results-groups, .messages, .footer-bottom {
text-align: center;
}

/* Sázení stromu */
.planetwe-wrapper-inner, .planetwe-wrapper-outer {
max-width: none;
}

/* Počet kusů */
.cart-table, .p-quantity, .quantity {
overflow: hidden;
border-radius: 15px;
}

#cboxContent {
border-radius: 15px;
overflow: hidden;
}

#signature {
width: 100%;
}

/* Košík pozadí */
.cart-widget-inner {
overflow: hidden;
}

/* Zaoblení košíku */
.cart-widget-bottom, .cart-widget-inner {
background: none;
}

.c-product-interconnection-detail-params__products {
display: block;
width: 100%
}

/* Nákupní lišta */
.plugin-fixed-header__availability {
font-size: 12px;
font-weight: bold;
color: #009901;
}

.plugin-fixed-header__name {
font-size: 15px;
}

/* Vycentrování menu */
.fitted .navigation-in ul {
justify-content: center;
}

/* Parametry */
.extended-description {
margin-left: auto;
margin-right: auto;
text-align: center;
}

.products-block, .products-block > div {
margin-left: auto;
margin-right: auto;
}

table.detail-parameters tbody tr th {
font-weight: bold;
}

table.detail-parameters tbody tr td, table.detail-parameters tbody tr th {
padding-bottom: 0px;
}

/* Konkurenční výhody */
.benefitBanner {
display: flex !important;
justify-content: space-between !important;
gap: 40px !important;
}

.benefitBanner .benefitBanner__item {
display: block !important;
text-align: center !important;
flex: 1 !important;
padding: 0 15px !important;
}

.benefitBanner .benefitBanner__picture {
display: block !important;
margin: 0 auto 20px auto !important;
text-align: center !important;
}

.benefitBanner .benefitBanner__img {
display: inline-block !important;
max-width: 80px !important; 
height: auto !important;
}

.benefitBanner .benefitBanner__content {
display: block !important;
width: 100% !important;
padding: 0 !important;
}

/* Cesta k produktu */
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span[itemprop="name"] {
font-weight: 700 !important;
color: #5d6778 !important;
font-size: 14px !important;
text-decoration: none !important;
transition: color 0.2s ease !important;
}

.breadcrumbs .navigation-home-icon {
font-weight: 400 !important;
color: #5d6778 !important;
font-size: 16px !important;
}

.breadcrumbs a:hover {
color: #222222 !important;
}

.breadcrumbs .navigation-bullet {
display: none !important;
}

.breadcrumbs span[itemprop="itemListElement"]:not([data-testid="breadcrumbsLastLevel"])::after {
content: ">" !important;
display: inline-block !important;
margin: 0 10px !important;
color: #5d6778 !important;
font-weight: 400 !important;
}

/* Počet položek v kategorii */
#category-header.category-header {
display: flex !important;
flex-direction: row-reverse !important;
justify-content: space-between !important;
align-items: center !important;
flex-wrap: wrap-reverse !important;
gap: 15px !important;
width: 100% !important;
clear: both !important;
margin-bottom: 20px !important;
}

/* Skrytí tlačítka "Řadit podle" */
.listSorting .sortingToggle {
display: none !important;
}

#listSortingControls.listSorting__controls--dropdown {
display: flex !important;
flex-wrap: wrap !important; 
gap: 10px !important;
position: static !important;
visibility: visible !important;
opacity: 1 !important;
transform: none !important; 
background: transparent !important;
box-shadow: none !important;
border: none !important;
padding: 0 !important;
margin: 0 !important;
width: auto !important;
height: auto !important;
float: none !important;
}

#listSortingControls .listSorting__control {
display: inline-block !important;
padding: 10px 20px !important;
background-color: #ffffff !important;
color: #556fd1 !important;
border: 1px solid #e5e5e5 !important;
border-radius: 8px !important;
font-weight: 700 !important;
text-transform: uppercase !important;
font-size: 13px !important;
text-decoration: none !important;
cursor: pointer !important;
white-space: nowrap !important;
height: auto !important;
width: auto !important;
}

#listSortingControls .listSorting__control:hover {
background-color: #f5f5f5 !important;
border-color: #cccccc !important;
}

#listSortingControls .listSorting__control.listSorting__control--current {
background-color: #222222 !important;
color: #ffffff !important;
border-color: #222222 !important;
pointer-events: none !important;
}

.category-header-pagination {
float: none !important; 
line-height: normal !important; 
margin: 0 !important;
padding: 0 !important;
display: inline-block !important;
}

.listSorting {
float: none !important;
margin: 0 !important;
}

/* Kompletní skrytí filtrů v kategoriích */
.filters-wrapper {
display: none !important;
}
 
/* Nastavení stylů tlačítka do košíku */
:root {
--product-button-border-radius: 15px;
--product-button-classic-BG: #556fd1;
--product-button-classic-BG-hover: #721ef0;
--product-button-classic-color: #ffffff;
--product-button-detail-BG: #556fd1;
--product-button-detail-BG-hover: #721ef0;
--product-button-detail-color: #ffffff;
}

/* TOP Banner */
:root {
--header-info-bar-BG: #ab49ac;
--header-info-bar-text-color: #ffffff;
--header-info-bar-icon-color: var(--header-info-bar-text-color);
}

/* Hodnocení obchodu, hodnocení produktů */
#ratingWrapper .rate-wrap {
display: flex;
flex-wrap: wrap;
gap: 40px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 16px;
padding: 32px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
align-items: center;
margin-bottom: 24px;
}

#ratingWrapper .rate-average-wrap {
flex: 1;
min-width: 200px;
display: flex;
flex-direction: column;
justify-content: center;
}

#ratingWrapper .rate-average-inner {
display: flex;
flex-direction: column;
gap: 10px;
}

#ratingWrapper .rate-average {
font-size: 64px;
font-weight: 800;
line-height: 1;
color: #0f172a;
letter-spacing: -1px;
}

#ratingWrapper .rate-star-wrap {
display: flex;
flex-direction: column;
gap: 6px;
}

#ratingWrapper .stars .star {
font-size: 20px;
}
#ratingWrapper .stars .star-on, .stars .star.star-on::before, #ratingWrapper .rate-list .star, .form-group .rating-star::before {
color: #ffb500 !important;
}

#ratingWrapper .stars-label {
font-size: 14px;
color: #64748b;
font-weight: 500;
margin-top: 4px;
}

#ratingWrapper .votes {
flex: 2;
min-width: 280px;
display: flex;
flex-direction: column;
gap: 12px;
}

#ratingWrapper .rate-list {
display: flex;
align-items: center;
gap: 16px;
}

#ratingWrapper .rate-list .rate-star {
display: flex;
align-items: center;
gap: 4px;
min-width: 35px;
font-size: 14px;
font-weight: 600;
color: #334155;
}

#ratingWrapper .rate-block {
flex: 1;
background-color: #f1f5f9;
border-radius: 9999px;
height: 10px;
position: relative;
overflow: visible;
margin-right: 50px;
}

#ratingWrapper .rate-bar {
display: block;
height: 100%;
background: linear-gradient(90deg, #556fd1, #721ef0);
border-radius: 9999px;
width: var(--rate-bar-width, 0%);
transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#ratingWrapper .rate-count {
position: absolute;
right: -45px;
top: 50%;
transform: translateY(-50%);
font-size: 13px;
font-weight: 500;
color: #94a3b8;
}

#ratingWrapper .rate-count.active {
color: #0f172a;
font-weight: 600;
}

.add-comment.rate-form-trigger {
margin-top: 8px;
}

.add-comment button[data-testid="buttonAddRating"] {
background-color: #556fd1 !important;
color: #ffffff !important;
padding: 12px 28px !important;
border-radius: 12px !important;
font-weight: 600 !important;
border: none !important;
letter-spacing: 0.3px;
box-shadow: 0 4px 6px rgba(85, 111, 209, 0.2);
transition: all 0.2s ease-in-out !important;
cursor: pointer;
}

.add-comment button[data-testid="buttonAddRating"]:hover {
background-color: #721ef0 !important;
box-shadow: 0 6px 12px rgba(114, 30, 240, 0.3);
transform: translateY(-1px);
}

span[style*="text-decoration: underline"] {
    display: inline-block !important;
    color: #64748b !important;
    font-size: 13px !important;
    margin-top: 14px !important;
    text-decoration: none !important;
    border-bottom: 1px dashed #cbd5e1;
    transition: color 0.2s, border-color 0.2s;
}

span[style*="text-decoration: underline"]:hover {
    color: #721ef0 !important;
    border-bottom-color: #721ef0;
}

#ratingWrapper .rate-average {
color: #FBBF24 !important;
}

#ratingWrapper .rate-star-wrap .stars .star-on {
color: #FBBF24 !important;
}

#ratingWrapper .rate-wrapper.unveil-wrapper .rate-star-wrap,
#ratingWrapper .rate-star-wrap {
margin-left: 2px !important;
}

#ratingWrapper .stars .star.star-on::before,
#ratingWrapper .stars .star.star-half::before,
#ratingWrapper .rate-list .star.star-on::before {
color: #FBBF24 !important;
}

.rate-wrapper.unveil-wrapper.rate-wrapper-in-description, .welcome-wrapper.container-narrow, .products-block > div .p .stars-wrapper, .products-block > div .p .stars-placeholder {
display: none;
}

#hodnoceniobchodu .vote-rating, #hodnoceniobchodu .vote-wrap > :not(.no-display), .id--51 #content #ratingWrapper + .votes-wrap .vote-wrap > :not(.no-display), .id--51 #ratingWrapper + .votes-wrap .vote-rating, .type-detail #content #ratingWrapper + .votes-wrap .vote-wrap > :not(.no-display), .type-detail #ratingWrapper + .votes-wrap .vote-rating {
text-align: center;
justify-content: center;
}

input[type="submit"][data-testid="buttonSendRating"] {
background-color: #556fd1;
color: white;
padding: 10px 20px;
border-radius: 15px;
cursor: pointer;
	text-decoration: none;
}

input[type="submit"][data-testid="buttonSendRating"]:hover {
background-color: #721ef0;
color: white;
}

.add-comment .rating-icon {
background-color: #556fd1;
color: white;
padding: 10px 20px;
border-radius: 15px;
cursor: pointer;
text-decoration: none;
}

.add-comment .rating-icon:hover {
background-color: #721ef0;
}

.template-13 #hodnoceniobchodu .vote-wrap:not(.admin-response .vote-wrap), 
.template-13.id--51 #content #ratingWrapper ~ .votes-wrap .vote-wrap:not(.admin-response .vote-wrap) {
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* RESPONSIVITA: Úprava pro mobily */
@media (max-width: 767px) {

#ratingWrapper .rate-wrap {
flex-direction: column;
align-items: stretch;
gap: 28px;
padding: 20px;
}
    
#ratingWrapper .rate-average-wrap {
align-items: center;
text-align: center;
}
    
#ratingWrapper .rate-block {
margin-right: 45px;
}
}

@media (max-width: 768px) {
.site-msg.information {
font-size: 9px;
max-width: 70%;
}
}
