.col {
	padding: 5px;
}

@media ( max-width : 575px) {
	.col {
		padding: 0px 5px;
	}
	.suggest-card-col {
		padding: 4px;
	}
}

.small-cart-btn, 
.details-action-group a.small-cart-btn  {
        background: none;
    color: var(--primary);
    /* padding: 4px 2px; */
    padding: 0px 10px;
    border-radius: 4px;
    /* font-weight: bold; */
    font-size: 13px;
    width: 100%;
}
.small-cart-btn:hover, .details-action-group a.small-cart-btn:hover {
    background: var(--primary);
    color: white;
	
}


.range-slider {
	position: relative;
	padding: 1rem 0;
	margin-top: 1rem;
}

.range {
	position: relative;
	height: 4px;
}

/* Základní styl pro slider */
.range input[type="range"] {
	position: absolute;
	width: calc(100% - 20px); /* Kompenzace margin */
	width: 100%;
	height: 4px;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	z-index: 1;
}

/* Track (linka slideru) */
.range input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	
	
	height: 4px;
	background: #e5e7eb;
	border-radius: 2px;
	border: none;
}

.range input[type="range"].max::-webkit-slider-runnable-track {
	background: none;
}

.range input[type="range"]::-moz-range-track {
	width: calc(100% - 34px);
	
	height: 4px;
	background: #e5e7eb;
	
	z-index: 1;
	border-radius: 2px;
	border: none;
	   z-index: 1 !important;
}

/* Kolečka (thumbs) */
.range input[type="range"]::-webkit-slider-thumb {
	position: relative;
	-webkit-appearance: none;
	height: 18px;
	width: 18px;
	margin-top: -7px; /* Vycentrování vertikálně */
	background: var(--primary);
	
	border: 2px solid white;
	border-radius: 50%;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	pointer-events: all;
	z-index: 2;
}

.range input[type="range"]::-moz-range-thumb {
	position: relative;
	height: 14px;
	width: 14px;
	margin-top: -7px;
	background: #119744;
	background: var(--primary);
	border: 2px solid white;
	border-radius: 50%;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	z-index: 5 !important;
	 z-index: 10 !important; /* Zvýš z-index pro Firefox */
}

/* Hover efekty */
.range input[type="range"]::-webkit-slider-thumb:hover {
	box-shadow: 0 0 0 8px rgba(17, 151, 68, 0.1);
	transform: scale(1.1);
	transition: all 0.2s ease;
}

/*.range input[type="range"]::-moz-range-thumb:hover {
	box-shadow: 0 0 0 8px rgba(17, 151, 68, 0.1);
	transform: scale(1.1);
	transition: all 0.2s ease;
}*/

/* Popisky cen */
.price-labels {
	display: flex;
	justify-content: space-between;
	margin-top: 0.75rem;
	padding: 0;
	font-size: 12px;
	color: #4b5563;
}

/*** floating pro vyber variant produktu ****/

/* Přidej do tvého CSS */
.variants-floating-manager-old {
	position: absolute;
	z-index: 1000;
	width: 320px;
	background: #fff;
	border-radius: 0.5rem;
	border: 1px solid #eaeaea;
	overflow: hidden;
}


