

    /* Desktop remains unchanged, styles below only apply to mobile */

    @media (max-width: 768px) {
        /* Styles for mobile view */
        .product__image {
            width: 100%;
            height: 0;
            padding-bottom: 75%; /* Adjust this ratio for mobile */
            position: relative;
            overflow: hidden;
        }

        #product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            position: absolute;
            top: 0;
            left: 0;
        }
    }

    /* START Per badge extra 20%*/


   
    @media (max-width: 768px) {
        .badge-extra {
            top: 200px !important; /* pak më poshtë në mobile */
            left: 10px !important;
        }
    }




    .brand-text-tooltip {
    position: absolute;
    top: -35px;
    right: 8px;
    background-color: rgba(255, 255, 255, 0.6);
color: #000;
    font-size: 10px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 2px;
    z-index: 2;
    cursor: default;
    text-transform: uppercase;
    font-family: Inter, sans-serif;
    font-weight: 500;
    max-width: 50%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 768px) {
    .brand-text-tooltip {
        font-size: 8px;
        padding: 1px 4px;
        top: -30px;
        right: 6px;
    }
}



   .sizes-under-price {
    position: relative;
    margin-top: 10px;
    margin-left: 2px;
}

.sizes-under-price .sizes-title {
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    font-family: Arial, sans-serif;
    color: #333;
}

.sizes-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.item .content .upper {
    border-bottom: 1px solid #000000;
}

.sizes-boxes .size-box {
    background-color: #f2f2f2;
    color: #000;
    font-size: 11px;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 500;
    font-family: Arial, sans-serif;
    min-width: 26px;
    text-align: center;
    border: none;
    user-select: none;
}

/* KJO E BËN TË PAKLIKUESHËM EDHE NGA <a> PRIND */
.sizes-under-price::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 9;
    background: transparent;
    pointer-events: none;
}


/* Mobile responsive */
@media (max-width: 768px) {
    .sizes-boxes .size-box {
        font-size: 8px;
        padding: 2px 5px;
        min-width: 24px;
    }

    .sizes-under-price .sizes-title {
        font-size: 8px;
    }
}




    .product__image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 300px; /* Adjust the height as needed */
        overflow: hidden;
        position: relative; /* Ensure that the new overlay is positioned correctly */
    }

    .image-container {
        width: 100%; /* Ensure the container takes up the full width */
        overflow: hidden; /* Hide any overflow content */
    }

    .image-container img {
        width: 100%;
        height: auto;
        display: block; /* Removes any unwanted whitespace below the image */
    }

    .outlet-overlay {
        position: absolute;
        top: 10px; /* Adjust this value to position the text vertically */
        left: 10px; /* Adjust this value to position the text horizontally */
        background: rgba(255, 0, 0, 0.7); /* Red background color with transparency */
        color: white;
        padding: 2px 4px; /* Smaller padding */
        font-size: 10px; /* Smaller font size */
        font-weight: bold;
        z-index: 1; /* Ensure it is on top of other elements */
    }

    .new-overlay {
        position: absolute;
        top: 10px; /* Adjust this value to position the text vertically */
        left: 10px; /* Adjust this value to position the text horizontally */
        background: rgb(173 0 0 / 82%); /* Green background color with transparency */
        color: white;
        padding: 2px 4px; /* Smaller padding */
        font-size: 10px; /* Smaller font size */
        font-weight: bold;
        z-index: 1; /* Ensure it is on top of other elements */
    }

    .price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    .price-container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .original-price {
        color: #000;
        text-decoration: line-through;
        font-weight: bold;
    }

    .discounted-price {
        color: #000;
        font-weight: 200;
        text-decoration: none;
        background-color: #50ff50;
        padding: 2px 4px;
    }

    .current-price {
        color: #000;
        font-weight: bold;
        text-decoration: none;
    }

    hr {
        border: none;
        height: 0.1px;
        background-color: #000;
        margin-bottom: 5px;
    }

    @media (max-width: 720px) {
        hr {
            height: 1px;
            background-color: #000;
        }
    }

    .brand-logo {
        position: absolute;
        top: -30px;
        right: 7px;
        width: 30px;
    }

    @media (max-width: 720px) {
        .brand-logo {
            top: -35px;
            right: 5px;
            width: 20px;
        }
    }
