:root {
    --th-primary: #4bb232;
    --primary-color: #4bb232;
    --text-color: #202020;
    --text-light: #ffffff;
    --sprite-url: url(/assets/images/logo_cart_sprite.webp);
    --swiper-theme-color: #e9e9e9;
    --slide-height: auto;
    --slide-spacing: 8px;
    --slide-size: 100%;
    --page-width: 1120px;
    --accent-color: 5, 178, 50;
}

::selection {
    background-color: var(--primary-color);
    color: #fff;
}

* {
    font-family: 'Roboto', serif;
}

body {
    background-color: #fff;
}

.wrapper__layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.fw-bold {
    font-weight: 700;
}

button:focus {
    outline: none !important;
}

a {
    color: var(--text-color) !important;
}

a:hover {
    text-decoration: none !important;
}

.nav {
    font-size: 18px;
}

.container {
    margin: 0 auto;
    flex-wrap: wrap;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.left-group {
    display: flex;
    align-items: center;
    order: 1;
}

.announcement {
    width: 100%;
    padding: 5px;
    background: #194d3c;
    text-align: center;
    color: #fff;
}

.logo.text {
    font-weight: 500;
}

.logo.text {
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .logo.text {
        font-size: 1.5rem;
    }
}

.location {
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    margin-right: 15px;
}

.truck-icon {
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.location-text {
    width: 148px;
    font-size: 14px;
    line-height: 16px;
}

#location-text.empty-placeholder {
    min-height: 1.2em;
    display: inline-block;
    visibility: hidden;
}

#location-text:not(:empty) {
    visibility: visible;
}

.language-selector {
    position: relative;
}

.icons {
    display: flex;
    align-items: center;
}

.icons a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    margin-left: 15px;
    transition: color 0.3s;
}

.language-selector .dropdown-toggle {
    background-color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s;
    height: 40px;
}

.language-selector .dropdown-toggle::after {
    display: none;
}

.language-selector .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 8px 16px #0000001a;
    border-radius: 5px;
    margin-top: 5px;
    width: 150px;
    z-index: 1;
}

.language-selector .dropdown-menu li {
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s;
}

.language-selector .dropdown-menu li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.language-selector .dropdown-menu li:hover {
    background-color: #f0f0f0;
}

.language-selector .dropdown-menu li.active {
    background-color: var(--primary-color);
    color: #fff;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    background-color: #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
    flex: 1;
    margin: 0 20px;
    order: 2;
    height: 40px;
}

.search-bar input {
    border: none;
    padding: 10px;
    outline: none;
    width: 100%;
    background-color: #e8e8e8;
}

.search-bar:hover,
.search-bar:focus-within {
    border: 1px solid var(--primary-color);
}