.variants-floating-manager {
    position: fixed; /* Change from absolute to fixed */
    z-index: 1050;
    width: 320px;
    background: #fff;
    border-radius: 0.5rem;
    border: 1px solid #eaeaea;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}


.variants-list {
	max-height: 300px;
	overflow-y: auto;
}

.variant-item {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid rgba(0, 0, 0, .05);
	transition: background-color 0.2s;
}

.variant-item:hover {
	background-color: rgba(0, 0, 0, .01);
}

.variant-item:last-child {
	border-bottom: none;
}

.variant-amount {
	padding: 2px 2px;
	max-width: 80px;
	text-align: center;
}


/* Super vysoký z-index pro modál */
.variants-modal {
    z-index: 9999 !important;
}

/* Backdrop také musí být nad sliderem 
.modal-backdrop {
    z-index: 9998 !important;
}
*/
/* Ujistíme se, že slider má nižší z-index */
.new-slider {
    z-index: 1;
}

/* Pro jistotu i obecně pro slick */
.slick-slider,
.slick-list,
.slick-track {
    z-index: 1;
	margin-top: 0;
	height: 100%;
    padding-bottom: 8px;
}

/* A arrows v slideru */
.dandik,
.bamdik {
    z-index: 2;
}



.modal .variants-list {
    max-height: 60vh;
    overflow-y: auto;
}

.modal .variant-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.modal .variant-item:last-child {
    border-bottom: none;
}

.variants-floating-manager {
    position: fixed;
    z-index: 9999;
}

/* Pro jistotu přidáme i pro backdrop */
.modal-backdrop {
    z-index: 9998;
}


/*** vyhledavani **/
.search-results {
	max-height: 400px;
	overflow-y: auto;
}

.search-results .dropdown-item:hover {
	background-color: #f8f9fa;
}

.search-results img {
	object-fit: cover;
}

.dropdown-menu:empty {
	display: none !important;
}

/*** browse **/
@media ( min-width : 992px) {
	.col-lg-3-smaller {
		flex: 0 0 auto;
		width: 20%;
	}
	.col-lg-9-bigger {
		flex: 0 0 auto;
		width: 80%;
	}
}

/*** razeni ***/
.sort-tabs {

    margin-bottom: 25px;
    padding: 5px;
    background: none;
}

.nav-tabs.sort-tabs  li {
	padding: 0px 15px;
	border-right: 1px solid var(--border);
	font-weight: 100;
}

.nav-tabs.sort-tabs  li a {
	font-weight: 400;
}

.sort-tabs .nav-link {
	color: var(--text);
	border: none;
	padding: 5px 5px;
}

.sort-tabs .nav-link.active {
	color: var(--primary);
	border-bottom: 2px solid var(--primary);
	border-radius: 0;
	background: none;
}

.toolbar-btns .btn {
	padding: 5px 2px;
	font-weight: 400;
	text-transform: lower-case;
	font-size: 12px;
	border: 0;
	background: none;
}

.blog-browse-card {
	    border: 1px solid var(--light-grey);
	    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 25px;
    padding: 15px 18px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--light-grey);
    transition: alllinear .3s;
    -webkit-transition: alllinear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
}



#filterModal .manufacturer-list {
	max-height: 200px; /* nebo jiná požadovaná výška */
	overflow-y: auto;
	padding-right: 10px; /* prostor pro scrollbar */
}

/** responzivní košík **/

/* Responzivní úpravy pro košík */
/* Responzivní úpravy pro košík */
@media (max-width: 767px) {
    /* Skrytí hlavičky tabulky */
    .table-list thead {
        display: none;
    }

    /* Základní layout řádků */
    .table-list tbody tr {
        display: flex;
        flex-direction: column;
        padding: 15px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
        background: #fff;
    }

    /* Úprava buněk */
    .table-list tbody td {
        display: flex;
        flex-direction: column;
        padding: 0;
        border: none;
        width: 100%;
    }

    /* Popisky */
    .table-list tbody td::before {
        content: attr(data-label);
        font-weight: 500;
        font-size: 13px;
        color: #666;
        margin-bottom: 4px;
    }

    /* Název produktu - zalamování */
    .table-name {
        width: 100%;
    }
    
    .table-name h6 {
        margin: 0;
        width: 100%;
        word-break: break-word;
        hyphens: auto;
    }

    .table-name h6 a {
        display: inline;
        width: 100%;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* Množství - vystředění */
    .table-quantity {
        align-items: center;
    }

    .table-quantity .product-action.simple {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }

    .table-quantity .product-action.simple button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .table-quantity .product-action.simple input {
        max-width: 45px;
        text-align: center;
    }

    .product-action button i {
        width: 28px;
        height: 28px;
        line-height: 28px;
    }

    /* Ceny */
    .table-price h6 {
        margin: 0;
    }

    /* Slevový kupón a celková cena */
    .chekout-coupon,
    .checkout-charge {
        width: 100%;
        padding: 0 10px;
        margin-top: 40px;
    }

    .checkout-charge ul li {
        padding: 10px 0;
    }
    .checkout-charge ul li:last-child {
display: block;

}
    .checkout-charge ul li:last-child span {
display: block;
text-align: center;
    /* color: var(--primary); */
}
    .checkout-charge ul li:last-child span.cart-total-price-text {
	font-weight: 400;
	font-size: 16px;
}


}

/**** test ****/

.modal {
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    z-index: 1055;
}

/* Odstranit nebo upravit původní backdrop */
.backdrop {
    display: none !important; /* Vypnout vlastní backdrop pokud používáme Bootstrap modal */
}

/* Upravit Bootstrap backdrop */
.modal-backdrop {
    z-index: 1040;
}

/* Zajistit, že tělo stránky není scrollovatelné když je modal otevřený */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

/* Zajistit, že modal je scrollovatelný pokud je obsah příliš dlouhý */
.modal-dialog {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}



.suggest-slider {
    padding: 0;
    margin: 0;
    list-style: none;
}

.suggest-card {
    display: flex
;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    background: #167B8E;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 200px;
}

.suggest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.suggest-card img {
    /* width: 60px; */
    /* height: 60px; */
    margin-bottom: 15px;
    /* opacity: 0.9; */
    /* filter: brightness(0.9) contrast(1.1); */
    padding: 14px;
    background: white;
    border-radius: 10px;
}

.suggest-card h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Přidáme podtržení při hoveru */
.suggest-card:hover h5 {
 /*   color: #4A90E2;
    transition: color 0.3s ease;*/
}

.suggest-card {
    background: white;
    border-radius: 12px;  /* Lehce zvětšit zaoblení */
    border: 2px solid #2A9FBC;  /* Tenčí rámeček */
    transition: all 0.3s ease;
    overflow: hidden;  /* Pro čistější vzhled */
}

.suggest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 159, 188, 0.2);  /* Tyrkysový stín */
}

