img {
    max-width:100%;
}

.new-popup {
    width: 100%;
    float: left;
    position: fixed;
    bottom: 0;
    float: left;
    flex-wrap: wrap;
    top: 0;
    left: 0;
    background: #66666685;
    z-index: 999;
}

.new-popup .new-section {
    width: 40%;
    float: left;
    background: #ffffff;
    position: fixed;
    left: 31%;
    top: 16%;
    padding: 20px;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 620px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
}

.new-section .arrow-icon-style {
    margin-left: 0 !important;
}

.boxProdRes1 {
    display: flex;
    flex-direction: column;
    flex: 0.6;
    align-items: center;
}

.boxProdRes2 {
    width: auto;
    float: right;
}

.boxProdRes2 button {
    float: right;
}

.credit-card {
    width: 30px;
    height: 30px;
    float: left;
    background-color: rgb(255, 248, 236);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    padding: 20px 10px 10px 10px;
}

.div-info-tag {
    width: 40px;
    height: 40px;
    margin-right: 16px;
}

.fa-angle-right {
    color: #28a745;
    font-size: 20px;
}

.info-icon {
    width: 70px;
    height: 70px;
    margin-left: -10px;
}

.svgInfoPanel {
    width: 100%;
    height: 100%;
    color: black;
}

.div-padding-top {
    padding-top: 20px;
}

.p-color-var {
    color: var(--bs-heading-color) !important
}

.m-top {
    margin-top: 28px;
}

.div-style-tag {
    border-radius: 8px;
    padding: 5px 10px;
    width: fit-content;
}

.span-style-tag {
    margin-left: 15px;
    font-style: italic;
}

.a-tag-width {
    height: 44px !important
}

.anchor-btn {
    width: 100%;
    min-width: 120px;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s ease;
}

.div-btn-tag {
    width: 100%;
    max-width: 400px;
    padding: 0 15px;
}

.anchor-btn:hover {
    opacity: 0.8;
}

.store-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.store-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ccc;
    cursor: pointer;
}

.store-circle.active {
    border-color: #000;
}

.product-card {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
}

/*.product-card:before {
    content: "";
    position: absolute;
    width: 45px;
    height: 32px;
    background-image: url(../images/coma1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    left: -40px;
    top: -10%;
}
    .product-card:after {
        content: "";
        position: absolute;
        width: 45px;
        height: 32px;
        background-image: url(../images/coma1.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center center;
        left: -40px;
        top: -10%;
    }*/
.product-card .img-box {
    width: auto;
    float: left;
}

.product-card .img-box img {
    width: 100px;
}

.product-card .products-list {
    width: 84%;
    float: left;
    padding-left: 20px;
}

.product-card .products-list h4 {
    font-size: 18px;
    color: #666666;
    font-weight: 600;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.bottom-bar .btn {
    border-radius: 30px;
    padding: 5px 20px;
}

.main-list {
    width: auto;
}

.discount {
    width: 12%;
    background-color: #bee7ce;
    color: #2e7d32;
    padding: 2px 15px;
    font-size: 0.8rem;
    border-radius: 20px;
}

.variants {
    font-size: 0.9rem;
    color: #555;
}

.rating-stars {
    color: #f0ad4e;
    font-size: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
}

.search-item-box {
    display: flex;
}

.wSearch .category-box h3 {
    font-size: 18px;
    line-height: 20px;
}

.wSearch .category-box .boxs-wrap {
    padding: 8px 0;
}

.section2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px 0;
}

.section2 h4 {
    font-size: 16px;
}

.section3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid #cccccc47;
}

.section3 h2 {
    font-size: 14px;
}

.section4 {
    width: 100%;
    float: left;
    padding: 20px 0;
    border-bottom: 1px solid #cccccc47;
}

.section4 h6 {
    padding-bottom: 20px;
}

.section5 button {
    width: 100%;
    float: left;
    background-color: #28a745 !important;
    border-radius: 5px;
    color: #ffffff;
    font-size: 15px !important;
    padding: 20px 0;
}

.section4 .price-box {
    width: 100%;
    float: left;
    display: flex;
}

.section4 .price-box h4 {
    width: 50%;
    float: left;
    color: red;
    text-align: center;
}

.section2 h5 {
    color: black;
}

.inner-boxes h4 {
    font-size: 15px;
}

.green-bar {
    width: 100%;
    float: left;
    display: flex;
    align-items: center;
}

