.product-box .product-detail h2, .product-box .product-info h2, .product-wrap .product-detail h2, .product-wrap .product-info h2 {
    line-height: 1;
    margin-bottom: 0;
    padding-top: 2px;
    padding-bottom: 5px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.product-box .img-wrapper, .product-wrap .img-wrapper {
    background-color: white;
}
.color-variant li,.product-right .color-variant li {
    width: auto;
    height: auto;
}
.color_pick label.color-block:has(img) {
    width: auto !important;
    height: auto !important;
}

.img-row {
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.img-item {
    flex: 1 1 0;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Základný štýl pre zoznam farieb */
.color-variant {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}
/* Základné nastavenie zoznamu farieb */
.color-variant {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 10px;
}

/* Skryté radio buttony */
.color_pick input[type="radio"] {
    display: none;
}

/* Farebné bloky */
.color_pick label.color-block {
    position: relative;
    border: 2px solid transparent;
    border-radius: 10px;
    flex-direction: column;
    cursor: pointer;
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Text bude predvolene biely */
    font-weight: bold;
    text-transform: capitalize;
    font-size: 14px;
    transition: border 0.2s ease, transform 0.2s ease;
    text-align: center;
}

/* Zvýraznený výber farby */
.color_pick input[type="radio"]:checked + label {
    border: 3px solid #000; /* Silný čierny okraj pri výbere */
    transform: scale(1.1);  /* Zvýrazníme výber miernym zväčšením */
}



/* Skryjeme checkbox */
.hemming-checkbox .form-check-input {
    display: none; /* Checkbox sa nebude zobrazovať */
}

/* Štýl tlačidla (label) pre interakciu */
.hemming-checkbox .btn {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #c51111;
    background-color: white;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

/* Zvýraznenie pri hover */
.hemming-checkbox .btn:hover {
    background-color: #c51111;
    color: white;
}

/* Aktívny štýl pre zaškrtnutý checkbox */
.hemming-checkbox .form-check-input:checked + .btn {
    background-color: green;
    color: white;
    border-color: #c51111;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    position: relative;
    padding-right: 30px; /* Pridá priestor na fajku */
}

.hemming-checkbox .form-check-input:checked + .btn::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.price-section input[type="radio"]:checked + label {
    background-color: #c51111 !important;
    color: white !important; /* Aby bol text dobre viditeľný */
    border-color: #c51111;
}
.btn-solid {
    background-size: 1250px;
}

.slider-contain img {
    width: 100%; /* Alebo max-width: 300px; podľa potreby */
    max-width: 300px;
    aspect-ratio: 1 / 1; /* Vytvorí štvorcový pomer */
    border-radius: 50%;
    object-fit: cover;
    border:5px solid #c51111;
}
.sub-footer.dark-subfooter {
    background-color: #c51111;
    color:white;
}
.sub-footer.dark-subfooter a {
    color:white;
    text-decoration: underline;
}
.bg-theme {
    background-color: #c51111;
}
.bottom-part.bg-theme .pixelstrap a, .bottom-part.bg-theme .pixelstrap a:hover, .bottom-part.bg-theme .pixelstrap a:active {
    color:white;
}
.product-box .product-detail h2, .product-box .product-info h2, .product-wrap .product-detail h2, .product-wrap .product-info h2 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Obmedzenie na 3 riadky */
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.4em; /* Výška riadku */
    height: calc(1.4em * 3); /* Celková výška 3 riadkov */

    text-overflow: ellipsis; /* Trojbodka na konci dlhých textov */
    white-space: normal;
}
.product-box img {
    width: 100%; /* Rešpektuje responzívnosť */
    height: auto; /* Udrží prirodzený pomer */

    aspect-ratio: 1 / 1; /* Udrží pomer strán 1:1 */

    object-fit: cover; /* Orezáva obrázok a zachováva proporcie */
    object-position: center; /* Udrží stred obrázka */
}
.tools-grey .product-box:hover .img-wrapper .front img, .tools-grey .product-box:hover .img-wrapper .front .bg-size {
    opacity: 0.5;
}


.riasenie-option {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.riasenie-option img {
    width: 150px;
    height: auto;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}

.riasenie-option input {
    display: none;
}

.riasenie-option:hover, .riasenie-option input:checked + label {
    background-color: #f8f9fa;
    border-color: #c51111;
}

.riasenie-option label {
    width: 100%;
    cursor: pointer;
}

.scrollable-container {
    max-height: 300px; /* Nastav maximálnu výšku podľa potreby */
    overflow-y: auto; /* Povolenie vertikálneho skrolovania */
    position: relative; /* Dôležité pre správne umiestnenie gradientu */
    padding-bottom: 20px; /* Rezerva na spodku */
}

/* Vlastný scrollbar pre moderný vzhľad */
.scrollable-container::-webkit-scrollbar {
    width: 6px;
}

.scrollable-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.scrollable-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Pevne umiestnený gradient na spodku */
.scrollable-container .fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px; /* Výška prechodu */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, white 100%);
    pointer-events: none; /* Zabezpečí, že prechod neblokuje scrollovanie */
}

.breadcrumb-section {
    padding: 15px 0;
    margin-bottom: 30px;
}