.suggest-card img {
    padding: 15px;  /* Více prostoru kolem produktu */
}

.suggest-card h5 {
    background: #2A9FBC;
    color: white;
    padding: 12px;
    margin: 0;
    font-weight: 500;
    width: 100%;
}

/*** smazat **/

.suggest-card {
    background: white;
    border-radius: 16px;

    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 159, 188, 0.1);
    overflow: hidden;
}

.suggest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 159, 188, 0.15);
}


.suggest-card img {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.suggest-card:hover img {
    transform: scale(1.05);
}

.suggest-card h5 {
    position: relative;
    z-index: 1;
    color: var(--heading);
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: white;
}


.suggest-card {
	background: white;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(42, 159, 188, 0.1);
    border: 1px solid var(--border);
    overflow: hidden;
    justify-content: space-around;
    align-items: center;
    min-height: 190px;
    padding-top: 30px;
}
.suggest-card-col {
  
	
}


.suggest-card:hover {
	    border: 1px solid var(--primary);
	}
.suggest-card:hover h5 {
	    color: var(--primary);
	}

.suggest-card h5 {
    position: relative;
    z-index: 1;
    color: var(--text);
    font-weight: 400;
    margin: 0;
    font-size: 15px;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    background: white;
    
    transition: all linear .3s;
    -webkit-transition: all linear .3s;
    -moz-transition: all linear .3s;
    -ms-transition: all linear .3s;
    -o-transition: all linear .3s;
}



.navbar-part {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
   box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.25);
  background: white;
  
}

.header-top {
    box-shadow: inset 0px -4px 10px 0px rgba(0, 0, 0, 0.2);
    
} 


.lang-currency-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin: 0 ;
}
.lang-currency-group .dropdown-menu {
	min-width: 80px;
	width: 80px;
	}

.lang-currency-group .btn {
    padding: 1px 2px;
    border: none;
    font-size: 12px;
    font-weight: normal;
        color: var(--text);
    background: var(--chalk);
    min-width: 50px;
	
}

.lang-currency-group .btn:hover {
    background: var(--primary);
        color: var(--white);
	}

.sidebar-switches {
	padding: 10px 20px 0;
}

.sidebar-switches .switch-title {
    font-size: 14px;
    color: color: var(--text);;
    margin-bottom: 8px;
}

.sidebar-switches .switch-options {
    display: flex;
    gap: 12px;
}

.sidebar-switches .switch-option {
    padding: 2px 10px;
    border-radius: 4px;
    background: #f5f5f5;
    color: #333;
}

.sidebar-switches .switch-option.active {
    background: var(--primary);
        color: var(--white);
    
}





.navbar-list {
}





/* Responzivní úpravy */
@media (max-width: 768px) {
    .suggest-card {
        min-height: 160px;
    }
    

    
    .suggest-card h5 {
        font-size: 0.9rem;
    }
}

/* Úprava šipek slideru pokud používáte */
.slider-arrow .slick-prev,
.slider-arrow .slick-next {
    width: 40px;
    height: 40px;
    background: #2B2B2B;
    border-radius: 50%;
    z-index: 1;
}