.green-bar .box1 {
    width: 4%;
    height: 25px;
    float: left;
    background-color: #13911e;
    border-radius: 100%;
}

.green-bar .box2 {
    width: 98%;
    height: 5px;
    float: left;
    background-color: #13911e;
}

.boxs-wrap {
    width: 100%;
    float: left;
    padding: 11px 0;
    border-bottom: 1px solid #cccccc40;
}
    .boxs-wrap:last-child {
        border-bottom: none;
    }

.new-left {
    border: 3px solid #2cdf6a;
    border-radius: 60%;
}

.list-icons i {
    font-size: 16px;
    margin: 0 2px;
}

.product-box {
    width: 100%;
    float: left;
    background-color: #ebe2d854;
    margin-top: 20px;
}

.product-box ul li {
    width: calc(100% - 40px);
    float: left;
    margin: 0;
}

.product-box ul li .new-one {
    width: 100%;
    float: left;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding: 20px;
    color: #000000;
    border-radius: 20px;
    margin: 15px 20px;
}

.product-new-box ul.new-ul {
    width: 100%;
    float: left;
    display: flex;
    flex-wrap: wrap;
}

.new-box-wrap .neww {
    width: auto;
    display: flex;
    align-items: center;
}

.new-box-wrap .neww h4 {
    margin-bottom: 0 !important;
}

