body {
    max-width: 95%;
    margin: auto;
    padding-top: 5px;
}

.index,
.products,
.stores,
.store,
.user,
.scanQr,
.review,
.orders,
.all-orders,
.contacts,
.op,
.gdpr,
.howItWorks {
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    min-width: 100%;
}

.settings .card {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.2s;
}

.settings .card:hover {
    transform: scale(1.05);
}

.settings .card-title {
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

.catalog-sub {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-card {
    width: 32vh;
}

.product-card img.card-img-top {
    height: 250px;
    object-fit: cover;
}



.custom-navbar {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    background-color: #07A394;
    border-radius: 6px;
    color: black;
    font-weight: bold;
    padding: 0 20px;
}

.total-display {
    background-color: #07A394;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    color: rgb(0, 0, 0);
    font-size: 18px;
    z-index: 1000;
    border-radius: 6px;

}

.google-btn {
    background-color: #DB4437;
}

.facebook-btn {
    background-color: #3b5998;
}

.header-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-logo {
    flex: 0 1 auto;
    max-height: 60px;
}

.header-banner .left-section,
.header-banner .right-section {
    display: flex;
    align-items: center;
}

.header-banner .left-section {
    justify-content: flex-start;
}

.header-banner .right-section {
    justify-content: flex-end;
}

.dropdown-submenu {
    display: flex;
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -6px;
}

.multiple-items div {
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.caroussel_item {
    margin-right: 20px;
}

.multiple-items img {
    width: 100%;
    border-radius: 8px;
}

.slick-slide {
    transition: transform 0.3s ease-in-out;
}



.discounted p {
    color: red;
}

.welcome-message {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
}

.welcome-message h2 {
    margin-bottom: 15px;
}

.welcome-message p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.welcome-message a {
    color: #007bff;
    font-weight: bold;
}

.no-discount-message-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.no-discount-message {
    text-align: center;
}

.no-discount-message a {
    text-decoration: underline;
    text-align: center;
}

.carousel-heading {
    text-align: center;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-heading {
    font-size: 2.5rem;
    color: #0056b3;
    margin-bottom: 2rem;
}

.no-discount-message a {
    color: #007bff;
    text-decoration: underline;
    font-weight: bold;
}


.rte {
    display: flex;
    flex-direction: column;
    max-width: 95%;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-details,
.terms,
.contract-info,
.return-policy,
.responsibilities,
.payment,
.delivery {
    padding: 10px 20px;
    border-bottom: 1px solid #ccc;
}







.badge[data-toggle="tooltip"] {
    cursor: help;
}

.floating-button {
    display: none;
    position: fixed;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    z-index: 1000;
}



#accessCodeDisplay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    border: 1px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}




.shopping-cart,
.product-scanner {
    width: 100%;
    border: 1px solid #ccc;
    padding: 20px;
    box-sizing: border-box;
}

.shopping-cart {
    margin-bottom: 20px;

}

.product-scanner {
    margin-top: 20px;
}

#interactive>video {
    width: 100%;
    height: 100%;
}

#interactive>canvas.drawing,
canvas.drawingBuffer {
    position: absolute;
    left: 0;
    top: 0;
}


.cart-item {
    width: 100%;
    max-width: 100%;
    display: block;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.product-image {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.product-details {
    padding-top: 10px;
}

.quantity-field {
    width: 60px;
    margin-right: 10px;
}

.shopping-container {
    display: flex;
    flex-direction: column;
    min-height: 55vh;
    align-items: center;
}

#totalPrice {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #d35400;
    margin-top: 20px;
    padding: 10px 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-cart-message p {
    font-style: italic;
    color: #07A394;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.table {
    margin-top: 20px;
    margin-bottom: 20px;
}

.total-price {
    font-size: 20px;
    margin-top: 20px;
    text-align: right;
}

.actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}



#qrCodeDisplayStore {
    text-align: center;
    margin-bottom: 20px;
}

#qrCodeDisplayStore>img {
    max-width: 80%;
}

#accessCodeDisplayStore {
    margin-bottom: 20px;
    max-width: 300px;

}

.price {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 10px;
}

.price-new {
    color: red;
}

.price-old {
    text-decoration: line-through;
    color: grey;
}

.price-excl-tax {
    font-size: 0.8em;
    color: grey;
}

.discount {
    color: green;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.price-details,
.tax {
    font-size: 1em;
    color: #555;
    margin-bottom: 5px;
}

p {
    text-align: justify;
    text-justify: inter-word;
}

.multiple-items.all-products a {
    color: inherit;
    text-decoration: none;
}

.multiple-items.all-products a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.multiple-items.discounted-products a {
    color: inherit;
    text-decoration: none;
}

.multiple-items.discounted-products a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.contact-info h2,
.branch h4 {
    color: #004aad;
    margin-top: 20px;
}

.branch {
    background-color: #f8f9fa;
    padding: 15px;
    margin-top: 10px;
    border-left: 5px solid #004aad;
}

.branch p {
    margin: 5px 0;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
    position: relative;
}

.quantity-button {
    width: 50px;
    height: 50px;
    font-size: 24px;
}

.quantity-display {
    width: 80px;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
}


.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #07A394;
    border-radius: 6px;
    padding: 40px 20px;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #07A394;
    border-radius: 6px;
    padding: 40px 20px;
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.footer .row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer .col-md-3 {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .col-md-3:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer .col-md-3:nth-child(2) .btn {
    margin: 5px;
    display: inline-block;
}

.footer .col-md-3:first-child a {
    color: #FFFFFF;
    text-decoration: none;
}

.footer .col-md-3:first-child ul {
    list-style: none;
    padding: 0;
}

.footer .col-md-3:first-child ul li {
    margin: 0;
    text-align: center;
}

.footer .col-md-3:first-child a:hover {
    color: #FFD700;
}

.footer .payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 20px;
    width: 100%;
}

.footer .payment-icons img {
    flex: 0 0 auto;
    height: 40px;
    margin: 0 10px;
}





#cartItemModal .modal-content {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#cartItemModal .modal-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #333;
}

#cartItemModal #productNameCartItem {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    color: #555;
    margin-bottom: 10px;
}

#cartItemModal #productPriceCartItem {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 10px;
}