.slider-arrow .slick-prev:hover,
.slider-arrow .slick-next:hover {
    background: #4A90E2;
}





        .megamenu-list-2-cols {
            column-count: 2;
            column-gap: 20px;
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        .megamenu-list-2-cols li {
            break-inside: avoid;
            page-break-inside: avoid;
            padding: 5px 0;
        }
        
/* Základní typografie článku */
.blog-details {

  font-size: 16px;
  line-height: 1.8;

}

/* Hlavní nadpis */
.blog-details-title {
  font-size: 2.5rem;
  font-weight: 700;

  margin-bottom: 1.5rem;
  line-height: 1.2;
}

/* Podnadpisy h3 */
.blog-details-body h3 {
  font-size: 1.75rem;
  font-weight: 600;

  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

/* Odstavce */
.blog-details-body p {
  margin-bottom: 1.5rem;
  font-size: 16px;
  color: #666
}
.blog-details-body p strong{
  color: #555
}
/* Citát styling */
.blog-quote {
  background-color: #374151;
  color: #fff;
  padding: 2.5rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
  position: relative;
}

.blog-quote blockquote {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  font-style: italic;
}

.blog-quote cite {
  font-size: 1rem;
  color: #9CA3AF;
  font-weight: 500;
}

.blog-quote::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--primary);
  
}

/* Pro obrázky v textu */
.blog-details-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
}        


/* Styly pro dlaždicové menu kategorií */
.category-tiles {
    margin-bottom: 1.5rem;
}

.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.5rem;
    background-color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #333;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    max-width: 200px;
}

.category-tile:hover {
        border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
}

.category-tile.active {
        border-color: var(--primary);

}

