body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

.navbar {
    background-color: #333333;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    position: relative;
    height: 100px;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    overflow: hidden;
}

.navbar a {
    white-space: nowrap;
    margin-left: 20px;
}

.navbar .logo {
    flex: 0 0 200px;
    margin-right: 0;
    margin-left: 0;
    padding: 8px 12px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .logo img {
    max-height: 65px;
    width: auto;
}

.navbar .logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar .logo:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

#my-search-110609572 {
    flex: 0 1 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-width: 300px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#my-search-110609572 .ec-search {
    width: 100%;
    position: relative;
}

#my-search-110609572 .ec-search__form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 12px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#my-search-110609572 .ec-search__form:hover,
#my-search-110609572 .ec-search__form:focus-within {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

#my-search-110609572 .ec-search__input {
    background: transparent;
    border: none;
    padding: 15px 20px;
    width: 100%;
    color: #333;
    font-size: 17px;
    outline: none;
}

#my-search-110609572 .ec-search__input::placeholder {
    color: #999;
}

#my-search-110609572 .ec-search__icon {
    color: #666;
    margin-right: 8px;
    transition: color 0.3s ease;
}

#my-search-110609572 .ec-search__form:hover .ec-search__icon {
    color: #333;
}

#my-search-110609572 .ec-search__submit {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.navbar-right {
    flex: 0 0 200px;
    display: flex;
    justify-content: flex-end;
}

.navbar-right a {
    position: relative;
    padding: 15px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    font-size: 17px;
}

.navbar-right a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-right a:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

.ec-cart-widget {
    position: relative;
    z-index: 1000;
}

.navbar-right .ec-cart-widget {
    transform: scale(1.2);
}

.footer__link--shopping-cart {
    position: relative;
}

.footer__link--shopping-cart:after {
    content: attr(data-cart-count);
    display: block !important;
    visibility: visible !important;
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffffff;
    color: rgb(0, 0, 0);
    font-size: 12px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    padding: 0 4px;
    box-sizing: border-box;
}

/* Verstecke den Counter nur wenn der Warenkorb leer ist */
.footer__link--empty:after {
    display: none !important;
}

/* Verstecke die Footer-Links */
.ec-footer__link,
.footer__link--my-account,
.footer__link--track-order,
.footer__link--shopping-cart:not(.navbar-right *) {
    display: none !important;
}

/* Aber behalte die Links in der Navbar */
.navbar-right .ec-footer__link {
    display: flex !important;
}

/* Kategorie Styling */
.ec-categories-menu__text,
.ec-category-title,
.ec-categories__name {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 10px 0 !important;
}

.ec-categories-menu__item:hover .ec-categories-menu__text {
    color: white !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Kategorie Link Farben */
.ec-categories__list a,
.ec-categories__link,
#my-categories-110609572 a,
.ec-categories-menu a,
div[data-category-id] a {
    color: #000000 !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.ec-categories__list a:hover,
.ec-categories__link:hover,
#my-categories-110609572 a:hover,
.ec-categories-menu a:hover,
div[data-category-id] a:hover {
    color: white !important;
    background-color: #000000;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Icon Styling */
.navbar-right .svg-icon {
    transform: scale(1.3);
    stroke-width: 1.2;
}

.navbar-right .svg-icon svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 15px;
        height: auto;
        min-height: 120px;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .navbar .logo {
        flex: 0 0 auto;
        margin: 0;
        margin-left: 25px;
        width: 25%;
        transform: translateX(87px);
    }

    .navbar .logo img {
        max-height: 40px;
        width: auto;
    }

    .navbar-right {
        flex: 0 0 auto;
        width: 70%;
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
        padding-right: 15px;
        transform: translateX(45px);
    }

    .navbar-right a {
        padding: 8px 12px;
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    #my-search-110609572 {
        flex: 1 1 100%;
        order: 3;
        position: relative;
        left: 0;
        transform: none;
        margin-top: 10px;
        min-width: 100%;
    }

    /* Mobile Kategorie Styling */
    .ec-categories-menu__text,
    .ec-category-title,
    .ec-categories__name {
        font-size: 18px !important;
        padding: 8px 0 !important;
    }

    .ec-categories__list a:hover,
    .ec-categories__link:hover,
    #my-categories-110609572 a:hover,
    .ec-categories-menu a:hover,
    div[data-category-id] a:hover {
        padding: 4px 8px;
    }

    /* Text-Änderung für mobile Ansicht */
    .navbar-right a[href="#!/~/account"].footer__link--track-order {
        font-size: 0;
    }

    .navbar-right a[href="#!/~/account"].footer__link--track-order::after {
        content: 'Status';
        font-size: 14px;
    }

    /* Text-Änderung für mobile Ansicht - Konto */
    .navbar-right a[href="#!/~/account"].footer__link--my-account {
        font-size: 0;
    }

    .navbar-right a[href="#!/~/account"].footer__link--my-account::after {
        content: 'Konto';
        font-size: 14px;
    }

    /* Speziell für mobile Ansicht noch etwas größer */
    .navbar-right .svg-icon {
        transform: scale(1.4);
        stroke-width: 1.3;
    }

    .navbar-right .svg-icon svg {
        width: 26px;
        height: 26px;
    }

    .ec-minicart__text {
        position: relative;
        top: 4px;
    }

    .navbar-right .ec-cart-widget .ec-minicart__text {
        margin-top: 4px;
        display: block;
    }
}

/* Noch kleinere Bildschirme */
@media screen and (max-width: 480px) {
    .navbar {
        padding: 8px 10px;
    }

    .navbar .logo img {
        max-height: 35px;
    }

    .navbar-right a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* Verstecke den E Scooter Text */
.ec-store__category-title,
.ec-categories__name,
.ec-category-title {
    display: none !important;
}

/* Verstecke die E-Scooter Kategorie */
.grid-category--id-175150837,
div[data-category-id="175150837"] {
    display: none !important;
}