#cartItemModal #productUnitCartItem {
    font-size: 1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 10px;
}

#cartItemModal #productDescriptionCartItem {
    font-size: 1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.4;
}

#cookieBanner {
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    max-width: 95%;

}

.custom-card {
    min-width: 95%;
    display: none;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
    background-color: #07A394;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.custom-card:hover {
    background-color: #056f68;
}

.custom-card .card-title {
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
    color: white;
    font-weight: bold;
}

.custom-card .card-title i {
    margin-right: 8px;
    font-size: 2rem;
}

#scanButton {
    display: none;
}

.table-wrapper {
    overflow-x: auto;
    max-height: 600px;
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrapper th,
.table-wrapper td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.table-wrapper th {
    background-color: #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 1;
}
.return-box {
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.return-box-body {
    padding: 20px;
}

.return-header {
    margin-bottom: 15px;
}

.return-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.return-content {
    font-size: 1rem;
}

.return-content p {
    margin-bottom: 1rem;
}

.return-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


@media (max-width: 768px) {
    .no-discount-message {
        font-size: 1rem;
    }

    .product-card {
        width: 100%;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .row {
        flex-direction: column;
        align-items: center;
    }

    .footer .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer .col-md-3:nth-child(2) .btn {
        display: block;
        margin: 10px auto;
    }

    .footer .payment-icons {
        flex-direction: column;
        margin-top: 20px;
    }

    .footer .payment-icons img {
        flex: 0 0 auto;
        max-height: 30px;
        margin: 0 10px;
    }

    .floating-button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 50px;
    }

    #scanButton {
        display: flex;
    }

    .fixed-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 15px;
        background-color: white;
        border-top: 1px solid #ddd;
        position: sticky;
        bottom: 0;
        box-sizing: border-box;
    }
}