.category-tile .lucide {
    height: 48px;
    width: 48px;
    stroke-width: 1.4;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.category-name {
    overflow: hidden;
    line-height: 1.3rem;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


.browse-catgory-tiles .category-tile {
    padding: 10px;
    max-width: 110px;
    font-size: 0.9rem;
}


.browse-catgory-tiles .category-tile .lucide {
	    height: 28px;
    width: 28px;
    stroke-width: 1.2;
    font-weight: normal;
    margin-bottom: 0.5rem;

	}

/* Responsivní přizpůsobení pro mobilní zařízení */
@media (max-width: 767.98px) {
    .category-tile .lucide {
        height: 36px;
        width: 36px;
    }
    
    .category-name {
        font-size: 0.8rem;
    }
    
    .category-tile {
        padding: 0.75rem 0.25rem;
    }
}


/* Modální okno pro možnosti doručení */
.shipping-modal-content {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.shipping-method-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.shipping-method-item:last-child {
    border-bottom: none;
}

.shipping-method-item p {
    margin: 0;
}

.shipping-method-name {
    font-weight: 500;
}

.product-main-details {
    background: #FcFcFc;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 15px;
    
}

.delivery-options-popup {
	color: var(--primary);
	cursor: pointer;
	float: right;
}
/*** centrovanej header **/



  .header-centered .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
   /* padding: 15px 0; */
   padding: 0;
}

.header-search-left {
    flex: 1;
}
.header-search-left .header-form {
	margin: 0;
	    max-width: 350px;
}



.header-logo-center {
    flex: 1;
    text-align: center;
}

.header-logo-center img {
    max-height: 80px;
}

.header-actions-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.header-actions-right .navbar-info {
    margin-right: 10px;
}

/* Responzivní úpravy */
@media screen and (max-width: 992px) {
    .header-search-left {
        max-width: 250px;
    }
    
    .header-actions-right .navbar-info {
        display: none; /* Skrýt telefon na menších obrazovkách */
    }
    .header-logo-center {
        display: none; /* Skrýt telefon na menších obrazovkách */
    }
}

@media screen and (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .header-logo-center {
        order: 1;
        width: 100%;
        flex: none;
        margin-bottom: 15px;
    }
    
    .header-search-left {
        order: 2;
        flex: 1;
        max-width: none;
    }
    
    .header-actions-right {
        order: 3;
        flex: none;
        display: none;
    }
    
    .header-container {
     padding: unset;
	}
}

/* Styly pro dialog košíku */
.cart-dialog {
    padding: 0;
}

.cart-dialog-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cart-dialog-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-dialog-title i {
    font-size: 22px;
    margin-right: 10px;
}

.cart-dialog-title h5 {
    margin: 0;
    font-weight: 500;
    color: var(--heading);
}

.cart-dialog-body {
    padding: 20px;
}

.cart-dialog-product {
    display: flex;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.cart-dialog-media {
    margin-right: 15px;
}

.cart-dialog-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.cart-dialog-info {
    flex: 1;
}

.cart-dialog-name {
    font-size: 18px;
    margin-bottom: 10px;
}

.cart-dialog-meta {
    margin: 5px 0;
    color: var(--text);
    font-size: 14px;
}

.cart-dialog-total {
    font-weight: 500;
    color: var(--primary);
}

.cart-dialog-summary {
    padding: 10px 0;
}

.cart-dialog-sum-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-dialog-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

.cart-dialog-footer .btn {
    margin: 0 5px;
}

@media (max-width: 576px) {
    .cart-dialog-footer {
        flex-direction: column;
    }
    
    .cart-dialog-footer .btn {
        margin: 5px 0;
    }
    
    .cart-dialog-continue {
        order: 2;
    }
    
    .cart-dialog-checkout {
        order: 1;
    }
}


/* ===========================
   BESTSELLERS SLIDER - Brain Market Style
   =========================== */

.bestsellers-section {
    padding: 0 0 20px 0;
    background: linear-gradient(to top, #e8f5e8, #f5fbf5);
	margin-top: -40px;
	margin-bottom: 20px;
}

.bestsellers-section .section-title {
	font-size: 16px;
    letter-spacing: 0.05em;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 0;
    /* text-transform: uppercase; */

}




/* ===========================
   SLIDER CONTAINER
   =========================== */

.bestsellers-slider {
    margin: 0 -10px;
}

.bestsellers-slider .dandik, .bestsellers-slider .bamdik {
 	border: 1px solid #ddd;
    top: 40%;
}

.bestsellers-slider .slider-item {
    padding: 0 10px;
}

/* ===========================
   BESTSELLER CARD - Brain Market Style
   =========================== */

.bestseller-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    /*box-shadow: 0 2px 8px rgba(0,0,0,0.08);*/
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    height: 100px; /* Pevná výška jako Brain Market */
}

.bestseller-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

/* Image sekce - menší vlevo */
.bestseller-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 15px;
    border-radius: 6px;
    overflow: hidden;
    background: #f8f9fa;
}

.bestseller-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Info sekce - popis a cena */
.bestseller-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Pro text-overflow */
}

.bestseller-name {
    font-size: 0.9rem;
    
    color: var(--sub-heading);
    margin: 0 0 8px 0;
    line-height: 1.3;
    
    /* Text overflow pro dlouhé názvy */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bestseller-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* ===========================
   SLIDER NAVIGATION
   =========================== */

.bestsellers-slider .slick-prev,
.bestsellers-slider .slick-next {
    font-size: 16px;
    line-height: 1;
    color: var(--sub-heading);
    border: none;
    background: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 999;
    transition: all 0.3s ease;
}

.bestsellers-slider .slick-prev:hover,
.bestsellers-slider .slick-next:hover {
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bestsellers-slider .slick-prev {
    left: -20px;
}

.bestsellers-slider .slick-next {
    right: -20px;
}

.bestsellers-slider .slick-prev:before,
.bestsellers-slider .slick-next:before {
    display: none;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 991.98px) {
    .bestsellers-section {
        padding: 0;
    }
    
    .bestsellers-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }
    
    .bestseller-card {
        height: 90px;
        padding: 12px;
    }
    
    .bestseller-image {
        width: 60px;
        height: 60px;
        margin-right: 12px;
    }
}

@media (max-width: 767.98px) {
    .bestsellers-section .section-title {
        font-size: 1.4rem;
    }
    
    .bestseller-card {
        height: 80px;
        padding: 10px;
    }
    
    .bestseller-image {
        width: 50px;
        height: 50px;
        margin-right: 10px;
    }
    
    .bestseller-name {
        font-size: 0.85rem;
    }
    
    .bestseller-price {
        font-size: 0.9rem;
    }
    
    /* Skrýt šipky na mobilu */
    .bestsellers-slider .slick-prev,
    .bestsellers-slider .slick-next {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .bestsellers-slider {
        margin: 0 -5px;
    }
    
    .bestsellers-slider .slider-item {
        padding: 0 5px;
    }
}


