* {
  font-family: 'Roboto', sans-serif !important;
}
.benefitBanner__item {
    flex-direction: column;
    align-items: center;
}
.benefitBanner__data {
    text-align: center;
}
/* === CYKLODISKONT BANNERY === */
.extended-banner-texts {
  padding-left: 15px !important;
  padding-right: 15px !important;
}
/* Wrapper titulku + čiary – šírka = šírka textu */
.cd-header {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
/* Čiara */
.cd-line {
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  background-color: #cc1111 !important;
  margin: 6px 0 4px 0 !important;
  border-radius: 2px !important;
  flex-shrink: 0 !important;
}
/* Titulok – malé bannery */
.extended-banner-texts .extended-banner-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 30px !important;
  font-weight: 700 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5) !important;
}
/* Podtitulok */
.extended-banner-texts .extended-banner-text {
  font-family: 'Roboto', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  line-height: 1.5 !important;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5) !important;
  margin-top: 2px !important;
  display: block !important; 
}
/* Button – malé bannery */
.extended-banner-texts .extended-banner-link {
  font-family: 'Roboto', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  background-color: #cc1111 !important;
  color: #fff !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
}
.extended-banner-texts .extended-banner-link:hover {
  background-color: #a00d0d !important;
  color: #fff !important;
}
/* === VEĽKÉ BANNERY (automatické zväčšenie v carousel) === */
.carousel .extended-banner-texts {
  bottom: -9% !important;
}
.carousel .extended-banner-texts .extended-banner-title {
  font-size: 52px !important;
}
.carousel .extended-banner-texts .extended-banner-link {
  font-size: 14px !important;
  padding: 12px 28px !important;
}
.carousel .cd-line {
  height: 4px !important;
  margin: 10px 0 8px 0 !important;
}
/* === PRAVÉ ZAROVNANIE (Elektrokola) === */
.extended-banner-texts:has(.cd-right-marker) {
  align-items: flex-end !important;
  text-align: right !important;
  left: auto !important;
  right: 20px !important;
}
.extended-banner-texts:has(.cd-right-marker) .cd-header {
  align-items: flex-end !important;
}
.contact-address__content .contact-box ul li.contact-address__first {
    margin-bottom: 10px;
}
.twitter {
    display: none;
}
iframe#twitter-widget-0 {
    display: none;
}
a.twitter-share-button {
    display: none;
}
.btn.btn-conversion, a.btn.btn-conversion {
    border-radius: 10px;
}
.p-info-wrapper .p-final-price-wrapper .price-final {
    color: var(--color-secondary);
}
.shp-tabs-holder ul.shp-tabs li.active a {
    color: var(--color-secondary);
}
.category-link:hover .category-link__icon {
  background-color: var(--color-secondary) !important;
}
.category-link:hover a {
  color: var(--color-secondary) !important;
}
.footer-item.footer-item-newsletter .compact-form .btn:hover {
    background-color:  var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
}
.login-wrapper .password-helper a:first-child:hover {
    background-color: var(--color-primary);
}
.login-wrapper .password-helper a+a:hover {
    color: var(--color-primary-hover);
}
.btn {
    border-radius: 8px !important;
}
.btn.btn-primary, a.btn.btn-primary, .btn.btn-primary, a.btn.btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.btn.btn-primary:hover, a.btn.btn-primary:hover, .btn.btn-primary:hover, a.btn.btn-primary:hover {
    background-color: var(--color-secondary-hover);
    border-color: var(--color-secondary-hover);
}
.login-wrapper .password-helper a:first-child {
    border-radius: 8px;
}
.product .p {
    border-radius: 8px;
}
.flag {
    border-radius: 8px;
}
#footer.is-white {
    background-color: #1a1a1a;
}
#footer h3, #footer h4 {
    color: var(--color-secondary);
}
#footer ul a {
    color: #ffffff;
}
#footer.is-white .news-item-widget a:hover, #footer.is-white ul a:hover {
    color: var(--color-secondary);
}
#footer #footer h4, #footer .contact-box ul li>span::before, #footer .contact-box h4 {
    color: #fffdfd !important;
}
.in-404 .content .btn.btn-default, .id-404 .content .btn.btn-default, .in-404 .content a.btn.btn-default, .id-404 .content a.btn.btn-default {
    color: #ffffff;
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}
.in-404 .content .btn.btn-default:before, .id-404 .content .btn.btn-default:before, .in-404 .content a.btn.btn-default:before, .id-404 .content a.btn.btn-default:before {
    color: #ffffff;
}
.in-404 .content .btn.btn-default:hover, .id-404 .content .btn.btn-default:hover, .in-404 .content a.btn.btn-default:hover, .id-404 .content a.btn.btn-default:hover {
    border-color: var(--color-secondary-hover);
    background-color: var(--color-secondary-hover);
}
#footer.is-white .contact-box ul li.contact-box-icon:hover span::before {
  color: var(--color-secondary) !important;
}
.checkout-box-wrapper .contact-box ul li>span:before {
    color: var(--color-secondary);
}
.checkout-box-wrapper .contact-box ul li a:hover {
    color: var(--color-primary-hover);
}
.contact-address__content {
    border-radius: 8px;
}
.cart-content .next-step-back, .next-step-back.back-to-shop {
    border-radius: 8px;
    background-color: var(--color-secondary);
    color: #ffffff;
}
.cart-content .next-step-back:before, .next-step-back.back-to-shop:before {
    color: #ffffff;    
}
.cart-content .next-step-back:hover, .next-step-back.back-to-shop:hover {
    background-color: var(--color-secondary-hover);
}
.cart-free-shipping.is-free-shipping:before, .cart-free-shipping.is-free-shipping:after {
    background-color: #4c4c4c;
}
.cart-widget-button.is-free-shipping {
    background-color: #333333;
}
.cart-free-shipping div {
    color: white;
}
.cart-window-visible .cart-widget {
    border-radius: 8px;
}
.summary-wrapper {
    border-radius: 8px;
    background-color: #333333;
}
.price-wrapper .price-label.price-primary {
    color: #ffffff;
}
.price-wrapper .price.price-primary {
    color: #66bf3a;
}
.extras-wrap .extra-item.is-free-shipping .extra-content {
    background-color: #333333;
    border-radius: 8px;
}
.extras-wrap .extra span {
    color: #ffffff;
}
ol.cart-header li.active a span:before, ol.cart-header li.active strong span:before {
    background-color: #d01d25;
}
ol.cart-header li.active strong {
    color: #d01d25;
}
ol.cart-header li a:hover {
    color: #d01d25;
}
ol.cart-header li a:hover span:before {
    background-color: #d01d25;
}
ol.cart-header li.completed a:hover {
    color: #d01d25;
}
footer .site-name img {
    content: url("/user/documents/upload/img/Cyklodiskont logo_bile.png");
}
.order-summary-top {
    border-radius: 8px;
}
.order-summary-bottom {
    border-radius: 8px 8px 0 0;
    background-color: #333333;
}
.next-step {
    border-radius: 0 0 8px 8px;
    background: #333333;
}
.radio-wrapper input[type="radio"]+label {
    border-radius: 8px;
}
ol.cart-header li.active {
    border-radius: 8px 8px 0 0;
}
.body-banners {
    flex-direction: column;
}
.rate-wrapper.unveil-wrapper .rate-average-inner+.add-comment {
    border-radius: 8px;
}
.stars .star.star-on::before, .stars .star.star-half::before {
    color: #d01d25;
}
.rate-average {
    color: #d01d25;
}
.rate-wrapper.unveil-wrapper .rate-list .stars span.star-off::before {
    color: #d01d25;
}
.content-wrapper.homepage-box.middle-banners-wrapper {
    background: #ffffff;
}
.footer-banners .footer-banner.footer-banner--no-text img {
    border-radius: 0px;
}
.row.banners-content.body-banners {
    padding-top: 30px;
    padding-bottom: 30px;
}
.cd-benefit-claim {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #0f0f0f;
    margin: 40px 0 30px 0;
    letter-spacing: 0.01em;
}
.contact-box .cd-contact-phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.5;
}
.top-navigation-contacts .cd-contact-phones {
  display: contents;
}
.cd-contact-phones__line {
  display: block;
}
.top-navigation-contacts .cd-contact-phones__line {
  display: inline;
}
.top-navigation-contacts .cd-contact-phones__line + .cd-contact-phones__line::before {
  content: ' · ';
  color: #aaa;
}
.cd-contact-phones__label {
  color: #888;
  font-weight: 400;
}
.cd-contact-phones a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.cd-contact-phones a:hover {
  color: var(--color-secondary);
}
.cd-contact-phones__hours {
  color: #888;
  font-size: 12px;
  margin-top: 1px;
}
/* ========================================= */
/* === MEDIA QUERIES (zlúčené podľa šírky) === */
/* ========================================= */
@media (min-width: 480px) {
    .in-404 .content-inner .empty-content-404 h1, 
    .id-404 .content-inner .empty-content-404 h1 {
        font-size: 50px;
    }
    .in-404 .content-inner h1::before, 
    .id-404 .content-inner h1::before {
        font-size: 80px;
    }
    .p-info-wrapper .quantity input {
        font-size: 20px;
        width: 130px;
    }
    .p-info-wrapper .quantity .increase:before, 
    .p-info-wrapper .quantity .decrease:before {
        font-size: 12px;
    }
    .body-banners>div {
        width: 100%;
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .cart-inner.cart-empty .cart-heading:before {
        font-size: 95px;
    }
    .p-info-wrapper .p-final-price-wrapper .price-final {
        font-size: 26px;
    }
    .in-404 .content-inner, 
    .id-404 .content-inner {
        padding: 60px 25px 60px;
    }
    .footer-item.footer-item-newsletter {
        border-radius: 8px;
    }
    #signature {
        flex: 1 0 230px;
    }
    #footer .site-name a img {
        max-width: 300px;
    }
    h4.homepage-group-title, 
    .h4.homepage-group-title {
        font-size: 30px;
    }
    .top-navigation-bar .container {
        width: 80%;
    }
    .custom-footer .footer-item {
        padding: 20px 0px;
    }
    .footer-banners {
        margin-top: 15px;
        margin-bottom: 0;
    }
    .is-header-fixed.is-header-hidden #header .site-name a img {
        max-height: 60px;
    }
    .body-banners>div {
        width: 100%;
    }
}
@media (min-width: 992px) {
    .cart-inner.cart-empty .cart-heading {
        font-size: 30px;
    }
    .products-group {
        margin-bottom: 60px;
        margin-top: 0px;
    }
}
@media (min-width: 1200px) {
    .footer-rows .site-name a img {
        max-height: 135px;
    }
    body:not(.is-carousel-full-width) .carousel .extended-banner-texts, 
    .multiple-columns-body .carousel .extended-banner-texts {
        padding: 0 100px;
        padding-left: 35px !important;
    }
    .col-lg-6 {
        width: 100%;
    }
    .col-lg-4 {
        width: 100%;
    }
}
@media (min-width: 1600px) {
    .cart-header__contact {
        max-width: 65%;
    }
}