.footer {
    position: fixed;
    left: 0;
    bottom: -2px;
    width: 100%;
    background-color: #ffffff;
    padding: 0;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

.footer-bar li {
    width: 20%;
    float: left;
    padding: 20px 0;
}

.product-new-box ul.new-ul li.new {
    width: calc(33.33% - 40px) !important;
    float: left;
    margin: 10px 20px;
}

.product-new-box .img-box,
.product-new-box .text-box {
    width: 100% !important;
}

.product-new-box ul li .new-one h4 {
    padding: 10px 0 5px 0;
    font-size: 15px;
}

.fa-arrow-right {
    padding-left: 6px;
}

.product-new-box ul li .new-one {
    width: 100%;
    float: left;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    padding: 20px;
    color: #000000;
    border-radius: 20px;
    margin: 0;
}

.product-new-box .img-box {
    text-align: center;
}

.top-box {
    width: 100%;
    float: left;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.top-box h4 {
    width: 100%;
    margin-bottom: 0;
}

.list-icons {
    width: 100%;
    float: right;
}

.list-icons ul {
    display: flex;
    justify-content: end;
}

.list-icons ul li {
    width: auto;
    float: left;
    display: flex;
    padding: 6px;
}

.new-text-box {
    width: 100% !important;
    padding-left: 0 !important;
}

.contPadding .card-style {
    margin: 0 !important;
}

.header-logo-center .header-title {
    width: 100% !important;
    left: 0 !important;
    margin-left: 0 !important;
    font-size: 18px !important;
}

.product-box .img-box {
    width: 30%;
    float: left;
}

.product-new-box .img-box {
    margin-top: -50px;
}

.product-box .text-box {
    width: 70%;
    float: left;
}

.product-box .text-box ul li {
    width: 100%;
    float: left;
    border: 1px solid #000000;
    border-top: none;
}

.product-box .text-box ul li:first-child {
    border-top: 1px solid #000000;
}

.product-box .text-box ul li .left-box {
    width: 70%;
    float: left;
    padding: 10px 5px;
    border-right: 1px solid #000000;
}


.product-box .text-box ul .new-box .right-box {
    width: 30%;
    float: left;
    padding: 10px 5px;
}

.product-box .text-box .inner-box {
    width: 100%;
    float: left;
}

.category-box {
    width: auto;
    float: left;
}

.table-box {
    width: 60%;
    float: left;
}

.heart-box {
    width: 100%;
    float: right;
    display: flex;
    justify-content: right;
}

.arrow-box {
    width: auto;
    display: flex;
}

.align-arrow-icon a {
    float: left;
}

/*.fa-home,
.fa-search,
.bi-heart,
.fa-shopping-cart,
.fa-user-alt {
    font-size: 20px;
    color: #000000;
}*/

.heart-box .fa-heart {
    color: #ebe2d89e;
    font-size: 30px;
}

.footer-line {
    width: 100%;
    float: left;
    padding: 20px 0;
    background-color: #ffffff;
    border-top: 1px solid #cccccc;
}

.footer-line ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.footer-line ul li {
    width: 20%;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-line ul li i {
    font-size: 30px;
}

.fa-file,
.fa-filter {
    font-size: 50px !important;
    color: rgb(255, 169, 16);
}

.bootom-line {
    width: 100%;
    float: left;
    background-color: #28a74563 !important;
    color: #000000;
    display: flex;
}

.bootom-line .boxes {
    width: 50%;
    float: left;
    border-right: 6px solid #ffffff;
    display: flex;
    align-items: center;
}

.bootom-line .boxes.box1 {
    border-right: unset;
    border-left: 6px solid #ffffff;
}

.product-box .img-box img {
    max-width: 130px;
}

.bootom-line .boxes .box-wrap {
    width: 100%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
}

.bottom-line .boxes .box-wrap .right {
    padding-left: 15px;
}

.product-new-box ul.new-ul .bootom-line .boxes .right {
    padding-left: 20px;
}

.star-full,
.star-half-mask {
    font-size: 20px;
}

.tab-controls a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.boxs-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media only screen and (min-width: 480px) and (max-width: 1120px) {
    .table-box {
        width: 100%;
    }

    .product-new-box ul.new-ul li.new {
        width: calc(50% - 40px) !important;
        margin: 10px 20px;
    }
}

@media (max-width:767px) {
    .new-popup .new-section {
        width: 60% !important;
        left: 22% !important;
        top: 11% !important;
    }

    .green-bar .box1 {
        width: 5% !important;
    }
}

@media (max-width:479px) {
    .category-box h4 {
        font-size: 16px;
    }

    .top-box h4 {
        font-size: 15px;
    }

    .wSearch .category-box .fa-angle-right {
        font-size: 16px;
        padding: 8px;
        height: 100%;
    }
    .wSearch .search-details{
        max-height: calc(100vh - 36vh);
        overflow: auto;
    }

    .category-box h6 {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 0;
    }

    .category-box img {
        max-height: 40px !important;
        max-width: 30px !important;
    }

    .table> :not(caption)>*>* {
        font-size: 12px;
    }

    .bootom-line .right {
        padding-left: 10px;
    }

    .bootom-line .boxes .box-wrap {
        padding: 6px 10px !important;
    }

    .bottom-box {
        padding: 10px !important;
    }

    .new-popup .new-section {
        width: calc(100% - 40px) !important;
        margin: 0 20px;
        left: 0 !important;
        top: 1% !important;
        max-height: 83% !important;
    }

    .product-box .text-box {
        padding-left: 20px;
    }

    .table-box {
        width: 100%;
    }

    .product-new-box ul.new-ul li.new {
        width: calc(100% - 40px) !important;
    }

    .fa-file,
    .fa-filter {
        font-size: 30px !important;
    }

    .product-new-box ul li {
        width: calc(100% - 40px) !important;
    }

    .product-box .text-box .table-box ul li .new-box .left-box {
        width: 70% !important;
    }

    .footer-line ul li i {
        font-size: 25px !important;
    }

    .search-item-box p {
        text-align: left !important;
    }

/*    .device-is-ios .page-content {
        padding: 0;
        padding-top: 50px !important;
    }*/

    .fa-close {
        font-size: 16px;
        padding-right: 25px;
        margin-left: -80px;
    }

    .fa-qrcode,
    fa-arrow-left {
        font-size: 16px;
    }

    .product-box .text-box .table-box ul li .new-box .right-box,
    .product-box .text-box .table-box ul li .new-box .left-box {
        padding: 2px 5px;
    }

    .product-box .img-box img {
        max-width: 70px;
    }

    .wSearch .category-box h4 {
        font-size: 14px;
        line-height: 16px !important;
        margin-bottom: 0 !important;
    }

    .wSearch .category-box p {
        font-size: 12px;
        line-height: 14px;
    }
}

.active-li {
    background-color: #28a745 !important;
    color: white;
    border-radius: 15px;
}

.inactive-li {
    background-color: white;
    color: black;
}

.cursor-pointer {
    cursor: pointer;
}

.bi-cart,
.hearts {
    width: 30px;
    height: 30px;
    color: #000000;
}

.hearts path {
    fill: #000000;
}

/*.cursor-pointer svg path{
   fill: #000000;
}*/
.i-input-style {
    font-size: 16px;
    margin-right: -30px;
    color: #666666;
    margin-left: 10px;
    z-index: 99;
    cursor: pointer;
}

.p-components {
    color: #000000;
    font-size: 16px;
    font-weight: 600;
}

.footer-bar img {
    max-width: 20px;
}

.bottom-box {
    border-radius: 10px;
    overflow: hidden;
    border: none;
    margin-bottom: 65px;
}

.i-icon-style {
    color: #28a745 !important;
    font-size: 16px;
}

.div-input-style {
    margin-top: 10px;
    width: 100%;
}

.input-style-width {
    width: 100%;
}

.arrow-icon-style {
    font-size: 16px;
    margin-right: -30px;
    color: #28a745 !important;
    margin-left: 10px;
    z-index: 99
}

.input-style.has-borders input.search-textbox-style {
    padding-left: 43px !important;
    border-radius: 40px !important;
    border-color: #00000061 !important;
}

/*.card-style {
    padding: 20px;
}*/

.boxTxtProd {
    padding-left: 20px;
}

/*css form range slider*/
.range-slider {
    position: relative;
    width: 80%;
    margin: 30px auto;
}

.range-slider input[type=range] {
    position: absolute;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
}

.validation-overlay.d-none.d-sm-block {
    color: rgba(255, 206, 84, 0.8);
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
    pointer-events: none;
    /* Allows clicking through the overlay */
    z-index: 0;
    white-space: nowrap;
    background: rgb(0 0 0 / 5%);
    letter-spacing: -2px;
    position: relative;
    right: 40px;
}

.validation-overlay.d-block.d-sm-none {
    color: rgba(255, 206, 84, 0.8);
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.1;
    text-align: center;
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
    background: rgb(0 0 0 / 5%);
    letter-spacing: -1px;
}

@media (max-width: 1199.98px) {
    .hide-on-mobile-ipad {
        display: none !important;
    }

    .show-on-mobile-ipad {
        display: block !important;
    }
}

.align-left {
    position: relative;
    right: 15px;
}

.card {
    overflow: hidden;
    /* Ensures the overlay stays within the card */
}

.range-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 17px;
    height: 17px;
    background: #28a745 !important;
    border-radius: 50%;
    border: 2px #28a745 !important;
    -webkit-appearance: none;
    margin-top: -19px;
}

.range-slider input[type=range]::-moz-range-thumb {
    pointer-events: all;
    width: 17px;
    height: 17px;
    background: #28a745 !important;
    border-radius: 50%;
    border: 2px #28a745 !important;
    margin-top: -19px;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 8px;
    background: lightgray;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
}

.slider-range {
    position: absolute;
    height: 8px;
    background: #28a745 !important;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
}

.thumb-value {
    position: absolute;
    top: -30px;
    background: white;
    color: black;
    padding: 2px 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    transform: translateX(-50%);
}

/* .align-arrow-icon {
    position: relative;
    left: 3px;
} */

.custom-btn {
    color: white;
    border-radius: 5px;
    padding: 5px 20px;
    font-size: 16px;
    font-weight: normal;
}

.scanner-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: #000;
}

.scanner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scanner-frame {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 250px;
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.scanner-overlay.hidden,
.scanner-frame.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.scanner-frame::before {
    /*content: '';*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #28a745;
    border-radius: 16px;
    box-shadow: 0 0 0 3px #28a745;
}

.scanner-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, #28a745, transparent);
    box-shadow: 0 0 12px 3px rgba(150, 122, 220, 0.5);
    animation: scanning 2s linear infinite;
}

.corner-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #28a745;
    border-width: 4px;
    border-style: solid;
}

.corner-top-left {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 12px;
}

.corner-top-right {
    top: -4px;
    right: -4px;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 12px;
}

.corner-bottom-left {
    bottom: -4px;
    left: -4px;
    border-right: none;
    border-top: none;
    border-bottom-left-radius: 12px;
}

.corner-bottom-right {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 12px;
}

@keyframes scanning {
    0% {
        top: 0;
        opacity: 0.5;
    }

    50% {
        top: 100%;
        opacity: 1;
    }

    100% {
        top: 0;
        opacity: 0.5;
    }
}

/* Ensure video is properly positioned */
::deep video {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Hide scanner elements when scanning is complete */
.scanner-overlay.hidden,
.scanner-frame.hidden {
    display: none;
}

/* Add a semi-transparent cutout for the scanning area */
.scanner-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 250px;
    background-color: transparent;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}



.camera-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    height: 450px !important;
}

#cameraView {
    position: relative;
    width: 100%;
}

#video {
    width: 100%;
    height: auto;
    display: block;
}

