/* PŘIDÁNÍ E-MAILOVÉ ADRESY DO HLAVIČKY WEBU */

@media screen and (min-width: 1200px){
.top-navigation-bar .project-email {display: inline-block;font-size: 16px;font-weight: bold;margin-left: 24px;color: var(--color-primary);}
a.project-email::before {content: '\e910';font-size: 16px;}
}
@media screen and (min-width: 360px) and (max-width: 767px){
.top-navigation-contacts{display: block !important;}
.top-navigation-contacts .project-phone{display: none !important;}
.top-navigation-contacts .project-email{display: block !important;position: absolute;right: 164px;top: 15px;color: #A3A3AF;}
a.project-email::before {content: '\e910';}
.top-navigation-contacts .project-email span{display: none;}
}

/* ZMĚNA BARVY POZADÍ HLAVNÍHO MENU */

@media screen and (min-width: 768px) {
#header::after{background-color: #0b6e38;} /* BARVA POZADÍ MENU */
.navigation-in {background-color: transparent;}
.navigation-in > ul > li > a, .submenu-arrow::after {color: #fff;} /* BARVA TEXTU V MENU */
.menu-helper::after {color: #fff;} /* BARVA HAMBURGERU */
}

/* TLAČÍTKA SE ZAOBALENÝMI ROHY */

.btn:not(.cart-count), .compact-form .form-control, .pagination > a, .pagination > strong, a.login-btn{border-radius: 30px;}

/* větší odstup pro možnosti doručení na detailu produktu */
.delivery-in-detail {
    margin-top: 20px;
}

/* --- Popisek kategorie --- */
.category-perex {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.category-perex p {
    margin: 0 0 16px;
}

/* Nadpis H3 - modrý, s oddělovací čárkou před textem */
.category-perex h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0b6e38;
    border-left: 4px solid #0b6e38;
    padding: 2px 0 2px 12px;
    margin: 22px 0 12px;
}

/* Odrážkový seznam */
.category-perex ul {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.category-perex ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
}

/* Zelená odrážka místo klasické tečky */
.category-perex ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0b6e38;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
}

/* Tučné zvýraznění uvnitř odrážek (např. "Doprava zdarma") */
.category-perex ul li strong {
    font-weight: 700;
    color: #1a1a1a;
}

.branch-stock-list {
    margin-top: 10px;
    padding: 10px 14px;
    background-color: #f7faf5;
    border: 1px solid #e2ece0;
    border-radius: 6px;
    font-size: 13px;
    max-width: 320px;
    line-height: 16px;
}

.branch-stock-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #ebf1e9;
}

.branch-stock-row:last-child {
    border-bottom: none;
}

.branch-name {
    color: #333;
}

.branch-amount {
    font-weight: 600;
}

.branch-amount.in-stock {
    color: #3c840f; /* stejná zelená jako "Ihned k odběru" */
}

.branch-amount.out-of-stock {
    color: #d00000; /* stejná červená jako "Momentálně nedostupné" */
}

/* Skrytí podtržení skladu na detailu produktu */
.show-tooltip.acronym[data-original-title] {
	border-bottom-style: none;
}

/* Úprava bloku alternativních produktů na detailu produktu */
#productsAlternative .p-code {
    display: none;
}

#productsAlternative .image {
    margin-bottom: 10px !important;
}

#productsAlternative .slick-dots {
		display: none !important;
}

.slick-dotted.slick-slider {
		margin-bottom: 30px !important;
}

#productsAlternative::before {
		margin-bottom: 20px !important;
}

.goToTop__button {
	display: none !important;
}
.listingControls {
	margin: 60px 0 60px;
}
/* Back to top tlačítko */
html {
    scroll-behavior: smooth;
}
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(60, 132, 15, 0.12);
    border: 1px solid #3c840f;
    border-radius: 8px;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all .25s ease;
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.to-top:hover {
    background: #3c840f;
    border-color: #3c840f;
    transform: translateY(-2px);
}
.to-top img {
    width: 24px;
    height: 24px;
    opacity: .85;
}
.to-top:hover img {
    opacity: 1;
}
/* zvýraznění skladem */
.availability-value .availability-label[style*="#3c840f"] {
    font-size: 20px;
    font-weight: 400;
}
.availability-value .availability-label[style*="#3c840f"] + .availability-amount {
    font-size: 20px;
    font-weight: 400;
}

/* Srdíčko na kartě produktu */
.wishlist-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    color: #c4c4c4;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    z-index: 5;
    transition: color 0.2s, transform 0.15s;
}

.wishlist-heart:hover {
    transform: scale(1.1);
}

.wishlist-heart.active {
    color: #e03131;
}

/* Reset výchozích stylů prohlížeče pro <button>, zbytek (font-size, margin, order) zdědí z .link-icon */
.link-icons .wishlist-heart-detail {
    order: 0; /* před .chat (order: 1) */
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
}

.link-icons .wishlist-heart-detail::before {
    content: '\2665'; /* ♥ */
    color: #c4c4c4;
    transition: color 0.2s;
}

.link-icons .wishlist-heart-detail.active::before {
    color: #e03131;
}

.link-icons .wishlist-heart-detail:hover::before {
    color: #e03131;
}

/* Stránka se seznamem oblíbených */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.wishlist-item {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
}

.wishlist-item-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.wishlist-item-name {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 6px;
    text-decoration: none;
}

.wishlist-item-price {
    color: #1a73c7;
    font-weight: 700;
    margin-bottom: 10px;
}

.wishlist-item-remove {
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
}

.wishlist-item-remove:hover {
    background-color: #fef2f2;
    border-color: #e03131;
    color: #e03131;
}

.wishlist-empty {
    color: #666;
    font-size: 14px;
}