.cd-brands__slider-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body {
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .products-block.products .p .name {
        font-size: 16px;
    }
}

.price-final {
    color: #d01d25;
}

.products-block.products .p .name {
    font-weight: 500;
}

.p-in .name span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-bottom {
    margin-bottom: 10px;
}
.navigation-buttons {
    display: flex; /* Zmení Grid na Flexbox, ktorý nemá problém s pridanými elementmi */
    align-items: center;
}

.top-navigation-contacts {
    display: none !important;
}


.top-navigation-bar .top-nav-button-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 16px;
    background-color: var(--color-secondary);
    color: #fff !important;
    border: 1px solid var(--color-secondary);
    border-radius: 8px !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    box-shadow: none;
    transition: all .3s ease-out;
    cursor: pointer;
}

@media (min-width: 992px) {
    /* Zmeníme rozloženie celej hlavičky na flexbox, aby sme mali plnú kontrolu */
    #header .header-top {
        display: flex !important;
        align-items: center !important;
    }
    
    /* 1. Logo zaberie len svoju vlastnú šírku */
    #header .header-top .site-name-wrapper {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-right: 40px !important; /* TOTO JE TVOJA MEDZERA - môžeš si ju zväčšiť/zmenšiť (napr. 30px, 50px) */
    }
    
    /* 2. Vyhľadávač sa nalepí za logo */
    #header .header-top .search {
        flex: 0 1 450px !important; /* Toto obmedzí max. šírku vyhľadávača, aby nebol zbytočne roztiahnutý */
        width: 100% !important;
    }
    
    /* 3. Všetko ostatné (košík) odtlačíme úplne na pravý okraj obrazovky */
    #header .header-top .navigation-buttons {
        margin-left: auto !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }
}