#capturedImage {
    max-width: 100%;
    display: block;
}

.camera-controls,
.cropping-controls {
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

#cropperContainer {
    background: #000;
    max-height: 400px;
    overflow: hidden;
}

.preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-area img {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.input-style.has-borders span.cropper-view-box {
    margin: 0;
    opacity: 1;
    top: 0;
    right: 0;
    position: relative;
    pointer-events: auto;
}

.input-style.has-borders span.cropper-center {
    margin: 0;
    opacity: .75;
    top: 50%;
    right: 0;
    pointer-events: auto;
}

.input-style.has-borders span.cropper-line,
.input-style.has-borders span.cropper-face,
.input-style.has-borders span.cropper-point {
    margin: 0;
    opacity: .1;
    top: 0;
    right: 0;
    pointer-events: auto;
}

.input-style.has-borders span.cropper-face.cropper-invisible {
    opacity: 0;
}

.input-style.has-borders span.cropper-dashed.dashed-v {
    margin: 0;
    font-size: 0;
    opacity: .5;
    top: 0;
    right: 0;
    pointer-events: auto;
}

.input-style.has-borders span.cropper-line.line-e {
    right: -3px;
}

.input-style.has-borders span.cropper-line.line-n {
    top: -3px;
}

.input-style.has-borders span.cropper-point.point-e {
    top: 50%;
    opacity: .75;
    right: -3px;
    margin-top: -3px;
}

.input-style.has-borders span.cropper-point.point-n {
    opacity: .75;
    top: -3px;
    margin-left: -3px;
}

.input-style.has-borders span.cropper-point.point-w {
    top: 50%;
    opacity: .75;
    margin-top: -3px;
}

.input-style.has-borders span.cropper-point.point-s {
    opacity: .75;
    top: auto;
    margin-left: -3px;
}

.input-style.has-borders span.cropper-point.point-ne {
    top: -3px;
    opacity: .75;
    right: -3px;
}

.input-style.has-borders span.cropper-point.point-nw {
    opacity: .75;
    top: -3px;
}

.input-style.has-borders span.cropper-point.point-sw {
    top: auto;
    opacity: .75;
}

.input-style.has-borders span.cropper-point.point-se {
    opacity: 1;
    top: auto;
}

.preview-area img {
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add a semi-transparent cutout for the scanning area */
.scanner-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 250px;
    background-color: transparent;
    border-radius: 16px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
}

#timeout-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    z-index: 10000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.header-icon {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.diet img {
    width: 100%;
    max-width: 100%;
    height: 16px;
}