.search-btn {
    background: transparent;
    border: none;
    color: #333;
    padding: 10px 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.clear-btn {
    position: absolute;
    right: 40px;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.clear-btn:hover {
    color: #000;
}

.right-group {
    display: flex;
    align-items: center;
    order: 3;
}

.right-group a {
    text-decoration: none;
    font-size: 18px;
    color: #333;
    position: relative;
    transition: color 0.3s;
}

.right-group .question,
.right-group .cart {
    width: 22px;
    aspect-ratio: 1/1;
    background-color: #000;
    mask-size: cover;
    mask-repeat: no-repeat;
}

.right-group .question {
    mask-image: url(/assets/svg/question.svg);
}

.right-group .cart {
    mask-image: url(/assets/svg/cart.svg);
}

.right-group .question:hover,
.right-group .cart:hover {
    background-color: var(--primary-color);
}

.badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: red;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

.rounded-3 {
    border-radius: 0.5rem !important;
}

.navigate-bar-link:hover {
    color: var(--primary-color) !important;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-animated {
    transition: all 0.1s ease-in-out;
}

.btn-animated:hover {
    transform: scale(1.05);
}

.main {
    margin-top: 10px;
    margin-bottom: 10px;
}

.main {
    margin-top: 10px;
    margin-bottom: 10px;
}

.main-price {
    color: var(--primary-color);
}

footer {
    background-color: #f6f7f9;
}

footer span {
    font-size: 14px;
}

footer .site-link:hover span {
    color: var(--primary-color);
}

.footer-logo {
    height: 38px;
}

.icon-card {
    height: 25px;
}

.payments-sprite-paypal {
    --icon-position: 1;
}

.payments-sprite-visa {
    --icon-position: 2;
}

.payments-sprite-master {
    --icon-position: 3;
}

.payments-sprite-amex {
    --icon-position: 0;
}

.payments-sprite-sofort {
    --icon-position: 4;
}

.payments-sprite-giropay {
    --icon-position: 5;
}

.payments-sprite {
    --scale-fac: 3.42;
    background: var(--sprite-url) no-repeat;
    background-position: center calc(var(--icon-position) * 25px * -1 + -0.5px);
    background-size: 43.85965px;
    background-size: calc(150px / var(--scale-fac));
    border: 1px solid #d3d3d3;
    display: block;
    height: inherit;
    width: 51.85965px;
    width: calc(150px / var(--scale-fac) + 8px);
}

@media (max-width: 767px) {
    .container {
        padding-left: 0;
        padding-right: 0;
    }

    .left-group {
        flex: 1 0 calc(100% * 2 / 3);
    }

    .right-group {
        flex: 1 0 calc(100% / 3);
    }

    .menu-btn {
        flex: 1 0 50%;
    }

    .sidenav {
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 1001;
        top: 0;
        left: -100%;
        overflow-x: hidden;
        transition: 0.5s;
        -webkit-animation-name: run;
    }

    .sidenav.active {
        left: 0;
    }

    .sidenav.active .overlay {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .sidenav .menu {
        position: relative;
        border-right: 1px solid #ddd;
        height: 100%;
        width: 280px;
        background-color: #fff;
        padding-top: 60px;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 20px;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    .sidenav a {
        padding: 8px 5px 8px 20px;
        text-decoration: none;
        font-size: 18px;
        color: #121212b3;
        display: block;
        transition: 0.3s;
    }

    .sidenav a:focus,
    .sidenav a:hover {
        color: var(--primary-color) !important;
    }

    .logo {
        flex: 1 0 50%;
    }

    .search-bar {
        width: 100%;
        margin: 10px 0;
        order: 3;
    }

    .left-group {
        padding-left: 20px;
    }

    .right-group {
        justify-content: end;
        gap: 8px;
        order: 2;
        padding-right: 20px;
    }

    .right-group a {
        margin-left: 0;
    }
}

@media (min-width: 1201px) {
    .container {
        max-width: 1120px !important;
    }
}

/* Mobile styles (2x2 grid) */
@media (max-width: 767.98px) {
    .product-item {
        flex: 0 0 calc(50% - 8px);
    }
}

/* Desktop styles (row of 4) */
@media (min-width: 768px) {
    .product-item {
        flex: 0 0 calc(25% - var(--slide-spacing));
    }
}

/* Card Content */
.product-item {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.product-item:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.product-item:hover img {
    -webkit-transform: scale(1.075);
    transform: scale(1.075);
}

.product-name-ellipsis {
    min-height: 38px;
    max-height: 38px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.product-name-ellipsis a {
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    word-break: break-word;
}

@media only screen and (min-device-width: 767px) and (max-device-width: 1025px) and (-webkit-min-device-pixel-ratio: 1) {

    .product-name-ellipsis a,
    .main-price,
    .old-price {
        font-size: 14px;
    }
}

.product-info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.img-product {
    overflow: hidden;
}

.img-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-object-fit: contain;
    transition: transform 0.2s ease;
}

/* Card Btn */
.add-to-cart-btn {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
}

.add-to-cart-btn:focus {
    box-shadow: none;
}

.add-to-cart-btn:hover {
    box-shadow: 0 0 3px 3px color-mix(in srgb, var(--primary-color), transparent 50%);
}

.add-to-cart-btn:active {
    box-shadow: 0 0 8px 6px color-mix(in srgb, var(--primary-color), transparent 75%);
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #ccc !important;
}

.custom-upload-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    background-color: #fff;
    transition: 0.3s;
}

.custom-upload-btn:hover {
    background-color: #f8f9fa;
}

.custom-upload-btn svg {
    margin-right: 8px;
}

input[type='file'] {
    display: none;
}

.rounded-3 {
    border-radius: 0.5rem !important;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white !important;
}

.btn-animated {
    transition: all 0.1s ease-in-out;
}

.btn-animated:hover {
    transform: scale(1.05);
}

.custom-code__content a {
    color: #0000ed !important;
    position: relative;
}

a[href]:not(.no-animation, .link-underline, .\:hover-underline, .decoration-underline, .no-underline):not( :has(u, div, img, p, span[style])):after,
a[href]:not(.no-animation, .link-underline, .\:hover-underline, .decoration-underline, .no-underline):has(span[style*='color']) span:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: currentColor;
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
}

.rounded-3 {
    border-radius: 0.5rem !important;
}

.accordion-button {
    cursor: pointer;
}

.form-control:focus {
    box-shadow: none;
    border-color: #999;
}

.btn-find {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.btn-contact {
    background-color: transparent;
    border: 1px solid #000;
}

.btn-animated {
    transition: all 0.1s ease-in-out;
}

.btn-animated:hover {
    transform: scale(1.05);
}

.faq-question {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
}

.faq-answer {
    margin-top: 10px;
}

.when-open {
    display: none;
}

a[aria-expanded='true'] .when-open {
    display: inline;
}

a[aria-expanded='true'] .when-closed {
    display: none;
}

a[aria-expanded='false'] .when-open {
    display: none;
}

a[aria-expanded='false'] .when-closed {
    display: inline;
}