@media (min-width: 992px) {
    .header-top .navigation-buttons {
        display: flex;
        align-items: center;
        gap: 15px; 
    }
    .header-contact-block {
        display: flex;
        align-items: flex-end; 
        gap: 10px; 
        font-family: inherit;
        line-height: 1.2;
        margin-left: auto;
        margin-right: auto;
    }
    .hcb-avatar {
        position: relative;
        width: 56px; 
        height: 56px; 
        flex-shrink: 0;
        margin-left: -10px; 
    }
    .hcb-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        object-fit: cover;
    }
    .hcb-status {
        position: absolute;
        top: 2px;
        right: 0px;
        width: 12px;
        height: 12px;
        background-color: #58cc02;
        border: 2px solid #ffffff;
        border-radius: 50%;
    }
    .hcb-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; 
        text-align: left; 
        color: #333333;
        gap: 4px;
    }
    .hcb-title {
        color: #e31837; 
        font-size: 15px; 
        margin-bottom: 5px; 
        line-height: 1.3;
        text-align: left; 
    }
    .hcb-phone {
        display: flex;
        align-items: center;
    }
    .hcb-link {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #333333;
        text-decoration: none;
        transition: color 0.2s ease;
    }
    .hcb-icon {
        color: #e31837; 
        display: inline-flex;
        align-items: center;
        transition: color 0.2s ease;
    }
    .hcb-icon svg {
        width: 11px !important;
        height: 11px !important;
    }
    .hcb-info strong {
        font-weight: 500;
        font-size: 14px; 
        color: #333333; 
        transition: color 0.2s ease;
    }
    .hcb-link:hover,
    .hcb-link:hover .hcb-icon,
    .hcb-link:hover strong {
        color: #cc1111 !important;
    }
    .hcb-time {
        font-weight: 400;
        font-size: 14px;
        color: #555555; 
        margin-left: 5px;
    }
}
@media (min-width: 992px) {
    body #header .header-top {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    body #header .header-top .site-name-wrapper {
        flex: 0 0 auto !important;
        width: auto !important;
        display: block !important;
        margin-right: 40px !important; 
    }
    body #header .header-top .search {
        flex-grow: 0 !important;   
        flex-shrink: 0 !important;
        flex-basis: 320px !important; 
        width: 320px !important;
        max-width: 320px !important;
        display: block !important;
    }
    
    body #header .header-top .search-form {
        width: 90% !important;
    }
    body #header .header-top .navigation-buttons {
        margin-left: 100px !important; 
        flex: 1 1 auto !important;
        width: 100% !important;
    }
}
@media (min-width: 1200px) {
    body #header .header-top .search {
        flex-grow: 0 !important;
        width: 320px !important;
        max-width: 320px !important;
    }
}