.product-box .inner-boxes {
    width: 100%;
}

.inner-box .star-box {
    width: auto;
    display: flex;
    justify-content: space-between;
}

#rangeValue {
    position: relative;
    display: block;
    text-align: center;
    font-size: 2em;
    font-weight: 400;
}

.range {
    height: 7px !important;
    -webkit-appearance: none;
    background: #28a745;
    outline: none;
    border-radius: 15px;






}

.range::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: #28a745;
    cursor: pointer;
}

.green-bar.new {
    display: block !important;
}

.green-bar.new input[type=range]::-webkit-slider-thumb {
    pointer-events: all;
    width: 17px;
    height: 17px;
    background: #28a745 !important;
    border-radius: 50%;
    border: 2px #28a745 !important;
    -webkit-appearance: none;
    margin-top: 0;
}

.product-box .star-box .btn-svg {
    transform: translate(3px, -3px);
}

.camera-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    box-sizing: border-box;
}

/* Responsive video element */
.responsive-video {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4; 
    object-fit: cover;
    border-radius: 8px;
    display: block;
}


/* Captured image preview */
.captured-image {
    width: 100%;
    height: auto;
    max-height: 40vh;
    object-fit: contain;
    border-radius: 8px;
    margin-top: 10px;
}

/* Control buttons layout */
.camera-controls,
.cropping-controls-custom {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

/* Utility class to hide elements */
.hidden {
    display: none !important;
}

.controle-panel {
    background-color: antiquewhite;
    height: 40px;
    margin-top: inherit;
    width: -webkit-fill-available;
    border-radius: 8px;
}

.panel-content {
    margin-top: inherit;
    text-align-last: center;
}

.info-toast {
    align-items: center;
    background-color: antiquewhite; /* vibrant purple */
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: sans-serif;
    max-width: 400px;
    margin: 10px auto;
    position: relative;
    width: -webkit-fill-available;
}

.info-icon {
    /*margin-right: 12px;*/
    font-size: 18px;
    padding: 4px;
    margin-top: 6px;
}

.info-message {
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    color: black;
}

.close-btn {
    background: none;
    border: none;
    color: red;
    font-size: 16px;
    cursor: pointer;
    /* padding-left: 28%;*/
    float: right;
}

.dropdown-container {
    position: relative;
    width: 100%;
}

    .dropdown-container .select-dropdown-button {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 6px 12px;
        border: 1px solid #dee2e6;
        border-radius: 0.375rem;
        background-color: #fff;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #374151;
        cursor: pointer;
        transition: background-color 0.15s ease-in-out;
    }

        .dropdown-container .select-dropdown-button:hover {
            background-color: #f9fafb;
        }

        .dropdown-container .select-dropdown-button:focus {
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
            border-color: #dee2e6;
            outline: none;
        }

        .dropdown-container .select-dropdown-button svg {
            margin-left: 0.5rem;
            width: 1.25rem;
            height: 1.25rem;
        }

    .dropdown-container .select-dropdown-content {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin-top: 0.5rem;
        padding: 0.25rem 0;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 0.375rem;
        background-color: #fff;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        visibility: hidden;
        opacity: 0;
        transform: scale(0.95);
        transform-origin: top left;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
        z-index: 10;
        max-height: 250px;
        overflow: auto;
    }

        .dropdown-container .select-dropdown-content.show {
            visibility: visible;
            opacity: 1;
            transform: scale(1);
            transition: opacity 0.2s ease, transform 0.2s ease;
        }

    .dropdown-container .select-option {
        display: block;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #374151;
        text-decoration: none;
        cursor: pointer;
        transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
        padding: 4px 12px;
    }

        .dropdown-container .select-option:hover {
            background-color: #1967d2;
            color: white;
        }

.nutri-slider-container {
    width: 100%;
    position: relative;
    margin: 15px auto;
}

    .nutri-slider-container input[type="range"] {
        width: 100%;
        height: 10px;
        -webkit-appearance: none;
        appearance: none;
        background: #038141;
        border-radius: 20px;
        outline: none;
        position: relative;
        z-index: 2;
        margin: 0;
        transition: background 0.3s;
    }

        .nutri-slider-container input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            cursor: pointer;
            border: 2px solid #333;
            position: relative;
            z-index: 3;
        }

        .nutri-slider-container input[type="range"]::-moz-range-thumb {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: white;
            cursor: pointer;
            border: 2px solid #333;
        }

    /* NutriScore color classes */
    .nutri-slider-container .nutri-1 {
        background: #038141 !important;
    }

    .nutri-slider-container .nutri-2 {
        background: linear-gradient(90deg, #038141 50%, #85BB2F 50%) !important;
    }

    .nutri-slider-container .nutri-3 {
        background: linear-gradient(90deg, #038141 33%, #85BB2F 33% 66%, #FECB02 66%) !important;
    }

    .nutri-slider-container .nutri-4 {
        background: linear-gradient(90deg, #038141 30%, #85BB2F 25% 55%, #FECB02 55% 80%, #EE8100 75%) !important;
    }

    .nutri-slider-container .nutri-5 {
        background: linear-gradient(90deg, #038141 20%, #85BB2F 20% 40%, #FECB02 40% 60%, #EE8100 60% 80%, #E63E11 80%) !important;
    }
    .contPadding-innerBox{
        row-gap:15px;
    }
    .contPadding-innerBox .box-img-focus-green {
        background-color: #E3DAEF;
        display: inline-block;
        padding: 20px;
        border-radius: 10px;
        margin: 8px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .contPadding-innerBox  .card-title {
        font-size: 13px;
        font-weight: 400;
        padding: 8px;
        padding-bottom: 15px;
    }

    .img-style-icon{
        height: 120px;
    }

    .info-text .textWithIcon{
        width: 80%;
        margin: auto;
        text-align: center;
    }
    .page-content-foodscanner  .card{
        overflow: unset;
    }

    .text-with-image-step-four{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        flex-direction: column;
    }

.terms p {
    color: #000;
}


.radio-group {
    display: flex;
    border-radius: 20px;
    overflow: hidden;
    background: #28a745;
    border: solid 1px #28a745;
}

    .radio-group input[type="radio"] {
        display: none;
    }

    .radio-group label {
        padding: 5px 15px;
        color: white;
        cursor: pointer;
        transition: all 0.2s;
        flex: 1;
    }

    .radio-group input[type="radio"]:checked + label {
        background: white;
        color: #28a745;
    }