@media (min-width: 768px) {
    .header-top .btn.cart-count .cart-price {
        display: none !important;
    }
}

@media (min-width: 992px) {
    /* 1. Základný stav: Zafixujeme pozíciu, ale okno je VŽDY NEVIDITEĽNÉ (platí to po načítaní aj pri zatvorení) */
    #login.popup-widget {
        position: fixed !important;  
        top: 80px !important;        
        right: 170px !important;      
        left: auto !important;       
        z-index: 99999 !important;   
        
        /* Skrývame ho v základe */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* 2. Keď na tlačidlo KLIKNEŠ a Shoptet ho označí ako otvorené (aria-hidden="false") -> ZOBRAZÍME HO */
    #login.popup-widget[aria-hidden="false"] {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (min-width: 992px) {
    .p-info-headline .h1, .p-info-headline h1 {
        font-size: 28px;
    }
}

.rate-average {
    color: #0f0f0f !important;
}

.product-btn .btn.btn-primary,
.product-btn a.btn.btn-primary {
    background-color: #27952e;
    border-color: #27952e;
}

.btn.btn-conversion, a.btn.btn-conversion, .btn.btn-cart, a.btn.btn-cart {
    color: #fff;
    border-color: #27952e;
    background-color: #27952e;
}

.product-btn .btn.btn-primary:hover,
.product-btn a.btn.btn-primary:hover {
    background-color: #228228;
    border-color: #228228;
}

.btn.btn-conversion:hover, a.btn.btn-conversion:hover, .btn.btn-cart:hover, a.btn.btn-cart:hover {
    background-color: #228228;
    border-color: #228228;
}

.cd-brands__title {
    font-size: 30px !important;
}

body {
    font-size: 15px !important;
}

@media (min-width: 768px) {
    .is-header-fixed.is-header-hidden .header-top {
        padding-top: 15px;
    }
}