/**
Karinderia
author bastikikang
email: bastikikang@codemywebapps.com
**/

html,body{
    font-family: "Open Sans","Roboto","sans-serif";
    font-weight: 300;
    margin:0;
    padding:0;
    height:100%;
    font-size:14px;
    color:#474d5d;
}

a {
    outline: 0 !important;
}


ul,li{
    margin:0 ;
    padding:0 ;
}

li{
    list-style:none;
}

.clear{
    clear:both;
}

.left{
    float:left;
}

.right{
    float:right;
}

.header-wrap{
    background:#21B0D1;
    min-height:114px;
    color:#FFFFFF;
    font-size:13px;
    font-family:'Roboto',sans-serif;
}

.main{
    width:964px;
    margin:auto;
}

.section-top{
    margin-top:25px;
}

.section-top i{
    font-size:18px;
    width:20px;
}

.section-top ul{
    padding:0;
}

.section-top a{
    color:#FFFFFF;
}

.section-top a:hover, .footer-wrap a:hover{
    color:#FFFFFF;
    text-decoration:underline;
}

.logo-wrap{
    margin-top:35px;
}

.section-top li{
    padding-bottom:4px;
}

.logo-wrap img{
    max-height:60px;
}

.section-right{
    float:right;
}

#top-menu li, .section-social li{
    float:left;
    margin-right:10px;
}

.section-social{
    float:right;
    margin-top:10px;
}

.section-social i{
    color: #FFFFFF;
    font-size: 25px;
    margin-left: 5px;
    margin-right: 10px;
    margin-top: 4px;
}

.section-social a{
    display:block;
    border:1px solid #FFFFFF;
    width: 30px; height: 30px;  -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px;


    /*-webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out; */
}

.section-social .fa-facebook{
    margin-left:8px;
}

.section-social a:hover i, .section-social a:hover{
    /*opacity:0.5;*/
    text-decoration:none;

    /*-webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg); */
}

.section-social a:hover{
    margin-top:-5px;
}


.section-social .fa-twitter-square{
}

.section-social .fa-google-plus{
}

.sub-header{
    width:100%;
    min-height:40px;
    background:#FFFFFF;
    z-index:500;
}

.uk-active .sub-header{
    border-bottom:1px solid #ccc;

    border-bottom:none;
    border-top:none;

    box-shadow:0 5px 5px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow:0 5px 5px 2px rgba(0, 0, 0, 0.1);
    -moz-box-shadow:0 5px 5px 2px rgba(0, 0, 0, 0.1);

}

.sub-header ul{
    padding:0;
    margin:0;
    margin-left:20px;
}

.sub-header ul li{
    float:left;
    font-size:15px;
}

.sub-header ul li a{
    line-height:40px;
    display:block;
    color:#AAAAAA;
    font-family:'Roboto',sans-serif;
    padding:0px 15px;
    position:relative;
    min-width:200px;
    text-align:center;
}

.line{
    height:4px;
    background:#21B0D1;
    margin-top:-4px;
    display:none;
}

.sub-header ul li a:hover{
    /*text-decoration:none;
    color:#FFFFFF;
    background:#333333;*/
    text-decoration:none;
}

.sub-header ul li.active a{
    /*color:#000000;*/
    color:#21B0D1;
}

.order-steps li a.inactive{
    pointer-events:none;
}

.sub-header ul li.current .line{
    display:block;
}

.banner-wrap{
    min-height:350px;
    background:url("../images/b-1.jpg") repeat-x center center;
    background-size:cover !important;
    background-attachment: fixed;
    position:relative;
}

.bg-fadein{
    opacity: 1.0;
    -webkit-transition: background 1.5s linear;
    -moz-transition: background 1.5s linear;
    -o-transition: background 1.5s linear;
    -ms-transition: background 1.5s linear;
    transition: background 1.5s linear;
}

.search-wrapper{
    width:478px;
    min-height:206px;
    /*margin:auto;
    margin-top:60px;*/
    background:url("../images/bg-transparent.png");
    border:1px solid #606264;
}

.search-wrapper h2{
    color:#FFFFFF;
    text-align:center;
}

.search-wrapper .inner{
    margin:30px 10px;
}

.search-wrap{
    margin:auto;
    width:478px;
    padding-top:60px;
}

.rounded{
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -khtml-border-radius: 2px;
}

.rounded2{
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
}

.search-input-wrap{
    position:relative;
    background:#FFFFFF;
}

.search-input-wrap #s,
#advance-search .search-input-wrap input[type="text"],
.search-input-wrap #zipcode,
.search-input-wrap #address
{
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
    font-size: 20px;
    padding: 8px 20px;
    width: 85%;
}

.search-input-wrap button{
    background: #21B0D1;
    border: none;
    height: 40px;
    position: absolute;
    width: 69px;
}

.search-input-wrap button i{
    color:#fff;
    font-size:20px;
}

.search-wrapper p{
    text-align:center;
    color:#FFFFFF;
}


.browse-wrapper{
    background:#FFFFFF;
    padding-top:20px;
}

.browse-wrapper .main, .footer-wrap .main, .footer-sub .main,
.search-result-wrapper .main,
.page-right-sidebar .main
{
    min-height:80px;
    padding:20px;
}

.footer-sub .main{
    min-height:inherit;
}

ul.list-line li{
    float: left;
    margin-right: 15px;
    width: 30%;
    margin-bottom:8px;
}

ul.list-line li a{
    color:#21B0D1;
    /*text-transform:capitalize;*/
}

ul.list-line li a:hover{
    color:#000;
    text-decoration:none;
}

/* ========== UNIFIED MINIMUM ORDER MESSAGE STYLING ========== */
/* 
 * IMPORTANTE: Este é o estilo ÚNICO e UNIFICADO para mensagens de pedido mínimo
 * Aplica-se a TODOS os layouts: menu.php, payment-option.php, mobile-cart.php
 * Evita fragmentação de CSS e garante consistência visual
 * Todos os estilos duplicados foram removidos dos outros arquivos CSS
 */
/* Base styling for all minimum order messages - unified across all layouts */
.minimum-order-message,
.delivery-min,
.pickup-min,
.dinein-min {
    background: transparent !important;
    border-radius: 8px !important;
    padding: 12px 15px !important;
    margin: 5px 0 !important;
    /* box-shadow: 0 2px 20px var(--layout3-accent-color) !important; */
    border: .5px solid var(--layout3-primary-color) !important;
    /* animation: pulse-warning 2s ease-in-out infinite !important; */
    transition: all 0.3s ease !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 999 !important;
}

/* Content styling - unified for all layouts */
.minimum-order-content,
.delivery-min p,
.pickup-min p,
.dinein-min p {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: black !important;
    text-align: center !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Icon styling - unified */
.minimum-order-content i,
.delivery-min i,
.pickup-min i,
.dinein-min i {
    font-size: 16px !important;
    margin-right: 8px !important;
    color: black !important;
}

.delivery-min i::before {
    content: "🏍️" !important;
    margin-bottom: 22px !important;
}

/* Text styling - unified */
.minimum-text,
.delivery-min .minimum-text,
.pickup-min .minimum-text,
.dinein-min .minimum-text {
    margin-right: 6px !important;
    font-size: 14px !important;
}

/* Amount styling - unified */
.minimum-amount,
.delivery-min .minimum-amount,
.pickup-min .minimum-amount,
.dinein-min .minimum-amount {
    font-size: 16px !important;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Hover effect - unified */
.minimum-order-message:hover,
.delivery-min:hover,
.pickup-min:hover,
.dinein-min:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3) !important;
    transform: translateY(-1px) scale(1.02) !important;
}

/* Animation keyframes */
@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
        transform: scale(1.02);
    }
}

/* Mobile responsiveness - unified */
@media (max-width: 768px) {
    .minimum-order-message,
    .delivery-min,
    .pickup-min,
    .dinein-min {
        margin: 8px 0 !important;
        padding: 10px 12px !important;
    }
    
    .minimum-order-content,
    .delivery-min p,
    .pickup-min p,
    .dinein-min p {
        font-size: 13px !important;
    }
    
    .minimum-amount,
    .delivery-min .minimum-amount,
    .pickup-min .minimum-amount,
    .dinein-min .minimum-amount {
        font-size: 15px !important;
    }
}

  .footer-wrap{
      background:#333333;
      color:#FFFFFF;
      font-size:12px;
}

.footer-wrap ul{
    margin:0;
    padding:0;
}

.footer-wrap a{
    color:#FFFFFF;
}

.footer-soocial{
    padding-left:0px;
}

.footer-soocial ul{
    padding-left:0px;
}

.footer-soocial li{
    float:left;
    margin-right:8px;
}

.footer-soocial li a{
    color:#FFFFFF;
    font-size:20px;

    display:block;
    border:1px solid #FFFFFF;
    width: 25px; height: 25px;  -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px;

    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;


}

.footer-soocial li a i{
    margin-left: 6px;
    margin-top: 3px;
}
.footer-soocial li a:hover{
    text-decoration:none;
    opacity:0.5;

    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);

}

.footer-sub{
    background:#222222;
    color:#FFFFFF;
}

.footer-sub p{
    margin:0;
    padding:0;
}

.back-top{
    border: 1px solid #606264;
    bottom: 50px;
    display: block;
    height: 40px;
    margin-right: 70px;
    position: fixed;
    right: 0;
    width: 40px;
    background:url("../images/bg-transparent.png");
    z-index:500;
    display:none;

    -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px;
}

.to-top{
    background:url("../images/top-scroller.png") no-repeat 0px 0px;
    width:34px;
    height:34px;
    display:block;
    position:absolute;
    top:4px;
    left:3px;
}

.to-top:hover{
    background:url("../images/top-scroller.png") no-repeat 0px -40px;
}

.back-top i{
    color:#FFFFFF;
    font-size:20px;
    margin:10px;
}

.browse-wrapper ul{
    border-bottom:1px solid #444444;
}

.preloader{
    display:block;
    position:fixed;
    z-index:9999;
    top:0;
    right:0;
    height:64px;
    width:64px;
    border:1px solid #EEEEEE;
    background:url("../images/Preloader_2.gif") no-repeat;
}

/*.help-block.form-error{
bottom: -25px;
right:-10px;
position: absolute;
z-index:100;
border:1px solid #D85030;
padding:5px 8px;
background:#D85030;
font-size:12px;
color:#fff;
}
.help-block.form-error:after{
bottom: 100%;
left: 50%; border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(71, 77, 93, 0);
border-bottom-color: #D85030; border-width: 9px; margin-left: -9px;
}
*/



.search-result-wrapper .main, .page-right-sidebar .main,
.page .main{
    background:#FFFFFF;
    margin-top:15px;
    margin-bottom:15px;
    padding-bottom:50px;
}

.page .main{
    min-height: 80px;
    padding: 20px;
}


.search-result-wrapper #table_list p, .restaurant-wrap p, .restaurant-wrap h5,
.rating-wrapper p
{
    margin:0;
    padding:0;
}

.search-result-wrapper #table_list h5{
    padding:0;
    margin:0;
}

.search-result-wrapper #table_list h5 a, .restaurant-wrap h5,
#restaurant-mini-list h5 a
{
    /*text-transform:capitalize;*/
    color:#CB202D;
    font-weight:600;
}

.grid  .grid-1, .grid  .grid-2{
}

.grid .grid-1, .page-right-sidebar .grid .grid-2{
    width:35%;
}

.grid  .grid-2, .page-right-sidebar .grid .grid-1{
    /*width:70%;*/
    width:60%;
    margin-right:12px;
}

.search-box-wrap{
    border:1px solid #ccc;
    margin:2px 10px;
    background:#eee;
    padding:8px;
    margin-bottom:20px;
}

.search-box-wrap h4{
    /*border-bottom:1px solid #ccc;
    padding-bottom:5px;*/
    margin:0;
}

.search-box-wrap a{
    display:block;
    border-bottom:1px solid #ccc;
    padding:5px 0px ;
}

.search-box-wrap a .right{
    padding-right:10px;
}

.search-box-wrap a i{
    color:#ccc;
    font-size:20px;
}

.text-field-wrap input[type="text"]{
    border:none;
    padding:5px 8px;
    background:none;
    width:80%;
}

.text-field-wrap{
    background:#fff;
    border:1px solid #ccc;
    position:relative;
}

.text-field-wrap button{
    background: #21B0D1;
    border: medium none;
    position: absolute;
    height:26px;
    width:50px;
    right:0;
}

.text-field-wrap button i{
    color:#FFFFFF;
    font-size:15px;
}

.dataTables_info{
    float:left;
}

.dataTables_paginate{
    float:right;
}

.dataTables_paginate a{
    border:1px solid #ccc;
    padding:4px 13px;
    background:#FFFFFF;
    margin-right:3px;
    color:#2D2D2A;
}

.dataTables_paginate a:hover{
    color:#CB202D;
    text-decoration:none;
}

.dataTables_paginate a.paginate_disabled_previous, .dataTables_paginate a.paginate_disabled_next{
    opacity:0.3;
}

.dataTables_paginate a.paginate_disabled_previous:hover, .dataTables_paginate a.paginate_disabled_next:hover{
    color:#2D2D2A;
    cursor:auto;
}

#table_list img, .restaurant-wrap img{
    max-width:90px;
    max-height:90px;
}

.restaurant-wrap img{
    max-width:100px;
    max-height:100px;
}

.rate-wrap h6{
    background:#3F7E00;
    color: #FFFFFF;
    display: block;
    font-size: 16px;
    margin: 0;
    padding: 6px 9px;
    text-align: center;
    width: 30px;
}

.rate-wrap span{
    text-transform:uppercase;
    color:#8D8D85;
    font-size: 10px;
}

.opening-hours-wrap{
    position:relative;
    font-size:13px;
}

.opening-hours-wrap ul{
    margin:15px 0;
    padding:0;
    background:#222222;
    color:#C2C2C2;
    padding:8px 12px;
    font-size:13px;
    position:absolute;
    width:350px;
    display:none;
}

.opening-hours-wrap ul i{
    color: #222222;
    font-size: 25px;
    position: absolute;
    top: -15px;
}

/*.opening-hours-wrap ul li span, .opening-hours-wrap ul li value{
display:block;
float:left;
}
.opening-hours-wrap ul li span{
width:120px;
}*/

.opening-hours-wrap ul li{
    display:table;
}
.opening-hours-wrap ul li span,
.opening-hours-wrap ul li value
{
    display:table-cell;
    min-width:100px;
}

.opening-hours-wrap:hover ul{
    display:block;
}

.restaurant-wrap, .rating-wrapper{
    margin-bottom:15px;
}

.btn-flat-grey{
    background-color: #F4F4F2;
    color: #4A4A47;
    display: block;
    height: 41px;
    line-height: 43px;
    margin-right: 3px;
    text-indent: 4px;
    transition: background-color 0.15s ease-out 0s;
    text-transform:uppercase;
    text-align:left;
    /*width:190px;*/
    text-indent:20px;
    font-weight:bold;
}

.btn-flat-grey i{
    font-size:18px;
}

.btn-flat-grey:hover{
    background:#CBCBC8;
    text-decoration:none;
    color: #4A4A47;
}

/************************* BAR RATING *****************************/
.br-widget a span{
    background: #9A9A93;
    color: #FFFFFF;
    display: inline-block;
    height: 20px;
    margin-right: 2px;
    padding: 4px 6px;
    width: 15px;
    moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -khtml-border-radius: 3px;
}

.rating-wrapper p{
    font-size:12px;
    text-transform:uppercase;
    font-size:11px;
}

.br-current-rating{
    font-size:12px;
    font-weight:bold;
    text-indent:240px;
    height:20px;
}

/*.br-widget a.br-active span, .br-widget a.br-selected span{
background:#5BA829;
}*/

.br-widget a.level-1.br-active span, .br-widget a.level-1.br-selected span{
    background:#CB202D;
}

.br-widget a.level-2.br-active span, .br-widget a.level-2.br-selected span{
    background:#DE1D0F;
}

.br-widget a.level-3.br-active span, .br-widget a.level-3.br-selected span{
    background:#FF7800;
}

.br-widget a.level-4.br-active span, .br-widget a.level-4.br-selected span{
    background:#FFBA00;
}

.br-widget a.level-5.br-active span, .br-widget a.level-5.br-selected span{
    background:#EDD614;
}

.br-widget a.level-6.br-active span, .br-widget a.level-6.br-selected span{
    background:#9ACD32;
}

.br-widget a.level-7.br-active span, .br-widget a.level-7.br-selected span{
    background:#5BA829;
}

.br-widget a.level-8.br-active span, .br-widget a.level-8.br-selected span{
    background:#3F7E00;
}

.br-widget a.level-9.br-active span, .br-widget a.level-9.br-selected span{
    background:#305D02;
}

.br-widget a.level-1.br-active span{
    background:#CB202D;
}

.menu{
}

.menu .menu-category{
    display:block;
    background:#3399FF;
    color:#FFFFFF;
    text-decoration:none;
    padding:8px;
    position:relative;
    border-bottom:1px solid #fff;
    /*text-transform:capitalize;*/
}

.menu .menu-category i{
    position:absolute;
    right:20px;
}

.menu ul{
    margin:0;
    padding:0;
    margin-top:10px;
    margin-bottom:10px;
}

.menu ul li{
    margin:0;
    padding:0;
    float:left;
    width:49%;
}

.menu ul li .proce-wrap{
    text-indent:60px;
}

/* Modern Product Modal - Force Override */
.view-item-wrap{
    width: 650px !important;
    min-height: 400px !important;
    padding: 0 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-family: 'PT Sans', sans-serif !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    position: relative !important;
}

.view-item-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e53e3e 0%, var(--layout3-primary-color) 100%);
    z-index: 1;
}

.view-item-wrap p,.view-item-wrap h1{
    margin:0 !important;
}

.view-item-wrap h1{
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #2c3e50 !important;
    margin: 0 0 15px 0 !important;
    padding: 30px 30px 0 30px !important;
    line-height: 1.3 !important;
    position: relative !important;
    z-index: 2 !important;
}

.view-item-wrap .section h3{
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    color: #e53e3e !important;
    margin: 20px 30px 15px 30px !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border-left: 4px solid #e53e3e !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Option Items - Clean card design like image */
.fancybox-inner .view-item-wrap .section li,
div.view-item-wrap .section li,
body .view-item-wrap .section li {
    float: none !important;
    margin: 0 24px 8px 24px !important;
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: none !important;
    text-transform: none !important;
    cursor: pointer !important;
}

/* Option Items Hover - Subtle like image */
.fancybox-inner .view-item-wrap .section li:hover,
div.view-item-wrap .section li:hover,
body .view-item-wrap .section li:hover {
    border-color: #d0d0d0 !important;
    background: #fafafa !important;
    transform: none !important;
    box-shadow: none !important;
}

.view-item-wrap .section.section-addon li{
    float: none;
    margin: 0 30px 12px 30px;
}

/* Option Text Styling - Clean like image */
.fancybox-inner .view-item-wrap .section li span,
div.view-item-wrap .section li span,
body .view-item-wrap .section li span {
    display: block !important;
    float: none !important;
    padding: 0 !important;
    font-weight: 400 !important;
}

.fancybox-inner .view-item-wrap .section li span.size,
div.view-item-wrap .section li span.size,
body .view-item-wrap .section li span.size {
    font-size: 16px !important;
    color: #333333 !important;
    flex: 1 !important;
    text-transform: none !important;
    min-height: auto !important;
    font-weight: 500 !important;
}

.fancybox-inner .view-item-wrap .section li span.price,
div.view-item-wrap .section li span.price,
body .view-item-wrap .section li span.price {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-width: auto !important;
    text-align: right !important;
    text-transform: none !important;
    min-height: auto !important;
}


.quantity-wrap{
}

.quantity-wrap input[type="text"]{
    text-align:center;
}

/* Modern Quantity Controls */
/* Quantity Controls - Clean design like image */
.fancybox-inner .view-item-wrap .quantity-wrap,
div.view-item-wrap .quantity-wrap,
body .view-item-wrap .quantity-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 20px 24px !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    border: none !important;
    gap: 16px !important;
}

/* Quantity Buttons - Minimal design like image */
.fancybox-inner .view-item-wrap .quantity-wrap a,
div.view-item-wrap .quantity-wrap a,
body .view-item-wrap .quantity-wrap a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background: #f5f5f5 !important;
    color: #666666 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border: 1px solid #e0e0e0 !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

/* Quantity Buttons Hover - Subtle like image */
.fancybox-inner .view-item-wrap .quantity-wrap a:hover,
div.view-item-wrap .quantity-wrap a:hover,
body .view-item-wrap .quantity-wrap a:hover {
    background: #e8e8e8 !important;
    color: #333333 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Quantity Input - Clean design like image */
.fancybox-inner .view-item-wrap .quantity-wrap input[type="text"],
div.view-item-wrap .quantity-wrap input[type="text"],
body .view-item-wrap .quantity-wrap input[type="text"] {
    width: 50px !important;
    height: 36px !important;
    text-align: center !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333333 !important;
    background: #fafafa !important;
}

.quantity-wrap input[type="text"]:focus{
    border-color: #e53e3e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.quantity-wrap.quantity-wrap-small a{
    width: 32px;
    height: 32px;
    font-size: 14px;
}

.quantity-wrap.quantity-wrap-small input[type="text"]{
    width: 50px;
    height: 32px;
    margin: 0 10px;
}

.quantity-wrap a i{
    font-size: 16px;
    margin: 0;
}


.notes-wrap{
    margin-top:10px;
    display:none;
}

/* Product Description - Clean like image */
.fancybox-inner .view-item-wrap p,
div.view-item-wrap p,
body .view-item-wrap p {
    margin: 0 24px 24px 24px !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    font-weight: 400 !important;
}

/* Special Instructions */
.special-instruction{
    padding: 15px 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    width: auto;
    display: inline-block;
}

.special-instruction label{
    font-weight: 700;
    color: #856404;
    margin-bottom: 8px;
    display: block;
}

/* Notes Section - Always Visible and Centered */
.notes-wrap{
    margin: 20px 30px 10px 30px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    clear: both;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    min-height: 120px;
}

.notes-wrap textarea{
    width: 100%;
    max-width: 600px;
    min-height: 80px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease;
    background: #ffffff;
    margin: 0 auto;
}

.notes-wrap textarea:focus{
    border-color: #e53e3e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.notes-wrap textarea::placeholder {
    color: #6c757d;
    font-style: italic;
    opacity: 0.8;
}

/* Cart-specific promotional price - Red color like system default - High specificity */
span.cart-sale-price,
.cart-sale-price {
    color: #2a2a2a !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    letter-spacing: normal !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    display: inline-flex !important;
    position: static !important;
    z-index: auto !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Modern Action Section */
/* Action Area - Clean design like image */
.fancybox-inner .view-item-wrap .action-wrap,
div.view-item-wrap .action-wrap,
body .view-item-wrap .action-wrap {
    margin: 0 !important;
    padding: 24px !important;
    background: #ffffff !important;
    border-top: 1px solid #f0f0f0 !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.action-wrap .uk-button{
    flex: 1;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    /* overflow: hidden; - REMOVED: could interfere with clicks */
}

/* REMOVED FIRST-CHILD DIFFERENTIATION - All buttons should work equally */
/* .action-wrap .uk-button:first-child was causing click issues on first product */

/* Ensure ALL buttons work the same - override any first-child specificity */
.action-wrap .uk-button {
    background: transparent !important;
    color: inherit !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 100 !important;
}

.action-wrap .uk-button:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Main Action Button - Golden like image */
.fancybox-inner .view-item-wrap .action-wrap .uk-button:last-child,
div.view-item-wrap .action-wrap .uk-button:last-child,
body .view-item-wrap .action-wrap .uk-button:last-child {
    background: #B8860B !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.fancybox-inner .view-item-wrap .action-wrap .uk-button:last-child:hover,
div.view-item-wrap .action-wrap .uk-button:last-child:hover,
body .view-item-wrap .action-wrap .uk-button:last-child:hover {
    background: #9A7209 !important;
    transform: none !important;
    box-shadow: none !important;
}

.action-wrap .uk-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.action-wrap .uk-button:hover::before {
    left: 100%;
}

/* FIXED QUANTITY BUTTONS - UNIVERSAL STYLES FOR BOTH LAYOUTS */

/* Force consistent styles for ALL quantity buttons */
.fancybox-inner .view-item-wrap .quantity-wrap a,
div.view-item-wrap .quantity-wrap a,
body .view-item-wrap .quantity-wrap a,
.layout3-qty-btn,
.layout3-qty-main-minus,
.layout3-qty-main-plus,
.quantity-wrap a,
a.qty-minus,
a.qty-plus,
button.qty-minus,
button.qty-plus {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    background: #ffffff !important;
    color: #8c1317 !important;
    border: 2px solid #8c1317 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    text-align: center !important;
    vertical-align: middle !important;
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
}

/* Hover state for quantity buttons */
.fancybox-inner .view-item-wrap .quantity-wrap a:hover,
div.view-item-wrap .quantity-wrap a:hover,
body .view-item-wrap .quantity-wrap a:hover,
.layout3-qty-btn:hover,
.layout3-qty-main-minus:hover,
.layout3-qty-main-plus:hover,
.quantity-wrap a:hover,
a.qty-minus:hover,
a.qty-plus:hover,
button.qty-minus:hover,
button.qty-plus:hover {
    background: #8c1317 !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(140, 19, 23, 0.3) !important;
}

/* Force consistent styles for quantity inputs */
.fancybox-inner .view-item-wrap .quantity-wrap input[type="text"],
div.view-item-wrap .quantity-wrap input[type="text"],
body .view-item-wrap .quantity-wrap input[type="text"],
.layout3-qty-input,
.layout3-qty-main-input,
.quantity-wrap input[type="text"],
input.qty-input {
    width: 60px !important;
    height: 40px !important;
    min-width: 60px !important;
    min-height: 40px !important;
    text-align: center !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 8px !important;
    margin: 0 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    outline: none !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Focus state for quantity inputs */
.fancybox-inner .view-item-wrap .quantity-wrap input[type="text"]:focus,
div.view-item-wrap .quantity-wrap input[type="text"]:focus,
body .view-item-wrap .quantity-wrap input[type="text"]:focus,
.layout3-qty-input:focus,
.layout3-qty-main-input:focus,
.quantity-wrap input[type="text"]:focus,
input.qty-input:focus {
    border-color: #8c1317 !important;
    box-shadow: 0 0 0 3px rgba(140, 19, 23, 0.1) !important;
}

/* Force consistent container styles */
.fancybox-inner .view-item-wrap .quantity-wrap,
div.view-item-wrap .quantity-wrap,
body .view-item-wrap .quantity-wrap,
.layout3-quantity-controls,
.layout3-quantity-wrapper,
.quantity-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 20px auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    flex-wrap: nowrap !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .view-item-wrap {
        width: 95vw;
        max-width: 500px;
        margin: 10px;
    }
    
    .view-item-wrap h1 {
        font-size: 20px;
        padding: 20px 20px 0 20px;
    }
    
    .view-item-wrap .section h3 {
        margin: 15px 20px 10px 20px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .view-item-wrap .section li {
        margin: 0 20px 10px 20px;
        padding: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .view-item-wrap .section li span.price {
        align-self: flex-end;
    }
    
    .view-item-wrap p {
        margin: 0 20px 15px 20px;
        font-size: 14px;
    }
    
    /* Mobile quantity controls - keep same size for better touch */
    .quantity-wrap {
        margin: 15px 20px !important;
        padding: 8px !important;
    }
    
    /* Mobile quantity buttons - larger for better touch */
    .fancybox-inner .view-item-wrap .quantity-wrap a,
    div.view-item-wrap .quantity-wrap a,
    body .view-item-wrap .quantity-wrap a,
    .layout3-qty-btn,
    .layout3-qty-main-minus,
    .layout3-qty-main-plus,
    .quantity-wrap a,
    a.qty-minus,
    a.qty-plus,
    button.qty-minus,
    button.qty-plus {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 20px !important;
    }
    
    /* Mobile quantity inputs */
    .fancybox-inner .view-item-wrap .quantity-wrap input[type="text"],
    div.view-item-wrap .quantity-wrap input[type="text"],
    body .view-item-wrap .quantity-wrap input[type="text"],
    .layout3-qty-input,
    .layout3-qty-main-input,
    .quantity-wrap input[type="text"],
    input.qty-input {
        width: 70px !important;
        height: 44px !important;
        min-width: 70px !important;
        min-height: 44px !important;
        font-size: 18px !important;
        margin: 0 12px !important;
    }
    
    .action-wrap {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .action-wrap .uk-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .special-instruction,
    .notes-wrap {
        margin: 15px 20px;
        padding: 12px 15px;
    }
}

/* MODERN MODAL DESIGN - MATCHING PROVIDED IMAGE - 2025-01-08 */
html body .fancybox-inner .view-item-wrap,
html body .fancybox-inner .view-food-item-wrap,
html body div.view-item-wrap,
html body div.view-food-item-wrap,
html body .view-item-wrap,
html body .view-food-item-wrap,
.view-item-wrap[style],
.view-food-item-wrap[style],
.container.view-food-item-wrap {
    width: 700px !important;
    min-height: 500px !important;
    max-height: 90vh !important;
    padding: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    position: relative !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Remove the red top bar - cleaner design like image */
.fancybox-inner .view-item-wrap::before,
div.view-item-wrap::before,
body .view-item-wrap::before {
    display: none !important;
}

/* Modal Header - Clean design like image */
.fancybox-inner .view-item-wrap h1,
div.view-item-wrap h1,
body .view-item-wrap h1 {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    padding: 24px 24px 16px 24px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    position: relative !important;
    z-index: 2 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Section Headers - Minimal design like image */
.fancybox-inner .view-item-wrap .section h3,
div.view-item-wrap .section h3,
body .view-item-wrap .section h3 {
    background: transparent !important;
    color: #1a1a1a !important;
    margin: 24px 24px 12px 24px !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Ultra Modern Right Sidebar (Cart) - Contemporary Design */
.order-list-wrap {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(229, 62, 62, 0.15) !important;
    padding: 28px !important;
    margin-bottom: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    min-height: auto !important;
}

.order-list-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.16);
    border-color: rgba(229, 62, 62, 0.3);
}

.order-list-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #e53e3e 0%, 
        #ff6b6b 25%, 
        #ff8e8e 50%, 
        #ff6b6b 75%, 
        var(--layout3-primary-color) 100%);
    z-index: 1;
    border-radius: 24px 24px 0 0;
}

.order-list-wrap h5{
    text-align: center !important;
    padding: 0px 0px 24px 0px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 20px !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
}

.order-list-wrap h5::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #e53e3e, #ff6b6b);
    border-radius: 2px;
}

.item-order-list{
    padding: 20px 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    border-radius: 16px !important;
    margin: 8px 0 !important;
    position: relative !important;
    background: rgba(255, 255, 255, 0.4) !important;
}

.item-order-list:hover {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.04) 0%, rgba(255, 107, 107, 0.02) 100%);
    transform: translateX(4px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(229, 62, 62, 0.1);
    border-color: rgba(229, 62, 62, 0.15);
}

.item-order-list:last-child {
    border-bottom: none;
    margin-bottom: 16px;
}

.item-row .a,
.item-row .b,
.item-row .c,
.item-row .d,
.summary-wrap .a
{
    float:left;
}

.item-row .manage, .summary-wrap .manage{
    float:right;
}


.item-row .a{
    width:25px;
    /* text-indent:5px; */
}

.item-row .c{
    margin-right:4px;
}

.item-row .d, .summary-wrap .b{
    width:80px;
    text-align:right;
}

.item-row .b{
    margin-right:5px;
    width:150px;
    word-break: normal;
}

.item-row a{
    font-size: 16px;
    margin-right: 6px;
    color: #64748b;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.item-row a:hover{
    color: #ffffff;
    background: linear-gradient(135deg, #e53e3e 0%, #ff6b6b 100%);
    text-decoration: none;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 
        0 4px 12px rgba(229, 62, 62, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.item-row a:active {
    transform: translateY(0) scale(0.95);
    transition: all 0.1s ease;
}

.summary-wrap .a{
    text-align: right;
    width: 210px;
}

.summary-wrap{
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%) !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(229, 62, 62, 0.08) !important;
    padding: 20px !important;
    margin: 16px 0 !important;
    backdrop-filter: blur(10px) !important;

}

.summary-wrap .row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
}

.summary-wrap .row:has(.cart_total) {
    background: linear-gradient(135deg, rgba(229, 62, 62, 0.05) 0%, rgba(255, 71, 87, 0.05) 100%) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(229, 62, 62, 0.15) !important;
    margin-top: 12px !important;
}

.summary-wrap .row.cart_total_wrap .col-xs-6 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #2a2a2a !important;
}

.bold{
    font-weight: 600;
}
.summary-wrap .bold{
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.summary-wrap .a {
    color: #64748b;
    font-size: 15px;
    line-height: 1.5;
}

.summary-wrap .b {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.2px;
}

.inner a.clear-cart {
    display: block !important;
    background: #f4f4f4 !important;
    color: #727272 !important;
    text-decoration: none !important;
    margin: 16px auto 0 auto !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    width: auto !important;
    max-width: 85px !important;
    position: relative !important;
    clear: both !important;
    border: 1px solid #d3d3d3 !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
}

.inner a.clear-cart:hover {
    transform: translateY(-1px) !important;
    background: #e9ecef !important;
    color: #495057 !important;
    text-decoration: none !important;
    outline: none !important;
}

/* Ajuste do container para acomodar o botão limpar */
.inner:has(a.clear-cart) {
    padding-bottom: 60px !important;
}

/* Estilo específico para o bloco que contém o summary-wrap e botão limpar */
.inner.center:has(.summary-wrap),
.inner.delivery-option:has(.summary-wrap) {
    padding-bottom: 20px !important;
}

/* Posicionamento do botão limpar após o summary-wrap */
.summary-wrap + a.clear-cart,
.summary-wrap ~ a.clear-cart {
    display: block !important;
    margin-top: 16px !important;
}

/* Alternativa para garantir que o botão apareça abaixo do summary-wrap */
 .inner .summary-wrap {
    margin-bottom: 16px !important;
}

.inner .summary-wrap ~ a.clear-cart {
    margin-top: 0 !important;
}

.order-list-wrap p.uk-text-small{
    text-align:left;
    margin:0;
    padding:0;
    /*text-transform:capitalize;*/
}

.order-list-wrap p.uk-text-small .cart-sale-price{
    font-size: 20px !important;
}

.order-list-wrap p.uk-text-small .normal-price{
    font-size: 14px !important;
}

.order-list-wrap .uk-button{
    display: block !important;
    margin: 24px auto 0 !important;
    width: 100% !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: -0.2px !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.order-list-wrap .uk-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(229, 62, 62, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.order-list-wrap .uk-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #e53e3e 0%, #ff4757 100%);
    box-shadow: 
        0 4px 12px rgba(229, 62, 62, 0.3),
        0 8px 24px rgba(229, 62, 62, 0.2);
}

.order-list-wrap .uk-button:hover::before {
    left: 100%;
}

.order-list-wrap .uk-button:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Força modernização com seletores específicos para sobrescrever external.css */
.main .order-list-wrap,
.right-content .order-list-wrap,
div.order-list-wrap {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(229, 62, 62, 0.15) !important;
    padding: 28px !important;
    min-height: auto !important;
    border-top: 3px solid transparent !important;
    border-top-image: linear-gradient(90deg, 
        #e53e3e 0%, 
        #ff6b6b 25%, 
        #ff8e8e 50%, 
        #ff6b6b 75%, 
        var(--layout3-primary-color) 100%) 1 !important;
}

.main .order-list-wrap h5,
.right-content .order-list-wrap h5,
div.order-list-wrap h5 {
    text-align: center !important;
    padding: 0px 0px 24px 0px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 20px !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
}

.main .item-order-list,
.right-content .item-order-list,
div.item-order-list {
    padding: 20px 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    margin: 8px 0 !important;
    background: rgba(255, 255, 255, 0.4) !important;
}


.sections h2.text-left{
    margin:0;
    margin-bottom:6px;
}

.normal-price{
    font-size: 16px;
    font-weight: normal !important;
    text-decoration:line-through;
    color: #858585;
}

.sale-price{
    color:#fff;
    font-size:13px;
    font-weight: bold;
}

.delivery_options{
    margin: auto;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px 0;
}

.delivery_options h5{
    margin: 0;
    padding: 0;
    margin-bottom: 12px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 16px;
    letter-spacing: -0.3px;
}

.delivery_options input[type="text"], 
.delivery_options select,
.delivery_options input[type="date"]{
    display: block !important;
    width: 100% !important;
    padding: 14px 16px !important;
    margin-bottom: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1) !important;
    color: #1a1a1a !important;
    box-sizing: border-box !important;
}

.delivery_options input[type="text"]:focus, 
.delivery_options select:focus,
.delivery_options input[type="date"]:focus {
    outline: none;
    border-color: rgba(229, 62, 62, 0.4);
    box-shadow: 
        0 0 0 3px rgba(229, 62, 62, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
}

.delivery_options input[type="text"]::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.delivery_options select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.checkout-page h3{
    margin-top:0px;
}

.checkout-page form{
    min-height:260px;
}

.spacer{
    height:10px;
}
.spacer2{
    height:20px;
}

.hidden, .change_wrap{
    display:none;
}


.receipt-wrap.order-list-wrap{
    padding:15px 10px;
}

.receipt-main-wrap{
    width:410px;
    margin:auto;
}

.input-block .label{
    width:50%;
    float:left;
}

.input-block .value{
    width:50%;
    float:right;
    text-align:right;
    /*text-transform:capitalize;*/
}

.spacer-small{
    padding-top:5px;
    padding-bottom:5px;
}

.menu{
    border:1px solid #AFAFAF;
}

.menu ul{
    margin:0;
    padding:0;
}

.menu ul li{
    border-right:1px solid #AFAFAF;
    display:block;
    padding:5px 8px;
    width:271px;
    border-bottom:1px solid #AFAFAF;
}

.menu ul.menu-ul li.last{
    border-bottom:none;
}

.menu ul li.even{
    border-right:none;
}



.menu-ul li a{
    color:#fff243;
}

.menu-ul li:hover{
    background:#fff243;
}

.sortby_text{
    /*text-transform:capitalize;*/
}

.login-modal-wrap, .pop-wrap{
    width:431px;
    margin:auto;
    background:#fff;
}

.login-modal-wrap .modal-header, .pop-wrap .modal-header{
    background:#F4F4F2;
    padding:5px 8px;
}

.login-modal-wrap .modal-header h3,
.pop-wrap .modal-header h3
{
    margin:0;
    font-size:14px;
    font-weight:bold;
    text-transform:uppercase;
}

.login-modal-wrap .modal-header a{
    color:#ccc;
    font-size:20px;
}

.login-modal-wrap .modal-header a:hover{
    opacity:0.5;
}

.login-modal-wrap p{
    text-align:center;
}

.modal-body{
    padding:20px 20px;
    font-weight:normal;
}

.login-btn-wrap{
    margin:auto;
    width:200px;
}

.login-btn-wrap a{
    margin-right:10px;
}

.fb-link-login{
    background:#3B5998;
    color:#FFFFFF;
    display:block;
    width:80%;
    font-family: 'PT Sans', sans-serif;
    position:relative;
    margin:auto;
}

.fb-link-login:hover{
    color:#FFFFFF;
    text-decoration:none;
}

.fb-link-login .label{
    color:#FFFFFF;
    display:block;
    float:left;
    width:50px;
    height:40px;
    position:relative;
    background:#2B4988;
}
.fb-link-login .label i{
    font-size: 30px;
    font-weight: bold;
    left: 20px;
    position: absolute;
    top: 5px;
}

.fb-link-login span{
    display: block;
    float: left;
    font-size: 18px;
    left: 70px;
    position: absolute;
    top: 9px;
}

.section2,.section3, .section-forgotpass,
.hide
{
    display:none;
}

.review-content-wrap{
    width:500px;
    display:none;
}

#review_content{
    width:100%;
    min-height:80px;
    margin-top:5px;
}

.review-content-wrap input[type="submit"]{
    margin-top:5px;
}

.write-review.active{
    background:#CB202D;
    color:#FFFFFF;
}

.rating_handle {
    padding-left:20px;
}

.list-reviews{
    border:1px solid #ccc;
    padding:10px;
    margin-bottom:8px;
}

.list-reviews h4{
    margin:0 0 0 10px;
    padding-top: 10px;
}

.list-reviews .head{
    border-bottom:1px solid #ccc;
    padding-bottom:5px;
}

.avatar{
    position:relative;
    font-size:20px;
    border:1px solid #ccc;
    width: 38px; height: 38px;
    -moz-border-radius: 35px ; -webkit-border-radius: 35px ; border-radius: 35px ;
}

.avatar i{
    color: #444444;
    font-size: 28px;
    left: 8px;
    position: absolute;
    top: 5px;
}

.reviews-wrap h4{
    /*text-transform:capitalize;*/
}

#google_map_wrap{
    border:1px solid #E4E7EA;
    width:100%;
    height:400px;
}

.uk-form-row{
    position:relative;
}

.dataTables_processing{
    height: 155%;
    position: absolute;
    width: 100%;
    background:rgb(255, 255, 255); background:rgba(255,255,255,0.4);
    z-index:2;
}

.dataTables_processing p{
    font-weight:normal;
    color:#fff;
    padding:8px;
    font-size: 20px;
    left: 35%;
    position: absolute;
    top:30%;
    z-index: 10;
    background:url("../images/bg-transparent.png");
    border:1px solid #606264;

    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -khtml-border-radius: 5px;
}

.dataTables_wrapper{
    position:relative;
}

.review-action{
    width:140px;
    padding-top:10px;
    padding-bottom:10px;
}

.review-action .edit-review{
    margin-right:10px;
}

#review_content.uk-form-width-large{
    min-height:150px;
}

.print_wrap{
    margin:10px;
}

.page-right-sidebar .left-content{
    width: 60%;
}

.page-right-sidebar .right-content{
    width:35%;
}

.order-history li a{
    margin-right:15px;
}


.main.packages-wrap{
    padding-top:60px;
    padding-bottom:60px;
}

.view-receipt-pop{
    width:400px;
    padding:10px;
}

.packages-wrapper{
    float:right;
    position:relative;
    left:-50%;
    text-align:left;
}

.packages-list{
    list-style:none;
    position:relative;
    left:50%;
}

.packages-list li{
    float:left;
    width:218px;
    border-right:5px solid #F0F0F0;
    position:relative;
}

.packages-list li:last-child{
    border-right:none;
}

.packages-list li h2{
    margin:0;
    text-align:center;
    /*text-transform:capitalize;*/
    background:#F9F9F9;
    color:#959CA4;
    padding:10px 0px;
    min-height:60px;
}

.packages-list li h3, .packages-list li p, .packages-list li a{
    color:#55A2E8;
    margin:0;
    text-align:center;
    padding:8px 0px;
    /*text-transform:capitalize;*/
}

.packages-list li p{
    background:#F9F9F9;
}

.packages-list li a{
    font-weight:bold;
    display:block;
    color:#fff;
    text-decoration:none;

    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.packages-list li a:hover{
    opacity:0.5;
}

.packages-list li p.even{
    background:#fff;
}

.packages-wrap h2.uk-h2{
    text-align:center;
}

.signup-merchant-wrap{
    width:80%;
}

.signup-merchant-wrap h3{
    text-align:center;
}

.signup-merchant-wrap .chosen-choices li.search-field {
    line-height:30px;
}

.signup-merchant-wrap .chosen-choices li.search-field  input[type="text"]{
    height:30px !important;
    border:1px solid blue;
}

.merchant-step-section .order-steps{
    /*margin-left:130px;*/
}

.cc_page .dataTables_info, .search-box-wrap .filter_minimum_clear,
.search-box-wrap .frm_search_name_clear
{
    display:none;
}

.nomargin{
    margin:0;
    padding:0;
}

#contact-page .uk-form-row, #lost-pass-wrap .uk-form-row{
    width:65%;
}

#contact-page #google_map_wrap{
    height:300px;
    margin-bottom:20px;
}


.logo-wrap a h1{
    color:#fff;
    font-size:50px;
    /*text-transform:capitalize;*/
    overflow:hidden;
}

.logo-wrap a:hover{
    text-decoration:none;
}



.footer-address{
    /*text-transform:capitalize;*/
}

.sigin-fb-wrap{
    margin: auto;
    width: 155px;
}

.or{
    margin-top:20px;
    text-align:center;
    font-weight:bold;
    position:relative;
    width:250px;
    margin:20px auto;
}

.or span{
    border-bottom: 1px solid #DDDDDD;
    display: block;
    position: absolute;
    top: 9px;
    width: 100px;
}

.or span.r{
    right:0;
}

.quantity-wrap a:hover{
    color:#fff;
}

ul#bottom-menu li a, ul#top-menu a{
    /*text-transform:capitalize;*/
}

.header-wrap .section-mobile-menu-link{
    margin-left:15px;
    margin-top:20px;
    display:none;
}

.section-mobile-menu-link a{
    color:#fff;
    font-size:40px;
}

.section-mobile-menu-link a:hover{
    color:#fff;
    opacity:0.5;
}

.search-wrapper h2{
    margin-bottom:4px;
}

.search-wrapper p.uk-text-muted{
    margin:0;
    margin-bottom:5px;
}

.no-resto h4{
    margin:0;
    margin-top:5px;
}

#mobile-menu a i{
    margin-right:10px;
}

#mobile-menu a{
    text-transform:capitalize;
}

.packages-wrap .frm-resume-signup, .ie-no-supported-msg{
    display:none;
}


/****  IE **/

.menu-ul .menu-item .left{
    /*width:85%;*/
    width:auto;
}

.menu-ul .menu-item .left{
    /*text-transform:capitalize;*/
}

.language-wrapper{
    position:absolute !important;
    top:0;
    right:0;
}

.language-wrapper ,fa-globe{
}


#menu-with-bg{
    background-size:cover;
    min-height:500px;
    position:relative;
}

#menu-with-bg-wrap{
    position:relative;
    background:#fff;
}

#menu-with-bg-wrap .main{
    position:relative;
    margin-top:-200px;
    margin-bottom:0px;
    z-index:2;
}

#menu-wrap .merchant-info1{
    margin-bottom:20px;
}

#menu-with-bg-wrap .rating-wrapper{
    width:95%;
}

#menu-with-bg-wrap .rating-wrapper img{
    width:90px;
    display:block;
    float:left;
    height:100px;
}

#menu-with-bg-wrap .rating-wrapper .write-review-wrap{
    width:170px;
    display:block;
    float:right;
}

#menu-with-bg-wrap .rating-wrapper .write-review-wrap a{
    margin-top:55px;
}

#menu-with-bg-wrap .rating-wrapper a.write-review i{
    text-indent:10px;
}

#menu-with-bg-wrap .rating-wrapper h5{
    font-size:35px;
    color:#434142;
    /*text-transform:capitalize;*/
    margin-top:10px;
    display:block;
    position:absolute;
    max-width:450px;
}

#menu-with-bg-wrap .rating-wrapper .rate-wrap{
    float:right;
    margin-right:25px;
}

#menu-with-bg-wrap .merchant-info2{
    margin-bottom:40px;
}

#menu-with-bg-wrap .merchant-info2 h5{
    color: #CB202D;
    font-weight: 600;
    /*text-transform: capitalize;*/
    margin:0;
}

#menu-with-bg-wrap .merchant-info2 p{
    margin:0;
    padding:0;
}

.menu-with-bg-border{
    /*box-shadow: -1px -5px 8px 1px #CCCCCC;*/
    box-shadow:-5px -5px 10px -5px #333333;
    -webkit-box-shadow:-5px -5px 10px -5px #333333;
    -moz-box-shadow:-5px -5px 10px -5px #333333;

    padding-right:10px;
    height: 200px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index:-1;
}


/* Modern Voucher Wrap Styles */
.voucher_wrap {
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.voucher_wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

.voucher_wrap #voucher_code {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.voucher_wrap #voucher_code:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.voucher_wrap #voucher_code::placeholder {
    color: #666;
    font-style: italic;
}

/* Remove voucher state */
.voucher_wrap.voucher-applied {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.voucher_wrap.voucher-applied .apply_voucher {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.voucher_wrap.voucher-applied .apply_voucher:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
}

.voucher_wrap .remove_voucher{
    display:none;
}

.ops_notification{
    margin-top:20px;
    text-align:center;
    display:none;
}
.ops_notification p{
    margin:0;
}

.ops_notification h3{
    color:#21B0D1;
}

.direction_wrap{
    margin-top:20px;
}

#origin{
    width:100%;
}
.direction_output{
    margin-top:5px;
    display:none;
    width:100%;
    border:1px solid #ddd;
}

#flexslider li{
    margin-right:20px;
}

#flexslider{
    box-shadow:none;
}


.two-columns .grid-1{
    width:60%;
    margin-right:35px;
}

.two-columns .grid-2{
    width:35%;
}

#tabs {
    /*border:1px solid #ddd;
    margin-left:0;*/
}

#tabs .uk-width-small-1-3{
    margin:0;
    padding:0;
}

#tabs .uk-width-medium-1-2{
    margin: 0 0 0 15px;
    padding: 0;
    width: 60%;
}

#tabs .uk-tab-left li{
    border-bottom:1px solid #e5e5e1;
    background:linear-gradient(white,#f0f0f0);
    text-decoration:none;
    border-right:1px solid #e5e5e1;
}
#tabs .uk-tab-left li.uk-active{
    border-right:none;
}

#tabs .uk-tab-left li a{
    color:#3B65A7;
}

#tabs .uk-tab-left li.uk-active a{
    margin:0;
    border:none;
}

#tab-left-content{
    padding-top:8px;
    overflow:hidden;
}

#restaurant-mini-list{
    border-bottom:1px solid #ddd ;
    padding-bottom:10px;
    position:relative;
    margin-top:10px;
}

#tab-left-content #restaurant-mini-list:last-child{
    /*border-bottom:none ;*/
}

#restaurant-mini-list h5, #restaurant-mini-list p{
    margin:0;
    /*text-transform:capitalize;*/
}

#restaurant-mini-list .uk-width-7-10{
    padding-left:10px;
}

#restaurant-mini-list .rate-wrap {
    position: absolute;
    right: 0;
    top: 0;
}

#restaurant-mini-list p{
    width:80%;
}

.section-to-menu-user .uk-button-dropdown{
    margin-top:-5px;
    padding-bottom:8px;
}

.maps_side{
    min-height:470px;
    width:100%;
    border:1px solid #ddd;
}

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

.view-map{
    font-size:12px;
}

.change-address{
    /*font-weight:normal;
    font-size:11px;
    margin-left:20px;
    color:#8CC14C;*/
    color: #8CC14C;
    font-size: 11px;
    font-weight: normal;
}

.hr_op{
    z-index:200;
}

.share-wrap ul{
    margin:0;
    padding:0;
}

.share-wrap ul li{
    float:left;
    margin-right:8px;
}

.share-wrap ul li a i{
    font-size:35px;
}

.share-wrap ul li a{
    transition:all 0.2s ease-in-out 0s;
}

.share-wrap ul li a i.fa-facebook-square{
    color:#4460AE;
}
.share-wrap ul li a i.fa-twitter-square{
    color:#078CB9;
}
.share-wrap ul li a i.fa-linkedin-square{
    color:#2C86BA;
}
.share-wrap ul li a i.fa-google-plus-square{
    color:#BE3939;
}

.share-wrap ul li a:hover{
    opacity:0.5;
}

.qq-upload-list{
    display:none;
}

.advance-search .search-wrap{
    width:55%;
}

#search-tabs{
    display:none;
}

.advance-search ul li a{
    font-size:14px;
    font-weight:normal;
    font-family: "Open Sans","Roboto","sans-serif";
}

.advance-search .ui-tabs{
    background:none;
    padding:0;
    margin:0;
    -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;
}

.advance-search .ui-widget-header{
    background:none;
    border:none;
}

.advance-search .ui-tabs .ui-tabs-nav{
    padding:0;
}

.advance-search #tabs-1,
.advance-search #tabs-2,
.advance-search #tabs-3,
.advance-search #tabs-4,
.advance-search #tabs-5
{
    color:#fff;
    font-size:14px;
    font-weight:normal;
    font-family: "Open Sans","Roboto","sans-serif";
    background:url("../images/bg-transparent.png");
    border:none;
    -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;
}

#advance-search .ui-state-default{
    background:url("../images/bg-transparent.png");
    border:none;
    -moz-border-radius: 0px; -webkit-border-radius: 0px; border-radius: 0px;
}

#advance-search .ui-state-default.ui-tabs-active{
    border-top:2px solid #F48933;
}

#advance-search .ui-state-default a
{
    color:#fff;
}

#advance-search #search-tabs{
    border:none;
}

#advance-search .search-input-wrap button{
    right:0;
    height:43px;
}
#advance-search .search-input-wrap #s,
#advance-search .search-input-wrap input[type="text"]
{
    color:#000;
    font-weight:normal;
    font-family: "Open Sans","Roboto","sans-serif";
    height:auto;
}

#advance-search .search-input-wrap .uk-autocomplete{
    width:85%;
}

#advance-search .uk-dropdown{
    width:80%;
}

.search-map-wrap{
    border:1px solid #ccc;
    width:1000px;
    margin:auto;
    background:#fff;
    margin-top:10px;
    min-height:300px;
}
.search-map-wrap, #ui-datepicker-div{
    display:none;
}

/** pay on delivery css **/
.payment-provider-wrap{
    margin-left:20px;
    display:none;
}
.payment-provider-wrap img{
    max-width:60%;
    padding-right:10px;
}

.payment-provider-wrap li{
    height:80px;
    width:120px;
    float:left;
}

.offers-wrap{
    display:inline-table;
    padding:5px 10px;
    background:#E9E5DC;
    color:#1D7396;
    font-size:14px;
    position:relative;
    /*text-transform:capitalize;*/
}

.menu-wrapper .offers-wrap{
    margin-top:10px;
}

#table_list .offers-wrap{
    display: inline-block;
    margin-top: 8px;
    padding: 5px 8px;
    text-align: center;
    text-transform: uppercase;
}
#table_list .uk-badge{
    margin-top:5px;
}

.marker-info-wrap{
}

.marker-info-wrap .uk-thumbnail{
    float: left;
    margin-right: 10px;
    width: 100px;
    height:100px;
}

.footer-sub .footer-a{
    border:0px solid red;
    width:38%;
    padding-right:5px;
}
.footer-sub .footer-b{
    border:0px solid red;
}
.tbl-wraper{
    display:table;
}
.tbl-wraper .tbl-col{
    display:table-cell;
}
.footer-b p{
    font-size:12px;
}
.footer-sub input[type="text"]{
    color:#7C7B7B;
    background:#333333;
    font-size:13px;
    border:none;
    padding:6px 8px;
    margin-left:5px;
    margin-right:5px;
    min-width:200px;
    /*text-transform:capitalize;*/
}
.footer-a p{
    padding-top:5px;
}

.footer-sub input[type="submit"]{
    background:none;
    border:1px solid #333333;
    color:#7C7B7B;
    padding:6px 8px;
}
.footer-sub input[type="submit"]:hover{
    color:#333;
}

.featured-restaurant-list{
    background:#222222;
    padding:10px;
    padding-bottom:15px;
    border-bottom:5px solid #444444;
}

.bxslider{
    display:none;
}

.featured-restaurant-list h2{
    color:#fff;
    font-size:20px;
    text-align:center;
}
.featured-restaurant-list .bx-wrapper .bx-viewport{
    background:none;
    border:none;
    box-shadow:none;
    -webkit-box-shadow:none;
    -moz-box-shadow:none;
}

.featured-restaurant-list .bx-wrapper img{
    height: 100px;
    width: 140px;
}
.featured-restaurant-list .bx-wrapper img:hover{
    opacity:0.5;
}
.featured-restaurant-list p{
    color:#fff;
    text-align:center;
    font-size:12px;
    /*text-transform:capitalize;*/
}
.featured-restaurant-list a p:hover, .featured-restaurant-list a:hover{
    color:#21B0D1;
    text-decoration:none;
}
.feature-merchant-loader{
    color:#fff;
    font-size:16px;
    text-align:center;
}
.bxslider-2, .bxslider-3{
    display:none;
}

.table-div{
    display:table;
    width:100%;
}

.table-col-1{
    display:table-cell;
}
.table-col-2{
    display:table-cell;
}

.active-menu-2 .table-col-1, .active-menu-1 .table-col-1{
    width:10%;
    vertical-align:middle;
    padding-bottom:10px;
    padding-top:10px;
}

.active-menu-2 .table-col-2, .active-menu-1 .table-col-2{
    width:30%;
    vertical-align:top;
    padding-bottom:10px;
    padding-top:10px;
}
.active-menu-1 .table-col-1{
    padding-left:8px;
}
.active-menu-1 .table-col-2{
    padding-right:8px;
}

.active-menu-1 .table-div{
    border:1px solid #D3D3D3;
    border-bottom:none;
}
.active-menu-1 .table-div.last{
    border:1px solid #D3D3D3;
}

.active-menu-2 h2{
    color: #000000;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 2px;
    text-transform: uppercase;
}

.active-menu-2 img{
    height:70px;
    width:70px;
    display:block;
    margin:auto;
    -moz-border-radius: 50px; -webkit-border-radius: 50px; border-radius: 50px;
}

.ux-price{
    position:relative;
    height:35px;
    color:#000;
}

.ux-price h4{
    margin:0;
    padding:0;
    position:absolute;
    top:0;
    font-weight:bold;
    /*text-transform:uppercase;*/
    font-size:13px;
    letter-spacing:2px;
    background:#fff;
    padding-right:5px;
    max-width:70%;
}

.ux-price h5{
    letter-spacing:2px;
    position:absolute;
    top:0;
    right:0;
    margin:0;
    font-size:12px;
    background:#EAEAEA;
    padding:5px 6px;
    font-weight:bold;
}

.ux-price samp{
    border-bottom: 1px dashed #AAAAAA;
    display: block;
    position: absolute;
    top: 10px;
    width: 100%;
}

.active-menu-2 p{
    color: #AAAAAA;
    font-size: 12px;
    line-height: normal
}
.active-menu-2 a:hover p, .active-menu-2 a:hover, .active-menu-2 a:hover .ux-price h4,
.active-menu-1 a:hover p, .active-menu-1 a:hover, .active-menu-1 a:hover .ux-price h4
{
    text-decoration:none;
    color:#CB202D;
}
.active-menu-2 a:hover .ux-price h5{
    background:#CB202D;
    color:#fff;
}

.active-menu-2 a:hover img, .active-menu-1 a:hover img{
    opacity:0.5;
}

.active-menu-1 img{
    width: 100px;
}

.active-menu-1 .ux-price samp{
    display:none;
}

.active-menu-1 p{
    color: #4D4F52;
    font-size: 12px;
}
.categories-wrap{
    float:right;
    margin-bottom:-40px;
}

.signup-selection h3{
    text-align:center;
}


.signup-selection .table{
    display:table;
    margin:auto;
}

.signup-selection .table li{
    display:table-cell;
}

.signup-selection .table li a{
    margin:10px;
    display:block;
    text-align:center;
    padding:8px 9px;
}
.signup-selection .table li a h5{
    margin:0;
    padding:0;
    font-size:20px;
    font-weight:bold;
}

.signup-selection .table li a p{
    margin-bottom:0;
    margin-top:5px;
}

.signup-selection .table li a:hover{
    text-decoration:none;
    opacity:0.5;
}

.signup-selection .table li a.a{
    background:#40B9C6;
    color:#fff;
}
.signup-selection .table li a h5{
    color:#fff;
}

.signup-selection .table li a.b{
    background:#C92D22;
    color:#fff;
}
.page .main.signup-selection{
    min-height:300px;
}

.ingredients-label{
    font-weight:400;
    color:#659F13;
    margin-top:5px!important;
    font-style:normal !important;
}

.spicydish-icon{
    display:block;
    max-width: 20px;
}

/*.active-menu-1 .table-col-2 .spicydish-icon{
display:block;
bottom: -30px;
position: absolute;
right:0;
max-width: 25px;
}*/

/*.active-menu-2 .table-col-2 .spicydish-icon{
display:block;
bottom: -30px;
position: absolute;
right:0;
height:auto;
}*/

.order-list-wrap .spicydish-icon
{
    max-width: 20px;
}

.spicydish-icon.spicydish-cat{
    display:inline-block;
    margin-left:5px;
}

.active-menu-2 img.spicydish-cat{
    max-width: 25px;
    width:25px;
    height:auto;
}


.advance-search{
    position: relative;
    /*z-index: 999;*/
}

.receipt-wrap{
    position:relative;
}
.close-receipt{
    display: block;
    padding: 5px;
    position: absolute;
    right: 10px;
    top: 5px;
}

.form-signup .intl-tel-input,
.uk-form .intl-tel-input
{
    width:100%;
}

.profile-forms  .intl-tel-input{
    width:auto;
}


/*** fixed fax font **/
#fax_page .input-block .label,
#fax_page .input-block .value,
#fax_page .summary-wrap .a,
#fax_page .item-row .d,
#fax_page .summary-wrap .b
{
    font-family: arial;
    font-size: 16px;
    height: 30px;
    line-height: 25px;
}

#fax_page .item-row .a,
#fax_page .item-row .b
{
    font-family: arial;
    font-size: 15px;
    height: 30px;
    line-height: 25px;
}

/** tip */
.tip-wrapper{
    display:table;
}
.tip-wrapper li{
    display:table-cell;
    padding-right:10px;
}

.tip-wrapper li a{
    display:block;
    padding:8px;
    background:#CCCCCC;
    color:#fff;
    font-weight:bold;
}

.tip-wrapper li a:hover{
    text-decoration:none;
}

.tip-wrapper li a.active{
    background:#6886AA;
}


#menu-wrap .write-review-wrap h5{
    line-height:1;
}

.full_map_page{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background:#fff;
}
#map_area{
    position:relative;
    height:100%;
}

.full_map_search{
    position:absolute;
    top:5%;
    left: 8%;
    z-index:999;
    padding:2px;
    width:405px;
}

.full_map_search input[type="text"]{
    width:320px;
}

.full_map_search a,
.full_map_search span.sep
{
    color:#21B0D1;
}

.full_map_search a i{
    padding-right:5px;
}
.full_map_search .uk-form-row{
    background:#fff;
    padding:2px;
}

.google-login{
    background:#F05B3F;
    color: #FFFFFF;
    display: block;
    font-size: 12px;
    margin: 8px auto auto;
    padding: 1px;
    text-align: center;
    width: 150px;
}
.google-login:hover{
    color:#fff;
    text-decoration:none;
    background:#F36044;
}

.receipt-wrap .rc_logo{
    display: block;
    margin: auto;
    max-height: 70px;
    max-width: 200px;
}

.view-item-wrap .section li span.rupyaINR{
    display: inline;
    float: none;
    padding: 0;
}
.strike-tru{
    text-decoration:line-through;
    color:#D4232B;
    margin-right:10px;
}

.mytable{
    display:table;
}

.mytable .col{
    display:table-cell;
}
.mytable .col .spicydish-icon{
    margin-right:5px;
}

.mytable.dish-category{
    display:inline-table;
    margin-bottom:8px;
}

.active-menu-2 img.spicydish-icon{
    height:auto;
    width:auto;
}

.active-menu-2 a:hover .ux-price h5 .strike-tru{
    color:#fff;
}

.new-merchant-header{
    min-height:250px;
    min-height:300px;
    max-width:100%;
    background-position:center top;
    background-size:cover;
    border-bottom:2px solid #ccc;
    background-color:#000;
}

.page-right-sidebar.has-banner .main{
    margin-top:0px;
}

.new-menu-wrapper .main{
    width:1000px;
}

.page-right-sidebar.new-menu-wrapper .left-menu-content{
    width:65%;
    float:none;
    display:table-cell;
    vertical-align:top;
}

.page-right-sidebar.new-menu-wrapper .right-menu-content{
    width:35%;
    margin-right:0;
    float:none;
    display:table-cell;
    vertical-align:top;
}

.page-right-sidebar.new-menu-wrapper #menu-wrap{
    display:table;
    width:100%;
}

.page-right-sidebar.new-menu-wrapper .order-list-wrap{
    /*margin-left:10px;*/
    margin-left:30px;
}

.mytable.separate-category-menu{
    width:100%;
}

.mytable.separate-category-menu .col.col-category{
    width:22%;
    vertical-align:top;
}

.mytable.separate-category-menu .col.col-menu{
    vertical-align:top;
}

.mytable.separate-category-menu .menu ul li{
    /*width:224px;*/
    width:235px;
}

.side-bar-category li{
    padding-top:5px;
    padding-bottom:5px;
}
.side-bar-category li a{
    color:#000;
}
.side-bar-category li a:hover{
    color:#21B0D1;
    text-decoration:none;
}

.side-bar-category{
    margin:0;
    padding:0;
    width:100%;
}

.scroll-parent,
.scroll-parent2
{
    min-height:500px;
    position:relative;
}

.scroll-child,
.scroll-child2
{
    position:absolute;
    top: 0px;
}

.scroll-child.scroll-active
{
    padding-top:45px;
}

.order-list-wrap.scroll-child2{
    width:85%;
}

.back-top-menu
{
    color: #000000;
    display: block;
    margin-top:20px;
}

.back-top-menu:hover{
    color:#005599;
    text-decoration:none;
}

.map-address-wrap{
    padding-bottom:10px;
}

.map_address{
    display:block;
    height:300px;
}
.map-address-wrap-inner{
    display:none;
}


/** fixed menu css */
.categories-wrap-mobile,
.search-result-wrapper .filter-search-bar
{
    display:none;
}

.filter-search-bar{
    font-size:16px;
    margin-bottom:20px;
}
/** end fixed menu  */


.recaptcha{
    margin-top:15px;
    margin-bottom:15px;
}

.uk-notify,
.pac-container
{
    z-index:99999 !important;
}

.order-order-history{
    display:none;
}

.food-gallery-wrap{
    padding-left:inherit;
}
.food-gallery-wrap img{
    max-width:100px;
}
.view-item-wrap .section .food-gallery-wrap li{
    margin-right:10px;
}

.mini-pic{
    height:55px;
    width:60px;
    border:1px solid #ddd;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -khtml-border-radius: 2px;
}

body .mfp-wrap,
body .mfp-bg
{
    z-index:9999;
}


/* 2.6 */
.search-input-wrap.search-input-wrap-normal button{
    position:relative;
}
.search-input-wrap.search-input-wrap-normal{
    padding:10px 8px;
}

.search-input-wrap.search-input-wrap-normal label{
    font-size:18px;
    font-weight:bold;
    width:80px;
}
.search-input-wrap.search-input-wrap-normal select{
    width: 80%;
    font-size:16px;
}
.input-search-wrap{
    text-align:right;
    padding-top:5px;
    padding-right:6px;
}
.area-hidden{
    display:none;
}

#search-by-postcode .uk-dropdown{
    width:100%;
}

.search-input-wrap #zipcode,
.search-input-wrap #address{
    width:95%;
}


/** points css starts here */
.points-earn{
    font-size:13px;
    text-align:center;
    color:#999999;
}
/** points css ends here */


/*http://stackoverflow.com/questions/7846346/how-to-avoid-extra-blank-page-at-end-while-printing*/
@media print {
    html, body {
        border: 1px solid white;
        height: 99%;
        page-break-after: avoid;
        page-break-before: avoid;
    }
}

/* iFood Delivery Tracking Styles */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes progress-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.progress-bar-striped {
    background-size: 200% 200%;
}

/* Animated progress bar for iFood delivery */
.progress-bar.ifood-animated {
    background: #ea1d2c !important;
    position: relative !important;
    overflow: hidden !important;
}

.progress-bar.ifood-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: ifood-shine 2s linear infinite;
}

.progress-bar.ifood-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 75%);
    background-size: 20px 20px;
    animation: ifood-stripes 1s linear infinite;
}

@keyframes ifood-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes ifood-stripes {
    0% { background-position: 0 0; }
    100% { background-position: 20px 0; }
}

/* Versão alternativa mais visível para debug */
.progress-bar.ifood-animated-debug {
    background: linear-gradient(90deg, #ea1d2c 0%, #ffc107 50%, #ea1d2c 100%) !important;
    background-size: 300% 100% !important;
    animation: debug-slide 3s ease-in-out infinite !important;
    position: relative !important;
}

@keyframes debug-slide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Versão com pulsação */
.progress-bar.ifood-animated-pulse {
    background: #ea1d2c !important;
    animation: pulse-effect 2s ease-in-out infinite !important;
}

@keyframes pulse-effect {
    0% { 
        background-color: #ea1d2c;
        opacity: 0.8;
    }
    50% { 
        background-color: #ffc107;
        opacity: 1;
    }
    100% { 
        background-color: #ea1d2c;
        opacity: 0.8;
    }
}

/* iFood Address Change Modal Styles */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

#changeAddressModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}

.modal.show {
    display: block !important;
}

#changeAddressModal.show {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
}

.modal-dialog {
    position: relative;
    margin: 30px auto;
    max-width: 800px;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    text-align: right;
    border-radius: 0 0 8px 8px;
}

.modal .form-group {
    margin-bottom: 15px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #495057;
}

.modal .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.modal .form-control:focus {
    border-color: #ea1d2c;
    outline: none;
    box-shadow: 0 0 5px rgba(234, 29, 44, 0.3);
}

.modal .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
}

.modal .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.modal .btn-success {
    background-color: #28a745;
    color: white;
}

.modal .btn:hover {
    opacity: 0.9;
}

.modal .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal .close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    float: right;
    margin-top: -5px;
}

/* Error state for form fields - Yellow text, no red background */
.form-control.error {
    border-color: transparent !important;
    background: transparent !important;
    color: #FFD700 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: none !important;
}

/* Google Places Autocomplete styling */
.pac-container {
    z-index: 9999 !important;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pac-item {
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-selected {
    background-color: #ea1d2c !important;
    color: white !important;
}

/* Rotating animation for loading icon */
@keyframes rotating {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating {
    animation: rotating 1s linear infinite;
}

/* Zipcode field styling */
#zipcode {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

#zipcode:focus {
    border-color: #ea1d2c !important;
    box-shadow: 0 0 5px rgba(234, 29, 44, 0.3) !important;
}

/* Preloader improvements for better centering */
.main-preloader{
  position:fixed;
  top:0;
  z-index:999999;
  background:rgba(50, 50, 50, 0.85) none repeat scroll 0 0;
  width:100%;
  height:100%;
  display:none;
  /* Ensure it's always on top of modals */
  z-index: 9999999;
}

.main-preloader .inner{
  margin: 0;
  padding: 0;
  position: absolute;
  /* Perfect vertical centering */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
}

.ploader {
  margin: 0 auto;
  font-size: 10px;
  position: relative;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(247,93,52, 0.2);
  border-right: 1.1em solid rgba(247,93,52, 0.2);
  border-bottom: 1.1em solid rgba(247,93,52, 0.2);
  border-left: 1.1em solid #f75d34;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}

.ploader,
.ploader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}

@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* Fallback for older browsers without transform support */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .main-preloader .inner {
    top: 45%;
    left: 45%;
    margin-left: -5em;
    margin-top: -5em;
  }
}

/* Small screen adjustments */
@media (max-width: 768px) {
  .main-preloader .inner {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .ploader {
    width: 8em;
    height: 8em;
    border-width: 0.9em;
  }
}

/* Timeline Modal Styles */
.timeline-modal-spinner {
    animation: timeline-spin 1s linear infinite;
}

@keyframes timeline-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-xl {
    max-width: 90%;
}

/* CORRIGIDO: Garantir que a modal timeline não tenha overflow */
#timelineModal .modal-body {
    overflow-x: hidden; /* Evitar scroll horizontal */
    padding: 15px; /* Reduzir padding para dar mais espaço */
}

#timelineModal .timeline-stats {
    max-width: 100%; /* Garantir que não ultrapasse a modal */
    margin: 0 auto; /* Centralizar */
}

@media (max-width: 768px) {
    .modal-xl {
        max-width: 95%;
        margin: 10px;
    }
}

/* iFood Tracking Button Styles */
.ifood-track-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(234, 29, 44, 0.4) !important;
}

.timeline-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(23, 162, 184, 0.4) !important;
}

.address-change-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4) !important;
}

/* === RESPONSIVIDADE PARA RASTREAMENTO IFOOD === */

/* Responsividade para tabelas de status em telas pequenas */
@media (max-width: 480px) {
    /* Container das tabelas */
    .box-grey .table-bordered {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 12px !important;
    }
    
    /* Células das tabelas */
    .box-grey .table-bordered td {
        padding: 8px 4px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Labels de status - ajustar para não estourar */
    .box-grey .table-bordered .label {
        font-size: 11px !important;
        padding: 4px 6px !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        display: inline-block !important;
        text-align: center !important;
    }
    
    /* Primeira coluna - labels */
    .box-grey .table-bordered td:first-child {
        width: 35% !important;
        font-size: 11px !important;
        font-weight: bold !important;
    }
    
    /* Segunda coluna - valores */
    .box-grey .table-bordered td:last-child {
        width: 65% !important;
        text-align: right !important;
    }
    
    /* Botões do rastreamento iFood */
    .ifood-track-btn,
    .timeline-btn,
    .address-change-btn {
        width: 100% !important;
        margin-bottom: 8px !important;
        margin-right: 0 !important;
        padding: 10px 15px !important;
        font-size: 14px !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    /* Container dos botões */
    .text-center {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    /* Ajustar container principal para não estourar */
    .box-grey {
        margin-left: 5px !important;
        margin-right: 5px !important;
        padding: 15px 10px !important;
    }
    
    /* Títulos das seções */
    .box-grey h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
        text-align: center !important;
    }
}

/* Para telas muito pequenas (menos de 360px) */
@media (max-width: 360px) {
    .box-grey .table-bordered .label {
        font-size: 10px !important;
        padding: 3px 5px !important;
    }
    
    .box-grey .table-bordered td:first-child {
        width: 40% !important;
        font-size: 10px !important;
    }
    
    .box-grey .table-bordered td:last-child {
        width: 60% !important;
    }
    
    .ifood-track-btn,
    .timeline-btn,
    .address-change-btn {
        font-size: 13px !important;
        padding: 8px 12px !important;
    }
}

/* === RESPONSIVIDADE ESPECÍFICA PARA SEÇÃO DE RECIBO === */

/* Seção de recibo - container principal */
@media (max-width: 480px) {
    .section-receipt .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .section-receipt .inner {
        padding: 10px 5px !important;
    }
    
    /* Tabelas de detalhes do pedido */
    .section-receipt .table {
        font-size: 12px !important;
        margin-bottom: 15px !important;
    }
    
    .section-receipt .table td {
        padding: 6px 4px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
    }
    
    /* Labels de status na página de recibo */
    .section-receipt .label {
        font-size: 11px !important;
        padding: 4px 6px !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        display: inline-block !important;
    }
    
    /* Container de botões na página de recibo */
    .section-receipt .text-center a {
        width: 100% !important;
        margin-bottom: 8px !important;
        margin-right: 0 !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    /* Ajustes para alertas */
    .section-receipt .alert {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px !important;
        font-size: 12px !important;
    }
    
    /* Títulos da seção de recibo */
    .section-receipt h1 {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    
    .section-receipt h3 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }
    
    /* Progress bar para loading */
    .section-receipt .progress {
        margin-top: 10px !important;
        height: 4px !important;
    }
}

/* Para telas muito pequenas na seção de recibo */
@media (max-width: 360px) {
    .section-receipt .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .section-receipt .box-grey {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px 8px !important;
    }
    
    .section-receipt .table td {
        padding: 4px 2px !important;
        font-size: 11px !important;
    }
    
    .section-receipt .label {
        font-size: 10px !important;
        padding: 3px 5px !important;
    }
    
    .section-receipt h1 {
        font-size: 18px !important;
    }
    
    .section-receipt h3 {
        font-size: 14px !important;
    }
}

/* === RESPONSIVIDADE PARA TABELAS DO PERFIL === */

/* Tabelas de Address Book e Order History em telas pequenas */
@media (max-width: 480px) {
    /* === ADDRESS BOOK TABLE === */
    .section-address-book .table {
        font-size: 11px !important;
        margin-bottom: 15px !important;
    }
    
    .section-address-book .table th,
    .section-address-book .table td {
        padding: 6px 4px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        vertical-align: middle !important;
    }
    
    /* Primeira coluna - Endereço */
    .section-address-book .table td:first-child {
        width: 60% !important;
        font-size: 10px !important;
        line-height: 1.3 !important;
    }
    
    /* Segunda coluna - Ponto de Referência */
    .section-address-book .table td:nth-child(2) {
        width: 25% !important;
        font-size: 10px !important;
        text-align: center !important;
    }
    
    /* Terceira coluna - Ações (X) */
    .section-address-book .table td:last-child {
        width: 15% !important;
        text-align: center !important;
    }
    
    .section-address-book .table i {
        font-size: 16px !important;
    }
    
    /* === ORDER HISTORY TABLE === */
    .section-order-history .table {
        font-size: 11px !important;
        margin-bottom: 15px !important;
    }
    
    .section-order-history .table th,
    .section-order-history .table td {
        padding: 8px 4px !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        vertical-align: middle !important;
    }
    
    /* Cabeçalhos da tabela de pedidos */
    .section-order-history .table th {
        font-size: 10px !important;
        font-weight: bold !important;
        text-align: center !important;
    }
    
    /* Detalhes expandidos dos pedidos */
    .order-order-history {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .order-order-history .table {
        font-size: 10px !important;
        table-layout: auto !important;
    }
    
    .order-order-history .table th,
    .order-order-history .table td {
        padding: 4px 2px !important;
        font-size: 9px !important;
        display: table-cell !important;
        width: auto !important;
    }
    
    /* Ajustar colunas dos detalhes do pedido */
    .order-order-history .table th:first-child,
    .order-order-history .table td:first-child {
        width: 35% !important;
        font-weight: bold !important;
    }
    
    .order-order-history .table th:nth-child(2),
    .order-order-history .table td:nth-child(2) {
        width: 25% !important;
        text-align: center !important;
    }
    
    .order-order-history .table th:nth-child(3),
    .order-order-history .table td:nth-child(3) {
        width: 40% !important;
        word-wrap: break-word !important;
    }
    
    /* Botões de ação nos pedidos */
    .section-order-history .btn {
        font-size: 10px !important;
        padding: 4px 8px !important;
        margin: 2px !important;
    }
    
    /* Status dos pedidos */
    .section-order-history .label {
        font-size: 9px !important;
        padding: 2px 4px !important;
        line-height: 1.2 !important;
    }
    
    /* Container das seções */
    .section-address-book,
    .section-order-history {
        padding: 10px 5px !important;
    }
    
    .section-address-book .container,
    .section-order-history .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    /* Botão "Adicionar Novo Endereço" */
    .section-address-book .btn,
    .section-address-book .modern-submit-button {
        width: 100% !important;
        font-size: 12px !important;
        padding: 10px 15px !important;
        margin-bottom: 10px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* Ícones nos botões */
    .section-address-book .btn i {
        font-size: 14px !important;
        margin-right: 5px !important;
    }
    
    /* === BOTÃO VOLTAR NO RECEIPT === */
    .mobile-back-button-container {
        display: block !important; /* Mostrar em mobile */
    }
    
    .mobile-back-button {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: linear-gradient(135deg, #6c757d, #495057) !important;
        color: white !important;
        padding: 12px 20px !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
    
    .mobile-back-button:hover {
        background: linear-gradient(135deg, #495057, #343a40) !important;
        transform: translateY(-1px) !important;
        color: white !important;
        text-decoration: none !important;
    }
    
    .mobile-back-button i {
        font-size: 16px !important;
    }
    
    /* === CORREÇÕES DOS BOTÕES DE PEDIDOS === */
    
    /* Centralizar botões no layout responsivo */
    .section-order-history .modern-status-button,
    .section-order-history .modern-order-view-button,
    .section-order-history .modern-reorder-button,
    .section-order-history .delivery-timeline-button,
    .section-order-history .modern-ifood-track-button {
        width: 100% !important;
        margin-bottom: 8px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        box-sizing: border-box !important;
    }
    
    /* Estilo específico para o botão "Visualizar Pedido" */
    .section-order-history .modern-order-view-button {
        background: linear-gradient(135deg, #343a40, #495057) !important;
        color: white !important;
        padding: 10px 16px !important;
        border-radius: 6px !important;
        font-weight: 600 !important;
        font-size: 12px !important;
        transition: all 0.3s ease !important;
        border: none !important;
        cursor: pointer !important;
    }
    
    .section-order-history .modern-order-view-button:hover {
        background: linear-gradient(135deg, #495057, #6c757d) !important;
        transform: translateY(-1px) !important;
        color: white !important;
        text-decoration: none !important;
    }
    
    /* Container dos botões */
    .section-order-history .order-actions-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
        padding: 0 5px !important;
    }
}

/* Para telas muito pequenas (menos de 360px) */
@media (max-width: 360px) {
    .section-address-book .table,
    .section-order-history .table {
        font-size: 10px !important;
    }
    
    .section-address-book .table th,
    .section-address-book .table td,
    .section-order-history .table th,
    .section-order-history .table td {
        padding: 4px 2px !important;
        font-size: 9px !important;
    }
    
    .order-order-history .table th,
    .order-order-history .table td {
        font-size: 8px !important;
        padding: 2px 1px !important;
    }
    
    .section-order-history .btn {
        font-size: 9px !important;
        padding: 3px 6px !important;
    }
    
    .section-address-book .table i {
        font-size: 14px !important;
    }
}

/* === BOTÃO VOLTAR - OCULTAR EM DESKTOP === */
@media (min-width: 481px) {
    .mobile-back-button-container {
        display: none !important; /* Ocultar em desktop */
    }
}

/* iFood Timeline Styles - Mobile First */
.ifood-timeline {
    position: relative;
    padding: 15px 0;
}

/* Mobile-first: linha vertical da timeline */
.ifood-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ea1d2c, #ffc107, #28a745);
    border-radius: 2px;
}

/* Mobile-first: item da timeline */
.timeline-item {
    position: relative;
    padding: 15px 0 15px 55px;
    margin-bottom: 0;
}

/* Mobile-first: ícone da timeline */
.timeline-icon {
    position: absolute;
    left: 5px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Mobile-first: conteúdo da timeline */
.timeline-content {
    background: white;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 3px solid #ea1d2c;
    position: relative;
}

/* Mobile-first: seta do balão de conteúdo */
.timeline-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 10px 6px 0;
    border-color: transparent white transparent transparent;
}

/* Mobile-first: título */
.timeline-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
    line-height: 1.3;
}

/* Mobile-first: descrição */
.timeline-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Mobile-first: timestamp */
.timeline-timestamp {
    font-size: 11px;
    color: #999;
    font-style: italic;
}

/* Mobile-first: metadata */
.timeline-metadata {
    background: #f8f9fa;
    padding: 8px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 11px;
    border-left: 2px solid #007bff;
}

/* Mobile-first: badge de categoria */
.category-badge {
    display: inline-block;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
    margin-bottom: 6px;
}

.category-order { background-color: #007bff; }
.category-preparation { background-color: #fd7e14; }
.category-delivery { background-color: #28a745; }
.category-delivery_request { background-color: #6f42c1; }
.category-address_change { background-color: #ffc107; color: #333; }
.category-cancellation { background-color: #dc3545; }
.category-other { background-color: #6c757d; }

/* Mobile-first: estatísticas */
.timeline-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #ea1d2c;
    border-radius: 6px;
    padding: 12px;
    margin-top: 50px;
    overflow: hidden; /* CORRIGIDO: Evitar que elementos filhos saiam do container */
    box-sizing: border-box; /* CORRIGIDO: Incluir padding e border no cálculo da largura */
    margin-bottom: 20px;
}

/* Mobile-first: grid de estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    width: 100%; /* CORRIGIDO: Garantir que o grid não ultrapasse o container */
    box-sizing: border-box; /* CORRIGIDO: Incluir padding no cálculo da largura */
}

/* Mobile-first: item de estatística */
.stat-item {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 0; /* CORRIGIDO: Permitir que o item encolha quando necessário */
    overflow: hidden; /* CORRIGIDO: Evitar overflow de conteúdo */
    word-wrap: break-word; /* CORRIGIDO: Quebrar palavras longas se necessário */
    box-sizing: border-box; /* CORRIGIDO: Incluir padding no cálculo da largura */
}

/* Mobile-first: número da estatística */
.stat-number {
    font-size: 20px;
    font-weight: bold;
    color: #ea1d2c;
    display: block;
}

/* Mobile-first: label da estatística */
.stat-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Mobile-first: botão voltar */
.back-to-receipt {
    text-align: center;
    margin: 20px 0;
}

/* Mobile-first: melhorias de toque e acessibilidade */
.timeline-content {
    /* Melhor área de toque em mobile */
    min-height: 44px;
    /* Melhor contraste de texto */
    position: relative;
}

/* Mobile-first: destaque do último evento */
.timeline-item:first-child .timeline-content {
    border-left-color: #ea1d2c;
    box-shadow: 0 3px 12px rgba(234, 29, 44, 0.15);
}

/* Mobile-first: melhor espaçamento em telas pequenas */
.timeline-description code,
.timeline-description strong {
    background: rgba(234, 29, 44, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
}

/* Mobile-first: indicador de loading otimizado */
.timeline-loading {
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 12px;
}

/* Mobile-first: melhor visualização dos badges */
.category-badge {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.back-to-receipt a {
    background: linear-gradient(135deg, #ea1d2c 0%, #c41e3a 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(234, 29, 44, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.back-to-receipt a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(234, 29, 44, 0.4);
    text-decoration: none;
    color: white;
}

.no-events {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-events i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
    display: block;
}

/* Timeline Loading State */
.timeline-loading {
    position: relative;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.timeline-loading i {
    font-size: 40px;
    animation: timeline-loading-spin 1s linear infinite;
    color: #ea1d2c;
}

@keyframes timeline-loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Timeline Auto-Update Indicators */
.timeline-update-indicator {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 9999;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-update-indicator.updating {
    background: #007bff;
}

.timeline-update-indicator.error {
    background: transparent !important;
    color: #FFD700 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    box-shadow: none !important;
}

.timeline-update-indicator i {
    font-size: 14px;
}

.timeline-update-indicator.updating i {
    animation: timeline-loading-spin 1s linear infinite;
}

/* Tablet - 481px e acima */
@media (min-width: 481px) {
    .ifood-timeline {
        padding: 18px 0;
    }
    
    .ifood-timeline::before {
        left: 25px;
        width: 4px;
    }
    
    .timeline-item {
        padding: 18px 0 18px 70px;
    }
    
    .timeline-icon {
        left: 8px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    
    .timeline-content {
        padding: 15px;
        border-radius: 8px;
    }
    
    .timeline-content::before {
        left: -12px;
        border-width: 7px 12px 7px 0;
    }
    
    .timeline-title {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .timeline-description {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .timeline-timestamp {
        font-size: 12px;
    }
    
    .timeline-metadata {
        padding: 10px;
        font-size: 12px;
        margin-top: 10px;
    }
    
    .category-badge {
        padding: 4px 8px;
        font-size: 10px;
        margin-bottom: 8px;
    }
    
    .timeline-stats {
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .back-to-receipt {
        margin: 25px 0;
    }
}

/* Desktop - 769px e acima */
@media (min-width: 769px) {
    .ifood-timeline {
        padding: 20px 0;
    }
    
    .ifood-timeline::before {
        left: 50px;
    }
    
    .timeline-item {
        padding: 20px 0 20px 100px;
    }
    
    .timeline-icon {
        left: 30px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content::before {
        left: -15px;
        top: 25px;
        border-width: 8px 15px 8px 0;
    }
    
    .timeline-title {
        font-size: 18px;
    }
    
    .timeline-description {
        font-size: 14px;
    }
    
    .timeline-stats {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 15px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .back-to-receipt {
        margin: 30px 0;
    }
}

/* Large Desktop - 1200px e acima */
@media (min-width: 1200px) {
    .timeline-content {
        max-width: 80%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr); /* CORRIGIDO: Máximo 3 colunas para evitar overflow na modal */
        max-width: 100%; /* CORRIGIDO: Garantir que não ultrapasse o container */
    }
    
    /* CORRIGIDO: Para modais timeline, usar layout mais compacto */
    #timelineModal .stats-grid {
        grid-template-columns: repeat(2, 1fr); /* Na modal, usar apenas 2 colunas */
        gap: 15px;
        max-width: 100%;
        width: 100%;
    }
    
    /* CORRIGIDO: Garantir que stat-items em telas grandes não quebrem o layout */
    #timelineModal .stat-item {
        max-width: none; /* Permitir flexibilidade no tamanho */
        flex: 1; /* Se usando flexbox como fallback */
        min-width: 0; /* Permitir encolhimento */
    }
}

/* Pulse Animation for Latest Event */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Silent Update Animation */
.timeline-item.updated {
    animation: timeline-updated 1s ease-in-out;
}

@keyframes timeline-updated {
    0% { 
        background-color: rgba(40, 167, 69, 0.1);
        transform: scale(1);
    }
    50% { 
        background-color: rgba(40, 167, 69, 0.2);
        transform: scale(1.02);
    }
    100% { 
        background-color: transparent;
        transform: scale(1);
    }
}

/* Enhanced Timeline Update Indicators */
.timeline-update-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10001;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    min-width: 200px;
    max-width: 300px;
}

.timeline-update-indicator.updating {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.timeline-update-indicator.error {
    background: transparent !important;
    color: #FFD700 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.timeline-update-indicator i {
    font-size: 16px;
    flex-shrink: 0;
}

.timeline-update-indicator .timeline-spinner {
    animation: timeline-spin 1s linear infinite;
}

@keyframes timeline-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Timeline Update Indicator in Modal */
.modal-content .timeline-update-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1060;
}

/* Subtle Timeline Status Indicator */
.timeline-stats .live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #28a745;
    animation: live-pulse 2s infinite;
}

.timeline-stats .live-indicator.updating {
    background: #17a2b8;
    box-shadow: 0 0 0 2px #17a2b8;
    animation: live-pulse-updating 1s infinite;
}

@keyframes live-pulse {
    0% { 
        transform: scale(1); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 0.7; 
    }
    100% { 
        transform: scale(1); 
        opacity: 1; 
    }
}

@keyframes live-pulse-updating {
    0% { 
        transform: scale(1) rotate(0deg); 
        opacity: 1; 
    }
    50% { 
        transform: scale(1.3) rotate(180deg); 
        opacity: 0.6; 
    }
    100% { 
        transform: scale(1) rotate(360deg); 
        opacity: 1; 
    }
}

/* Responsive Updates for Mobile */
@media (max-width: 768px) {
    .timeline-update-indicator {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 12px;
        min-width: 160px;
        max-width: 250px;
    }
    
    .modal-content .timeline-update-indicator {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .timeline-update-indicator {
        top: 5px;
        right: 5px;
        padding: 8px 12px;
        font-size: 11px;
        min-width: 140px;
        max-width: 200px;
        border-radius: 20px;
    }
    
    .timeline-update-indicator span {
        display: none;
    }
    
    .timeline-update-indicator i {
        font-size: 18px;
    }
}

/* Delivery fee update indicator */
.delivery-fee-updating {
    position: relative;
}

.delivery-fee-updating::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: delivery-fee-spin 1s linear infinite;
}

@keyframes delivery-fee-spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.delivery-fee-updated {
    background-color: #e8f5e8 !important;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.delivery-fee-error {
    background-color: #ffeaea !important;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.delivery-fee-fallback {
    background-color: #fff3cd !important;
    border-left: 4px solid #ffc107 !important;
    transition: background-color 0.3s ease;
    margin: 0 auto;
}

.delivery-fee-result i,
.delivery-fee-result span {
    margin: 0 auto;
}

/* PagarMe v2 Modern Layout */
.pagarmev2-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pagarmev2-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
    margin: 20px auto;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.pagarmev2-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: pagarmev2-gradient 3s ease infinite;
}

@keyframes pagarmev2-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pagarmev2-header {
    text-align: center;
    margin-bottom: 30px;
}

.pagarmev2-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.pagarmev2-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 0;
}

.pagarmev2-form-group {
    margin-bottom: 25px;
}

.pagarmev2-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #34495e;
    margin-bottom: 8px;
}

.pagarmev2-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
    box-sizing: border-box;
}

.pagarmev2-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.pagarmev2-input::placeholder {
    color: #95a5a6;
}

.pagarmev2-input.valid {
    border-color: #27ae60;
    background: rgba(39, 174, 96, 0.05);
}

.pagarmev2-input.invalid {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.pagarmev2-input.valid:focus {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.pagarmev2-input.invalid:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.pagarmev2-btn {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
    box-sizing: border-box;
    text-align: center;
}

.pagarmev2-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pagarmev2-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.pagarmev2-btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pagarmev2-btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.pagarmev2-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.pagarmev2-icon {
    font-size: 18px;
}

.pagarmev2-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #27ae60;
    font-size: 14px;
    margin-top: 20px;
    padding: 10px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: 8px;
}

.pagarmev2-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pagarmev2-logo i {
    color: white;
    font-size: 32px;
}

.pagarmev2-btn.loading {
    position: relative;
    pointer-events: none;
}

.pagarmev2-btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: pagarmev2-loading-spin 1s ease-in-out infinite;
}

.pagarmev2-btn.loading span {
    opacity: 0;
}

@keyframes pagarmev2-loading-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
    .pagarmev2-card {
        margin: 10px;
        padding: 30px 20px;
    }
    
    .pagarmev2-title {
        font-size: 24px;
    }
    
    .pagarmev2-input,
    .pagarmev2-btn {
        padding: 14px 18px;
    }
}

/* Logo da empresa PagarMe - COMPACTO */
.pagarmev2-company-logo {
    text-align: center;
    margin-bottom: 18px;
    padding: 8px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pagarmev2-dauns-logo {
    max-height: 265px;
    height: auto;
    width: auto;
    max-width: 120px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    transition: all 0.3s ease;
    display: block;
}

.pagarmev2-dauns-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

/* Logo menor e mais compacto - v2.0 */
@media (max-width: 768px) {
    .pagarmev2-company-logo {
        padding: 8px 0;
        margin-bottom: 8px;
    }
    
    .pagarmev2-dauns-logo {
        max-height: 30px;
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .pagarmev2-company-logo {
        padding: 6px 0;
        margin-bottom: 6px;
    }
    
    .pagarmev2-dauns-logo {
        max-height: 25px;
        max-width: 80px;
    }
}

/* ========================================
   LOGO DAUNS - ALTERAÇÕES APLICADAS
   ========================================
   
   Desktop: 35px altura (era 50px)
   Mobile: 30px altura (era 45px)
   Small: 25px altura (era 40px)
   
   Padding reduzido para visual mais compacto
   Box-shadow adicionado para destacar
   
   Versão: 2.0 - Compacto
   ======================================== */

/* Enhanced delivery fee feedback styles */
.delivery-fee-updating {
	background: linear-gradient(45deg, #f8f9fa 0%, #FFF3CD 100%);
	box-shadow: 0 0 10px rgba(255, 193, 7, 0.3);
	transition: all 0.3s ease;
	border: 2px solid #FFC107;
	position: relative;
}

.delivery-fee-updating::after {
	content: '⏳ Recalculando...';
	position: absolute;
	top: -15px;
	right: 10px;
	background: rgba(255, 193, 7, 0.9);
	color: #333;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
	animation: delivery-fee-pulse 1.5s ease-in-out infinite;
	z-index: 1000;
}

.delivery-fee-updated {
	background: linear-gradient(45deg, #f8f9fa 0%, #D4EDDA 100%);
	box-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
	transition: all 0.5s ease;
	border: 2px solid #28a745;
}

.delivery-fee-updated::after {
	content: '✅ Atualizado!';
	position: absolute;
	top: -15px;
	right: 10px;
	background: rgba(40, 167, 69, 0.9);
	color: white;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: bold;
	z-index: 1000;
}

@keyframes delivery-fee-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.7; transform: scale(0.95); }
}

/* Address adding feedback */
.address-adding {
	opacity: 0.7;
	filter: blur(1px);
	transition: all 0.3s ease;
}

.address-success {
	border: 2px solid #28a745;
	background: linear-gradient(45deg, #f8f9fa 0%, #D4EDDA 100%);
	animation: success-pulse 2s ease-in-out;
}

@keyframes success-pulse {
	0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
	50% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
	100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* =============================================================================
   MENU 3 - MODERN LAYOUT STYLES
   ============================================================================= */

.menu-4.menu-modern-layout {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* Hide sidebar completely when Menu 3 is active */
body.using-menu-3 .category-list {
    display: none !important;
}

/* Make menu full width when Menu 3 is active */
body.using-menu-3 #menu-list-wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Horizontal Category Navigation */
.menu-4-category-navigation {
    border-bottom: 3px solid #e53e3e;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(229, 62, 62, 0.15);
    margin-bottom: 30px;
    padding: 15px 0;
}

.category-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Navigation arrows */
.category-nav-arrow {
    position: absolute;
    top: 77%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 0;
    color: #333;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
}

.category-nav-arrow:hover {
    background: transparent;
    color: var(--layout3-primary-color);
    transform: translateY(-50%) scale(1.2);
}

.category-nav-arrow:active {
    background: transparent;
    color: #a02626;
    transform: translateY(-50%) scale(1.0);
}

.category-nav-arrow.left {
    left: -15px;
}

.category-nav-arrow.right {
    right: -15px;
}

.category-nav-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

.category-nav-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 15px 0;
    gap: 10px;
    /* SCROLL INSTANTÂNEO - remover smooth para resposta imediata */
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    /* Remover user-select que pode causar delay */
    cursor: grab;
    /* Otimizações para scroll instantâneo */
    touch-action: manipulation;
    overscroll-behavior: none;
    scroll-snap-type: none;
    -webkit-scroll-snap-type: none;
    /* Máxima aceleração de hardware */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: scroll-position, transform;
    /* Eliminar qualquer delay */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    /* Performance crítica */
    contain: layout style paint;
    isolation: isolate;
}

.category-nav-scroll::-webkit-scrollbar {
    display: none;
}

.category-nav-item {
    flex-shrink: 0;
    white-space: nowrap;
}

.category-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: rgb(255,62,62);
    border: 2px solid transparent;
    border-radius: 25px;
    text-decoration: none;
    color: whitesmoke;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

.category-nav-link:hover {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    text-decoration: none;
}

.category-nav-link.active {
    background: linear-gradient(135deg, #e53e3e, var(--layout3-primary-color)) !important;
    color: white !important;
    border-color: #e53e3e !important;
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4) !important;
    transform: translateY(-2px);
}

.category-nav-name {
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-nav-count {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 500;
}

/* Category Header */
.menu-4-category {
    margin-bottom: 60px;
    position: relative;
}

.menu-4-category[id] {
    scroll-margin-top: 120px;
}

.category-header {
    text-align: center;
    padding: 30px 0;
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    color: #e53e3e;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.category-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #e53e3e, var(--layout3-primary-color));
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(229, 62, 62, 0.3);
}

/* Items Grid */
.menu-4-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px 0;
}

/* Item Card */
.menu-4-item-card {
    background: linear-gradient(145deg, #e53e3e 0%, var(--layout3-primary-color) 100%) !important;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid #a71010 !important;
    background-clip: padding-box;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    margin-bottom: 20px;
}

.menu-4-item-card:hover {
     box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3);
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-4-item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(229, 62, 62, 0.5);
    border-color: #e53e3e;
}

.menu-4-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.menu-4-item-link:hover {
    text-decoration: none;
    color: inherit;
}

/* Item Image */
.menu-4-item-image {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.menu-4-item-image .item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1.1) contrast(1.05);
}

.menu-4-item-card:hover .item-image {
    background: white;
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.2) contrast(1.1) saturate(1.1);
}

/* Discount Badge */
.item-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    z-index: 2;
}

/* Unavailable Overlay - REMOVED (using only unavailable-message span) */

.menu-4-item-card.item-not-available {
    opacity: 0.6;
    filter: grayscale(90%);
    position: relative;
    order: 999; /* Move to end in flexbox/grid */
}

.menu-4-item-card.item-not-available:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    cursor: not-allowed;
}

.menu-4-item-card.item-not-available::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    border-radius: 20px;
}

.menu-4-item-card.item-not-available .unavailable-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(229, 62, 62, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
    border: 2px solid #e53e3e;
}

/* Hide add to cart button for unavailable items */
.menu-4-item-card.item-not-available .add-to-cart-btn {
    display: none !important;
}

/* Item Content */
.menu-4-item-content {
    padding: 20px;
}

.item-name {
    font-size: 20px;
    font-weight: 700;
    color: black; /* Branco para contraste no fundo vermelho */
    margin: 0 0 12px 0;
    line-height: 1.3;
    min-height: 52px;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

.item-description {
    font-size: 15px;
    color: rgba(0, 0, 0, 0.9); /* Branco translúcido para contraste */
    line-height: 1.6;
    margin: 0 0 18px 0;
    min-height: 70px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    font-weight: 400;
}

/* Price Section */
.item-price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    flex-wrap: wrap;
}

.menu-4-price .normal-price {
    color: #858585; /* Branco para contraste */
}

.menu-4-price .sale-price {
    color: #2a2a2a; /* Dourado para promoções no fundo vermelho */
    font-weight: 700;
}

.menu-4-price .strike-tru {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    font-size: 28px;
    margin-right: 8px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 48px;
    height: 48px;
    background: #cef0ca;
    border: 2px solid #256f0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #256f0a;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, white, transparent);
    transition: left 0.6s;
}

.add-to-cart-btn:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.8);
    background: #cef0ca;
}

.add-to-cart-btn:hover::before {
    left: 100%;
}

.add-to-cart-btn i {
    transition: all 0.3s ease;
    z-index: 2;
}

.menu-4-item-card:hover .add-to-cart-btn i {
    transform: scale(1.3) rotate(-5deg);
}

/* No Items Message */
.no-items-message {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-items-message i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-items-message p {
    font-size: 16px;
    margin: 0;
}

/* Empty Menu Message */
.empty-menu-message {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-menu-message i {
    color: #ddd;
    margin-bottom: 30px;
}

.empty-menu-message h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.empty-menu-message p {
    font-size: 16px;
    margin: 0;
    color: #666;
}

/* Disabled Ordering */
.menu-4-disabled-ordering {
    cursor: not-allowed;
    opacity: 0.6;
}

.menu-4-disabled-ordering:hover {
    transform: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-4-category-navigation {
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 62, 62, 0.1);
}
    
    /* .category-nav-container {
        padding: 0 50px; 
    } */
    
    .category-nav-scroll {
        padding: 12px 0;
        gap: 8px;
        cursor: grab;
        /* MOBILE: Scroll instantâneo e ultra-responsivo */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: none;
        scroll-snap-type: none;
        scroll-behavior: auto; /* Instantâneo, não suave */
        /* Touch otimizado para máxima resposta */
        touch-action: manipulation;
        /* Hardware acceleration máxima */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: scroll-position, transform;
        /* Eliminar completamente delays de toque */
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-touch-callout: none;
        /* Performance crítica para mobile */
        contain: layout style paint;
        isolation: isolate;
        /* Força renderização em camada separada */
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .category-nav-scroll:active {
        cursor: grabbing;
        /* Manter aceleração durante toque ativo */
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .category-nav-scroll.scrolling {
        /* Only disable pointer events on the scroll container, not the links */
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    .category-nav-scroll.scrolling .category-nav-link {
        /* Keep links clickable even during scroll - critical for mobile */
        pointer-events: auto !important;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }
    
    /* GARANTIR que os links das categorias sempre sejam clicáveis */
    .category-nav-link,
    .category-nav-item,
    .category-child,
    a.lazy_load_item {
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1) !important;
        -webkit-touch-callout: none !important;
    }
    
    /* Show arrows on mobile for better UX */
    .category-nav-arrow {
        display: flex;
        width: 35px;
        height: 35px;
        font-size: 36px;
    }
    
    .category-nav-arrow.left {
        left: -8px;
    }
    
    .category-nav-arrow.right {
        right: -8px;
    }
    
    .category-nav-link {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .category-nav-name {
        font-size: 12px;
    }
    
    .category-nav-count {
        font-size: 11px;
    }
    
    .menu-4-items-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px 10px !important;
        width: 100% !important;
    }
    
    /* Layout horizontal dos produtos no mobile - Um produto por linha ocupando toda largura */
    .menu-4-item-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 140px !important;
        margin: 0 !important;
        margin-bottom: 15px !important;
        box-sizing: border-box !important;
    }
    
    .menu-4-item-link {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        align-items: stretch !important;
        text-decoration: none !important;
    }
    
    .menu-4-item-image {
        width: 130px !important;
        min-width: 130px !important;
        height: 100% !important;
        min-height: 140px !important;
        border-radius: 15px 0 0 15px !important;
        flex-shrink: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Aplicar object-fit: scale-down apenas para as imagens no mobile */
    .menu-4-item-image .item-image {
        background: white;
        object-fit: scale-down !important;
    }
    
    /* Botão sobreposto na imagem - Mobile Layout */
    .menu-4-item-image .add-to-cart-btn {
        position: absolute !important;
        bottom: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid #e53e3e !important;
        color: #e53e3e !important;
        border-radius: 50% !important;
        backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        z-index: 10 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        margin: 0 !important;
    }
    
    .menu-4-item-image .add-to-cart-btn:hover {
        background: #e53e3e !important;
        color: #fff !important;
        transform: scale(1.1) !important;
        box-shadow: 0 6px 18px rgba(229, 62, 62, 0.4) !important;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .menu-4-item-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
        min-width: 0 !important; /* Permite que o flex funcione corretamente */
    }
    
    .item-name {
        font-size: 18px !important;
        font-weight: 700 !important;
        min-height: auto !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        color: black !important;
    }
    
    .item-description {
        font-size: 14px !important;
        min-height: auto !important;
        margin-bottom: 12px !important;
        line-height: 1.4 !important;
        color: rgba(0, 0, 0, 0.9) !important;
        flex: 1 !important;
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    /* Container otimizado para preço - aproveita espaço disponível */
    .menu-4-item-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: auto !important;
        padding-top: 8px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .menu-4-price, p.menu-4-price {
        font-size: 18px !important;
        color: black !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        font-weight: 700 !important;
        flex: 1 !important;
        max-width: calc(100% - 50px) !important; /* Deixa espaço para o botão */
        white-space: normal !important; /* Permite quebra de linha */
        overflow: visible !important; /* Permite mostrar conteúdo */
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Ajustar preços promocionais para layout compacto - SEMPRE VISÍVEIS */
    .menu-4-price .sale-price {
        font-size: 18px !important;
        color: #2a2a2a !important;
        font-weight: 700 !important;
        display: inline-flex !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
        order: 1 !important; /* Preço promocional primeiro */
    }
    
    .menu-4-price .strike-tru,
    .menu-4-price .original-price,
    .menu-4-price .old-price,
    .menu-4-price .normal-price {
        font-size: 14px !important;
        color: #858585 !important;
        text-decoration: line-through !important;
        margin: 0 !important;
        display: inline-flex !important;
        line-height: 1.1 !important;
        order: 2 !important; /* Preço original depois */
    }
    
    /* Garantir que preços sem promoção sejam visíveis */
    .menu-4-price .normal-price:not(.strike-tru):not(.original-price):not(.old-price) {
        color: #858585 !important;
        font-size: 16px !important;
        text-decoration: line-through !important;
    }

    .normal-price{
        color: #858585 !important;
        font-size: 16px !important;
        text-decoration: line-through !important;
    }
    
    /* Esconder botão do footer - agora está na imagem */
    .menu-4-item-footer .add-to-cart-btn {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .menu-4-category-navigation {
        margin-bottom: 15px;
    }
    
    /* .category-nav-container {
        padding: 0 45px; 
    } */
    
    .category-nav-scroll {
        padding: 10px 0;
        gap: 6px;
    }
    
    .category-nav-link {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .category-nav-name {
        font-size: 11px;
    }
    
    .category-nav-count {
        font-size: 10px;
    }
    
    .menu-4-category {
        margin-bottom: 40px;
    }
    
    .category-header {
        margin-bottom: 25px;
    }
    
    .menu-4-items-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 10px 5px !important;
        width: 100% !important;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    /* Layout horizontal dos produtos em telas pequenas - Um produto por linha */
    .menu-4-item-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 120px !important;
        margin: 0 !important;
        margin-bottom: 12px !important;
        box-sizing: border-box !important;
    }
    
    .menu-4-item-link {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        align-items: stretch !important;
        text-decoration: none !important;
    }
    
    .menu-4-item-image {
        width: 110px !important;
        min-width: 110px !important;
        height: 100% !important;
        min-height: 120px !important;
        border-radius: 12px 0 0 12px !important;
        flex-shrink: 0 !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Aplicar object-fit: scale-down apenas para as imagens no mobile */
    .menu-4-item-image .item-image {
        object-fit: scale-down !important;
    }
    
    /* Botão sobreposto na imagem - Mobile Layout (telas pequenas) */
    .menu-4-item-image .add-to-cart-btn {
        position: absolute !important;
        bottom: 8px !important;
        right: 8px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 2px solid #e53e3e !important;
        color: #e53e3e !important;
        border-radius: 50% !important;
        backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease !important;
        z-index: 10 !important;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
        margin: 0 !important;
    }
    
    .menu-4-item-image .add-to-cart-btn:hover {
        background: #e53e3e !important;
        color: #fff !important;
        transform: scale(1.1) !important;
        box-shadow: 0 5px 15px rgba(229, 62, 62, 0.4) !important;
    }
    
    .menu-4-item-content {
        padding: 12px !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
        min-width: 0 !important; /* Permite que o flex funcione corretamente */
    }
    
    .item-name {
        font-size: 18px !important;
        font-weight: 700 !important;
        min-height: auto !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
        color: black !important;
    }
    
    .item-description {
        font-size: 13px !important;
        min-height: auto !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
        color: rgba(0, 0, 0, 0.9) !important;
        flex: 1 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    
    /* Container otimizado para preço - aproveita espaço disponível (480px) */
    .menu-4-item-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-top: auto !important;
        padding-top: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .menu-4-price, p.menu-4-price {
        font-size: 16px !important;
        color: black !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.15) !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        backdrop-filter: blur(10px) !important;
        flex: 1 !important;
        max-width: calc(100% - 45px) !important; /* Deixa espaço para o botão */
        white-space: normal !important; /* Permite quebra de linha */
        overflow: visible !important; /* Permite mostrar conteúdo */
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        line-height: 1.2 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Ajustar preços promocionais para layout compacto (480px) - SEMPRE VISÍVEIS */
    .menu-4-price .sale-price {
        font-size: 16px !important;
        color: #2a2a2a !important;
        font-weight: 700 !important;
        display: inline-block !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
        order: 1 !important; /* Preço promocional primeiro */
    }
    
    .menu-4-price .strike-tru,
    .menu-4-price .original-price,
    .menu-4-price .old-price,
    .menu-4-price .normal-price {
        font-size: 12px !important;
        color: #858585 !important;
        text-decoration: line-through !important;
        margin: 0 !important;
        display: block !important;
        line-height: 1.1 !important;
        order: 2 !important; /* Preço original depois */
    }
    
    /* Garantir que preços sem promoção sejam visíveis (480px) */
    .menu-4-price .normal-price:not(.strike-tru):not(.original-price):not(.old-price) {
        color: #858585 !important;
        text-decoration: none !important;
        font-size: 16px !important;
    }
    
    /* Esconder botão do footer - agora está na imagem */
    .menu-4-item-footer .add-to-cart-btn {
        display: none !important;
    }

    
    .frm-search-food .search-food-wrap {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
    }
    .frm-search-food input[type="text"],
    .frm-search-food .search-food-input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        font-size: 15px !important;
    }
    .frm-search-food button,
    .frm-search-food .search-food-btn {
        flex-shrink: 0 !important;
        margin-left: 6px !important;
        font-size: 18px !important;
    }

    .search-food-wrap .modern-search-container{
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
}

    
@media (max-width: 360px) {
    .category-nav-container {
        padding: 0 2px !important;
        gap: 6px !important;
    }
    .frm-search-food .search-food-wrap {
        padding: 0 !important;
    }
    .frm-search-food input[type="text"],
    .frm-search-food .search-food-input {
        font-size: 14px !important;
    }
    .frm-search-food button,
    .frm-search-food .search-food-btn {
        font-size: 16px !important;
    }

    .search-food-wrap .modern-search-container{
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
}

/* Animation for items appearing with staggered effect */
.menu-4-item-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Staggered animation delays are applied via JavaScript inline styles */

/* Garantir que o layout mobile funcione em todos os breakpoints */
@media (max-width: 768px) {
    /* Forçar layout de uma coluna em todos os dispositivos móveis */
    body.using-menu-3 .menu-4-items-grid,
    .menu-4-mobile-large .menu-4-items-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px 10px !important;
        width: 100% !important;
        grid-template-columns: none !important;
    }
    
    /* Garantir que cada produto ocupe toda a largura */
    body.using-menu-3 .menu-4-item-card,
    .menu-4-mobile-large .menu-4-item-card {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 0 15px 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Container principal deve ocupar toda largura */
    body.using-menu-3 .lazy_menu,
    .menu-4-mobile-large .lazy_menu {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* Remover qualquer grid que possa interferir */
    body.using-menu-3 .menu-4-category,
    .menu-4-mobile-large .menu-4-category {
        display: block !important;
        width: 100% !important;
    }
}

/* Dark mode support removed - using red background always */

/* FORCE RED BACKGROUND - UPDATED 2024 - Override any other rules */
body.using-menu-3 .menu-4-item-card,
.menu-4.menu-modern-layout .menu-4-item-card,
.menu-4-item-card,
div.menu-4-item-card,
[class*="menu-4-item-card"] {
    background:  #f4f4f4 !important;
    background-color: #f4f4f4 !important;
    border: 1px solid #a71010 !important;
}

body.using-menu-3 .menu-4-item-card:hover,
.menu-4.menu-modern-layout .menu-4-item-card:hover,
.menu-4-item-card:hover,
div.menu-4-item-card:hover,
[class*="menu-4-item-card"]:hover {
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3) !important;
}

/* Additional force for any inline styles */
.menu-4-item-card[style] {
    background:  #e9e9e9 !important;
    background-color: #e9e9e9 !important;
}

/* Modern focus states for accessibility */
.menu-4-item-link:focus {
    outline: 2px solid #e53e3e;
    outline-offset: 4px;
    border-radius: 20px;
}

/* =============================================================================
   LAYOUT 3 MODAL STYLES - MODERN PRODUCT MODAL
   ============================================================================= */

/* Load Din Pro Fonts */
@import url('https://fonts.googleapis.com/css2?family=DIN+Pro:wght@300;400;500;600;700;800;900&display=swap');

/* Fallback font loading for better compatibility */
@font-face {
    font-family: 'DIN Pro Fallback';
    src: local('Arial'), local('Arial Black'), local('Helvetica');
    font-weight: normal;
    font-style: normal;
}

/* Global Font Application for Layout 3 Sites */
body.layout3-active,
.layout3-global {
    font-family: var(--layout3-font-family) !important;
}

/* Apply Din Pro fonts globally to the site when Layout 3 is active */
.layout3-active,
.layout3-active * {
    font-family: var(--layout3-font-family) !important;
}

.layout3-active h1, .layout3-active h2, .layout3-active h3, 
.layout3-active h4, .layout3-active h5, .layout3-active h6,
.layout3-active .page-title,
.layout3-active .section-title,
.layout3-active .category-title {
    font-family: var(--layout3-font-black) !important;
    color: var(--layout3-primary-color);
    font-weight: 900 !important;
    text-shadow: 0 1px 2px rgba(140, 19, 23, 0.1);
}

.layout3-active .product-title,
.layout3-active .item-name,
.layout3-active .menu-item-name,
.layout3-active .food-item-name,
.layout3-active .restaurant-name {
    font-family: var(--layout3-font-black) !important;
    color: var(--layout3-primary-color);
    font-weight: 700 !important;
}

.layout3-active .price,
.layout3-active .money,
.layout3-active .currency,
.layout3-active .amount,
.layout3-active .total {
    font-family: var(--layout3-font-black) !important;
    color: var(--layout3-primary-color);
    font-weight: 900 !important;
}

.layout3-active p,
.layout3-active span,
.layout3-active div,
.layout3-active label,
.layout3-active input,
.layout3-active select,
.layout3-active textarea {
    font-family: var(--layout3-font-family) !important;
}

/* Layout 3 Specific Textarea Styles */
.layout3-notes-textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px;
    font-family: var(--layout3-font-family);
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s ease;
}

.layout3-notes-textarea:focus {
    border-color: var(--layout3-primary-color);
    box-shadow: 0 0 0 2px rgba(140, 19, 23, 0.1);
    outline: none;
}

.layout3-instructions-toggle {
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: var(--layout3-font-family);
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
}

.layout3-instructions-toggle:hover {
    border-color: var(--layout3-primary-color);
    color: var(--layout3-primary-color);
    background: rgba(140, 19, 23, 0.05);
}

.layout3-instructions-toggle i {
    color: var(--layout3-primary-color);
}

.layout3-active .btn-text,
.layout3-active .button-text,
.layout3-active .link-text {
    font-family: var(--layout3-font-family) !important;
    font-weight: 600 !important;
}

/* Cart Styles with Din Pro Fonts */
.layout3-active .cart-item-name,
.layout3-active .cart-product-name,
.layout3-active .checkout-item-name {
    font-family: var(--layout3-font-family) !important;
    font-weight: 700;
    color: var(--layout3-primary-color);
}

.layout3-active .cart-total,
.layout3-active .checkout-total,
.layout3-active .total-price {
    font-family: var(--layout3-font-black) !important;
    font-weight: 900;
    color: var(--layout3-primary-color);
    font-size: 1.2em;
}

.layout3-active .btn,
.layout3-active button,
.layout3-active input[type="submit"],
.layout3-active input[type="button"] {
    font-family: var(--layout3-font-family) !important;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.layout3-active .btn:hover,
.layout3-active button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(140, 19, 23, 0.2);
}

/* Layout 3 Price Display - Red Background with Yellow Text */
.layout3-price-display {
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%) !important;
    border-radius: 15px !important;
    padding: 12px 20px !important;
    position: relative !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(183, 28, 28, 0.4) !important;
    margin: 8px 0 !important;
    overflow: visible !important;
}

/* Remove the promotional card styling - back to clean design */

.layout3-price-display .layout3-price-original {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1em !important;
    text-decoration: line-through !important;
    margin-right: 12px !important;
    font-weight: 450 !important;
}

.layout3-price-display .layout3-price-discount {
    color: #FFD700 !important;
    font-family: 'DIN Pro Black', Arial Black, sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.5em !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: -1px !important;
}

/* Ensure product cards have relative positioning for badges - Enhanced for all cards */
.menu-4-item-card,
.product-card,
.item-card,
.food-item,
.menu-item,
.item-image,
.product-image,
.food-image,
.menu-image,
[class*="item"],
[class*="product"],
[class*="menu"],
[class*="food"],
.card,
.item,
.product {
    position: relative !important;
}

/* Ensure image containers are also positioned for badge placement */
.item-image-container,
.product-image-container,
.food-image-container,
.menu-image-container,
[class*="image-container"],
[class*="img-container"] {
    position: relative !important;
}

/* Discount Percentage Badge - White Background with Red Text (Previous Working Version) */
.product-discount-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: #ffffff !important;
    color: var(--layout3-primary-color, #8c1317) !important;
    font-weight: 700 !important;
    font-size: 0.85em !important;
    padding: 5px 8px !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    z-index: 15 !important;
    box-shadow: 0 2px 8px rgba(140, 19, 23, 0.3) !important;
    animation: discountPulseWhite 2s ease-in-out infinite !important;
    border: 2px solid var(--layout3-primary-color, #8c1317) !important;
    min-width: 55px !important;
    text-align: center !important;
    font-family: var(--layout3-font-family, 'DIN Pro', Arial, sans-serif) !important;
}

/* Badge on hover effect - White badge with red text */
.product-discount-badge:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(140, 19, 23, 0.5) !important;
    animation: none !important;
    background: #fafafa !important;
    color: var(--layout3-accent-color, #d32f2f) !important;
    border-color: var(--layout3-accent-color, #d32f2f) !important;
}

/* Responsive design for discount badge */
@media (max-width: 768px) {
    .product-discount-badge {
        font-size: 0.75em !important;
        padding: 4px 6px !important;
        min-width: 45px !important;
        top: 5px !important;
        right: 5px !important;
    }
}

@media (max-width: 480px) {
    .product-discount-badge {
        font-size: 1.7em !important;
        padding: 3px 5px !important;
        min-width: 40px !important;
    }
    
    .layout3-price-display {
        padding: 8px 15px !important;
        font-size: 1.9em !important;
    }
    
    .layout3-price-display .layout3-price-discount {
        font-size: 2em !important;
    }
}

/* Ensure badges work with different card layouts */
.item-card .product-discount-badge,
.menu-4-item-card .product-discount-badge,
.product-card .product-discount-badge,
.food-item .product-discount-badge,
.menu-item .product-discount-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
}

/* Special positioning for different image containers */
.item-image .product-discount-badge,
.product-image .product-discount-badge,
.food-image .product-discount-badge,
.menu-image .product-discount-badge {
    top: 5px !important;
    right: 5px !important;
}

/* Badge positioning for various container structures */
[class*="image-container"] .product-discount-badge,
[class*="img-container"] .product-discount-badge,
[class*="photo"] .product-discount-badge,
[class*="picture"] .product-discount-badge {
    top: 8px !important;
    right: 8px !important;
    z-index: 20 !important;
}

/* Force visibility over any overlay */
.product-discount-badge {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

/* ===== BANNER DE RETORNO AO CARRINHO ===== */
.cart-return-banner {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-left: 5px solid #2E7D32;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    margin-bottom: 20px;
    animation: slideInFromTop 0.6s ease-out;
}

.cart-return-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.cart-return-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.cart-return-info i {
    font-size: 2.5rem;
    color: #ffffff;
    margin-right: 20px;
    opacity: 0.9;
}

.cart-return-text h4 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cart-return-text p {
    margin: 0;
    color: #f1f8e9;
    font-size: 0.95rem;
    opacity: 0.95;
}

.cart-return-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-return-to-cart {
    background: #ffffff;
    color: #4CAF50;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-return-to-cart:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-clear-cart {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.6);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-clear-cart:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
    transform: translateY(-1px);
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo para dispositivos móveis */
@media (max-width: 768px) {
    .cart-return-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 15px;
    }
    
    .cart-return-info {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-return-info i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .cart-return-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn-return-to-cart,
    .btn-clear-cart {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .cart-return-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-return-to-cart,
    .btn-clear-cart {
        width: 100%;
        max-width: 250px;
    }
    
    .cart-return-text h4 {
        font-size: 1.1rem;
    }
    
    .cart-return-text p {
        font-size: 0.9rem;
    }
}

/* ===== MODAL MODERNA DE ENDEREÇO ===== */

/* Modal Container */
.modern-modal {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #ffffff;
    z-index: 1055; /* Garantir que esteja acima de outros elementos */
}

/* Garantir que o backdrop seja removido corretamente */
#addAddressModal .modal-backdrop {
    z-index: 1040;
}

/* Prevenir problemas de overflow no body */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Forçar que modais ocultas não interfiram na página - COMENTADO PARA PERMITIR ABERTURA DAS MODALS */
/*
.modal[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
*/

/* COMENTADO PARA PERMITIR ABERTURA DAS MODALS
.modal:not(.show) {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
*/

/* Garantir que backdrop seja removido quando modal está oculta */
body:not(.modal-open) .modal-backdrop {
    display: none !important;
    opacity: 0 !important;
    z-index: -1 !important;
}

/* ===== ADDRESS CONFIRMATION SECTION IN MENU ===== */
.address-confirmation-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%) !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06),
                0 8px 24px rgba(0, 0, 0, 0.08),
                0 16px 32px rgba(0, 0, 0, 0.10) !important;
    border: 1px solid rgba(229, 62, 62, 0.12) !important;
    border-top: 3px solid #e53e3e !important;
    padding: 24px 20px !important;
    margin-bottom: 20px !important;
    margin-top: 20px !important;
    position: relative !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.address-confirmation-section::before {
    content: "📍" !important;
    position: absolute !important;
    top: -20px !important;
    left: 20px !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: white !important;
    color: white !important;
    font-size: 20px !important;
    z-index: 11 !important;
    border-radius: 50% !important;
    border: 2px solid #e53e3e !important;
}

.address-confirmation-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.address-confirmation-header .address-icon {
    color: var(--layout3-primary-color, #8c1317);
    font-size: 20px;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.address-confirmation-header .address-title {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.address-selection-wrapper {
    margin-top: 15px;
}

.address-select-dropdown {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.address-select-dropdown:focus {
    outline: none;
    border-color: var(--layout3-primary-color, #8c1317);
    box-shadow: 0 0 0 3px rgba(140, 19, 23, 0.1);
}

.address-details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.address-details .address-info {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.address-details .address-text {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.3;
}

.address-details .address-complement {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    font-style: italic;
}

.address-details .address-placeholder {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 13px;
}

.address-details .address-placeholder i {
    margin-right: 8px;
    color: #ccc;
}

/* Address Extra Fields */
.address-extra-fields {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 12px 0;
}

.address-extra-fields .field-group {
    margin-bottom: 12px;
}

.address-extra-fields .field-group:last-child {
    margin-bottom: 0;
}

.address-extra-fields .field-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

.address-extra-fields .field-label i {
    margin-right: 6px;
    color: #e53e3e;
    width: 14px;
}

.address-extra-fields .address-extra-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease;
}

.address-extra-fields .address-extra-input:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.1);
}

.address-extra-fields .address-extra-input[readonly] {
    background: #f5f5f5;
    color: #666;
}

.address-extra-fields textarea.address-extra-input {
    resize: vertical;
    min-height: 40px;
}

.delivery-fee-display {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.delivery-fee-loading {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
    width: 100%;
    margin: 5px auto;
}

.delivery-fee-loading i {
    margin-right: 8px;
    color: var(--layout3-primary-color, #8c1317);
}

.delivery-fee-result {
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: #333;
    position: relative;
    z-index: 1;
}

.no-addresses {
    text-align: center;
    padding: 20px;
    color: #666;
}

.no-addresses i {
    font-size: 24px;
    color: #ccc;
    margin-bottom: 10px;
    display: block;
}

.no-addresses p {
    margin: 0;
    font-size: 14px;
}

.address-actions {
    margin-top: 15px;
}

.btn-add-address {
    width: 100%;
    padding: 12px 15px;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-add-address:hover {
    background: linear-gradient(135deg, #218838 0%, #155724 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-add-address i {
    margin-right: 8px;
    font-size: 13px;
}

/* Estados da seção de endereço */
.address-confirmation-section.address-selected {
    border-left: 4px solid #28a745;
}

.address-confirmation-section.address-calculating {
    border-left: 4px solid var(--layout3-primary-color, #8c1317);
}

.address-confirmation-section.address-error {
    border-left: 4px solid #dc3545;
}

/* Responsivo */
@media (max-width: 768px) {
    .address-confirmation-section {
        padding: 20px 15px !important;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
        border-radius: 15px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .address-confirmation-section::before {
        top: -15px !important;
        left: 15px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }

    
    .address-select-dropdown {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .address-details {
        padding: 10px 12px;
    }
    
    .address-extra-fields {
        padding: 12px;
        margin: 10px 0;
    }
    
    .address-extra-fields .field-label {
        font-size: 11px;
    }
    
    .address-extra-fields .address-extra-input {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .btn-add-address {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .delivery-fee-display {
        padding: 10px 12px;
        min-height: 40px;
    }
    
    /* Garantir que apareça no mobile */
    .menu-right-content .address-confirmation-section {
        display: block !important;
    }
}

/* Integração com o carrinho lateral */
.modern-cart {
    border-top: 2px solid #f0f0f0;
}

.address-confirmation-section + .modern-cart {
    margin-top: 0;
}

/* Menu Modal - Reutilizar estilos da modal principal com prefixo */
#menuAddAddressModal .modern-modal {
    z-index: 1055;
}

#menuAddAddressModal .modal-backdrop {
    z-index: 1040;
}

/* Botão salvar endereço no menu - COR VERDE */
#saveMenuNewAddressBtn.modern-btn.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    border: none;
    transition: all 0.3s ease;
}

#saveMenuNewAddressBtn.modern-btn.btn-primary:hover {
    background: linear-gradient(135deg, #218838 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
}

#saveMenuNewAddressBtn.modern-btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.4);
}

#saveMenuNewAddressBtn.modern-btn.btn-primary:disabled,
#saveMenuNewAddressBtn.modern-btn.btn-primary.loading {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Modal Header */
.modern-modal-header {
    background: linear-gradient(135deg, var(--layout3-accent-color, #8c1317) 50%, var(--layout3-primary-color, #6d0f12) 100%);
    padding: 30px;
    border: none;
    color: white;
    position: relative;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.modal-icon i {
    display: block;
    line-height: 1;
    text-align: center;
}

.modal-title-section h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.modal-subtitle {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.modern-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.modern-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Modal Body */
.modern-modal-body {
    padding: 25px;
    background: #fafafa;
}

/* Form Sections */
.form-section {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecef;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f3f4;
}

.section-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--layout3-primary-color, #8c1317) 0%, var(--layout3-primary-hover, #6d0f12) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
}

.section-icon i {
    display: block;
    line-height: 1;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

/* Search Field */
.search-field-container {
    position: relative;
    margin-bottom: 10px;
}

.search-input {
    padding-right: 50px !important;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: white;
    border-color: var(--layout3-primary-color, #8c1317);
    box-shadow: 0 0 0 3px rgba(140, 19, 23, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 16px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group.half-width {
    grid-column: span 1;
}

/* Modern Labels */
.modern-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.label-icon {
    color: var(--layout3-primary-color, #8c1317);
    font-size: 14px;
}

.required {
    color: var(--layout3-accent-color, #d32f2f);
    font-weight: 700;
}

.optional {
    color: #718096;
    font-weight: 400;
    font-size: 12px;
}

/* Modern Inputs */
.modern-input, .modern-select {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3748;
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modern-input:focus, .modern-select:focus {
    outline: none;
    border-color: var(--layout3-primary-color, #8c1317);
    box-shadow: 0 0 0 3px rgba(140, 19, 23, 0.1);
    background: #ffffff;
}

.modern-input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

/* Select Styling */
.form-group {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    pointer-events: none;
    margin-top: 15px;
}

/* ZIP Input Mask */
.zip-input {
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Field Validation */
.field-validation {
    min-height: 20px;
    margin-top: 5px;
    font-size: 12px;
    color: #e53e3e;
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-validation.valid {
    color: #38a169;
}

.field-validation.valid::before {
    content: "✓";
    font-weight: bold;
}

.field-validation.warning {
    color: #f59e0b;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.field-validation.error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.modern-input.warning {
    border-color: #f59e0b !important;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2) !important;
}

.modern-input.error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2) !important;
}

.field-validation.invalid::before {
    content: "⚠";
    font-weight: bold;
}

/* Input Help */
.input-help {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 12px;
    margin-top: 5px;
}

.input-help i {
    color: var(--layout3-primary-color, #8c1317);
}

/* Modal Footer */
.modern-modal-footer {
    background: white;
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
}

.footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Modern Buttons */
.modern-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-btn.btn-secondary {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.modern-btn.btn-secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.modern-btn.btn-primary {
    background: linear-gradient(135deg, var(--layout3-primary-color, #8c1317) 0%, var(--layout3-primary-hover, #6d0f12) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(140, 19, 23, 0.4);
}

.modern-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(140, 19, 23, 0.6);
}

.modern-btn.btn-primary:active {
    transform: translateY(0);
}

/* Botão Salvar Endereço - COR VERDE */
#saveNewAddressBtn.modern-btn.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    border: none;
    transition: all 0.3s ease;
}

#saveNewAddressBtn.modern-btn.btn-primary:hover {
    background: linear-gradient(135deg, #218838 0%, #155724 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6);
}

#saveNewAddressBtn.modern-btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.4);
}

/* Botão Salvar Endereço Mobile Cart - COR VERDE */
#saveMobileCartNewAddressBtn.modern-btn.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4) !important;
    border: none !important;
    transition: all 0.3s ease;
    text-transform: none !important;
}

#saveMobileCartNewAddressBtn.modern-btn.btn-primary:hover {
    background: linear-gradient(135deg, #218838 0%, #155724 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.6) !important;
}

#saveMobileCartNewAddressBtn.modern-btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.4) !important;
}

/* Estado de loading para o botão mobile cart */
#saveMobileCartNewAddressBtn.modern-btn.btn-primary:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none !important;
}

#saveNewAddressBtn.modern-btn.btn-primary:disabled,
#saveNewAddressBtn.modern-btn.btn-primary.loading {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    box-shadow: none;
    transform: none;
    cursor: not-allowed;
    opacity: 0.7;
}

#saveNewAddressBtn.modern-btn.btn-primary.loading .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.modern-btn.loading span {
    opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-modal-header {
        padding: 20px;
    }
    
    .modal-header-content {
        gap: 15px;
    }
    
    .modal-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-title-section h3 {
        font-size: 20px;
    }
    
    .modern-modal-body {
        padding: 20px;
    }
    
    .form-section {
        padding: 15px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-group.half-width {
        grid-column: 1;
    }
    
    .modern-modal-footer {
        padding: 15px 20px;
    }
    
    .footer-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .modern-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        margin: 10px;
    }
    
    .modern-modal {
        border-radius: 16px;
    }
    
    .modern-modal-header {
        padding: 15px;
    }
    
    .modern-modal-body {
        padding: 15px;
    }
    
    .form-section {
        padding: 12px;
        margin-bottom: 10px;
    }
}

/* Animation Enhancements */
.modal.fade .modal-dialog {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: scale(0.8) translateY(-50px);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

/* Address Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
}

.suggestion-item:hover {
    background-color: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Ensure badges appear above any content */
.product-discount-badge,
span.product-discount-badge,
div.product-discount-badge {
    z-index: 999 !important;
    pointer-events: auto !important;
}

@keyframes discountPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(211, 47, 47, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(211, 47, 47, 0.7);
    }
}

/* New white badge pulse animation */
@keyframes discountPulseWhite {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(140, 19, 23, 0.3);
        background: #ffffff;
        border-color: var(--layout3-primary-color, #8c1317);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(140, 19, 23, 0.5);
        background: #fefefe;
        border-color: var(--layout3-accent-color, #d32f2f);
    }
}

/* Remove red badge pulse animation */

/* UNIVERSAL PROMOTIONAL PRICES - Updated for new layout */
.sale-price,
.discount-price,
.promo-price,
*[class*="sale"]:not(.cart-sale-price),
*[class*="promo"],
*[class*="discount"] {
    color: #2a2a2a !important;
    font-weight: 900 !important;
    font-size: 2.2em !important;
    letter-spacing: -1px !important;
}

/* Force specific price values to be huge */
span[style*="21.91"],
span[title*="21.91"],
*[data-price*="21.91"],
.price[data-value*="21.91"] {
    font-size: 5em !important;
    color: #8c1317 !important;
    font-weight: 900 !important;
    transform: scale(1.5) !important;
    text-shadow: 0 6px 12px rgba(140, 19, 23, 0.7) !important;
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.25) 0%, rgba(140, 19, 23, 0.35) 100%) !important;
    padding: 20px 30px !important;
    border-radius: 25px !important;
    border: 6px solid #8c1317 !important;
    box-shadow: 0 10px 30px rgba(140, 19, 23, 0.6) !important;
    z-index: 300 !important;
    position: relative !important;
    display: inline-block !important;
}

/* Enhanced Promotional Prices on Main Page - Layout 3 */
.layout3-active .sale-price,
.layout3-active .discount-price,
.layout3-active .promo-price {
    color: var(--layout3-primary-color) !important;
    font-family: var(--layout3-font-black) !important;
    font-weight: 900 !important;
    font-size: 4em !important;
    text-shadow: 0 5px 10px rgba(140, 19, 23, 0.6) !important;
    position: relative;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.2) 0%, rgba(140, 19, 23, 0.3) 100%);
    border-radius: 20px;
    border: 5px solid var(--layout3-primary-color);
    display: inline-block;
    animation: ultraPromotionalGlow 1.2s ease-in-out infinite;
    transform: scale(1.4);
    margin: 15px 0;
    letter-spacing: -1.2px;
    line-height: 1;
    min-width: auto;
    box-shadow: 0 8px 25px rgba(140, 19, 23, 0.5);
    z-index: 200;
}

.layout3-active .sale-price::before,
.layout3-active .discount-price::before,
.layout3-active .promo-price::before {
    content: '🔥';
    position: absolute;
    top: -8px;
    right: -6px;
    font-size: 12px;
    background: linear-gradient(135deg, var(--layout3-primary-color) 0%, var(--layout3-accent-color) 100%);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(140, 19, 23, 0.4);
    animation: fireBounce 1.5s ease-in-out infinite;
    z-index: 10;
}

@keyframes fireBounce {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    25% { 
        transform: scale(1.1) rotate(-5deg);
    }
    75% { 
        transform: scale(1.1) rotate(5deg);
    }
}

/* Additional selectors for common price classes in main page */
.layout3-active .price-sale,
.layout3-active .sale,
.layout3-active .promo,
.layout3-active .discount,
.layout3-active .special-price,
.layout3-active .current-price,
.layout3-active .price-now,
.layout3-active .now-price,
.layout3-active .promotional-price {
    color: var(--layout3-primary-color) !important;
    font-family: var(--layout3-font-black) !important;
    font-weight: 900 !important;
    font-size: 2.8em !important;
    text-shadow: 0 3px 6px rgba(140, 19, 23, 0.4);
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.12) 0%, rgba(140, 19, 23, 0.2) 100%);
    padding: 10px 18px;
    border-radius: 14px;
    border: 3px solid var(--layout3-primary-color);
    display: inline-block;
    animation: megaPromotionalGlow 1.4s ease-in-out infinite;
    transform: scale(1.18);
    margin: 6px 0;
    line-height: 1;
    letter-spacing: -0.9px;
    box-shadow: 0 5px 18px rgba(140, 19, 23, 0.35);
    position: relative;
    z-index: 10;
}

/* Original price improvements for different selectors */
.layout3-active .price-original,
.layout3-active .original,
.layout3-active .was-price,
.layout3-active .old,
.layout3-active .crossed-price,
.layout3-active .previous-price {
    text-decoration: line-through !important;
    color: #777 !important;
    font-size: 0.7em !important;
    opacity: 0.5;
    margin-right: 10px;
    font-family: var(--layout3-font-family);
    font-weight: 300 !important;
    background: rgba(119, 119, 119, 0.08);
    padding: 1px 4px;
    border-radius: 3px;
}

/* UNIVERSAL ORIGINAL PRICES - ALWAYS TINY BUT VISIBLE */
.original-price,
.old-price,
.regular-price,
*[class*="old-price"],
*[class*="old_price"],
*[class*="oldprice"],
*[class*="regular-price"],
*[class*="regular_price"],
*[class*="regularprice"],
*[class*="was-price"],
*[class*="was_price"],
*[class*="wasprice"] {
    text-decoration: line-through !important;
    color: #888 !important;
    font-size: 0.4em !important;
    opacity: 0.6 !important;
    margin-right: 8px !important;
    font-family: Arial, sans-serif !important;
    font-weight: 300 !important;
    background: rgba(136, 136, 136, 0.1) !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    position: relative !important;
    display: inline-block !important;
    vertical-align: super !important;
}

/* Exceção específica para span.bold - não aplicar estilos de preço */
span.bold {
    text-decoration: none !important;
    opacity: 1 !important;
    font-size: inherit !important;
    font-weight: bold !important;
    background: transparent !important;
    margin-right: 0 !important;
    padding: 0 !important;
    display: inline !important;
    vertical-align: baseline !important;
    margin-top: 2px !important;
    z-index: 1 !important;
    color: #888 !important;
}

.layout3-active .original-price,
.layout3-active .old-price,
.layout3-active .regular-price {
    text-decoration: line-through !important;
    color: #ccc !important;
    font-size: 0.2em !important;
    opacity: 0.15 !important;
    margin-right: 8px;
    font-family: var(--layout3-font-family);
    font-weight: 100 !important;
    background: rgba(204, 204, 204, 0.03);
    padding: 0px 1px;
    border-radius: 2px;
    position: relative;
    display: inline-block;
    vertical-align: super;
    margin-top: 6px;
}

.layout3-active .original-price::after,
.layout3-active .old-price::after,
.layout3-active .regular-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #888;
    transform: translateY(-50%) rotate(-5deg);
}

@keyframes promotionalGlow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(140, 19, 23, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 15px rgba(140, 19, 23, 0.4);
        transform: scale(1.02);
    }
}

@keyframes superPromotionalGlow {
    0%, 100% { 
        box-shadow: 0 0 8px rgba(140, 19, 23, 0.3), 0 0 16px rgba(140, 19, 23, 0.1);
        transform: scale(1.05);
        border-color: var(--layout3-primary-color);
    }
    50% { 
        box-shadow: 0 0 20px rgba(140, 19, 23, 0.5), 0 0 30px rgba(140, 19, 23, 0.2);
        transform: scale(1.08);
        border-color: var(--layout3-accent-color);
    }
}

@keyframes megaPromotionalGlow {
    0%, 100% { 
        box-shadow: 0 0 12px rgba(140, 19, 23, 0.4), 0 0 24px rgba(140, 19, 23, 0.2), 0 4px 16px rgba(140, 19, 23, 0.3);
        transform: scale(1.15);
        border-color: var(--layout3-primary-color);
        filter: brightness(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(140, 19, 23, 0.6), 0 0 50px rgba(140, 19, 23, 0.3), 0 8px 24px rgba(140, 19, 23, 0.4);
        transform: scale(1.2);
        border-color: var(--layout3-accent-color);
        filter: brightness(1.1);
    }
}

/* Specific styles for different product blocks on main page */
.layout3-active .menu-4-item-card .sale-price,
.layout3-active .product-item .sale-price,
.layout3-active .food-item-card .sale-price,
.layout3-active .item-card .sale-price {
    font-size: 1.8em !important;
    font-weight: 900 !important;
    text-shadow: 0 3px 6px rgba(140, 19, 23, 0.4);
    background: linear-gradient(135deg, var(--layout3-primary-color) 0%, var(--layout3-accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.layout3-active .menu-4-item-card .sale-price::after,
.layout3-active .product-item .sale-price::after,
.layout3-active .food-item-card .sale-price::after,
.layout3-active .item-card .sale-price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--layout3-primary-color), var(--layout3-accent-color));
    border-radius: 2px;
    z-index: 1;
}

/* Price container improvements */
.layout3-active .menu-4-price,
.layout3-active .product-price,
.layout3-active .item-price {
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Badge for discount percentage */
.layout3-active .discount-badge,
.layout3-active .off-badge,
.layout3-active .sale-badge {
    background: linear-gradient(135deg, var(--layout3-primary-color) 0%, var(--layout3-accent-color) 100%);
    color: white;
    font-family: var(--layout3-font-black);
    font-weight: 900;
    font-size: 0.8em;
    padding: 4px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(140, 19, 23, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.layout3-active .discount-badge::before,
.layout3-active .off-badge::before,
.layout3-active .sale-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Special handling for Menu 4 price display which is common in main page */
.layout3-active .menu-4-price .sale-price,
.layout3-active .menu-4-item-price .sale-price,
.layout3-active .product-card-price .sale-price {
    color: var(--layout3-primary-color) !important;
    font-size: 3em !important;
    font-weight: 900 !important;
    font-family: var(--layout3-font-black) !important;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.15) 0%, rgba(140, 19, 23, 0.25) 100%) !important;
    padding: 12px 20px !important;
    border-radius: 16px !important;
    border: 4px solid var(--layout3-primary-color) !important;
    margin: 8px 0 !important;
    transform: scale(1.2) !important;
    animation: megaPromotionalGlow 1.3s ease-in-out infinite !important;
    box-shadow: 0 6px 20px rgba(140, 19, 23, 0.4) !important;
    line-height: 1 !important;
    letter-spacing: -1px !important;
}

/* Original prices in Menu 4 should be much smaller */
.layout3-active .menu-4-price .original-price,
.layout3-active .menu-4-price .old-price,
.layout3-active .menu-4-price .regular-price,
.layout3-active .menu-4-item-price .original-price,
.layout3-active .menu-4-item-price .old-price,
.layout3-active .menu-4-item-price .regular-price {
    font-size: 0.35em !important;
    opacity: 0.3 !important;
    color: #bbb !important;
    font-weight: 200 !important;
    margin-right: 6px !important;
    vertical-align: super !important;
    margin-top: 0 !important;
    text-decoration: line-through !important;
    background: rgba(187, 187, 187, 0.05) !important;
    padding: 0px 2px !important;
    border-radius: 2px !important;
}

.layout3-active .menu-4-price .sale-price::after,
.layout3-active .menu-4-item-price .sale-price::after,
.layout3-active .product-card-price .sale-price::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--layout3-primary-color), var(--layout3-accent-color));
    border-radius: 3px;
    animation: priceUnderline 1.8s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(140, 19, 23, 0.3);
}

@keyframes priceUnderline {
    0%, 100% { 
        transform: scaleX(1);
        opacity: 0.8;
    }
    50% { 
        transform: scaleX(1.1);
        opacity: 1;
    }
}

/* Improve the overall price container in cards */
.layout3-active .menu-4-item-card,
.layout3-active .product-card,
.layout3-active .item-card {
    position: relative;
    overflow: visible;
}

.layout3-active .menu-4-item-card:has(.sale-price),
.layout3-active .product-card:has(.sale-price),
.layout3-active .item-card:has(.sale-price) {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--layout3-primary-color), var(--layout3-accent-color)) border-box;
    animation: cardPromoGlow 3s ease-in-out infinite;
}

@keyframes cardPromoGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(140, 19, 23, 0.1));
    }
    50% { 
        filter: drop-shadow(0 0 15px rgba(140, 19, 23, 0.3));
    }
}

/* Enhanced classes added by JavaScript */
.layout3-enhanced-price {
    position: relative !important;
    z-index: 5 !important;
}

.layout3-price-container-enhanced {
    position: relative;
    padding: 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(140, 19, 23, 0.1);
}

.layout3-original-price-enhanced {
    position: relative;
    z-index: 1;
}

/* MEGA PRICES MODE - Ultra emphasized promotional prices */
.layout3-mega-prices-active .sale-price,
.layout3-mega-prices-active .discount-price,
.layout3-mega-prices-active .promo-price,
.layout3-mega-prices-active .price-sale,
.layout3-mega-prices-active .sale,
.layout3-mega-prices-active .promo,
.layout3-mega-prices-active .discount {
    font-size: 4em !important;
    font-weight: 900 !important;
    color: var(--layout3-primary-color) !important;
    text-shadow: 0 5px 10px rgba(140, 19, 23, 0.5) !important;
    transform: scale(1.3) !important;
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.2) 0%, rgba(140, 19, 23, 0.3) 100%) !important;
    padding: 15px 25px !important;
    border-radius: 20px !important;
    border: 5px solid var(--layout3-primary-color) !important;
    box-shadow: 0 8px 25px rgba(140, 19, 23, 0.5) !important;
    animation: ultraPromotionalGlow 1.2s ease-in-out infinite !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 20 !important;
    margin: 10px 0 !important;
    line-height: 1 !important;
    letter-spacing: -1.2px !important;
}

.layout3-mega-prices-active .original-price,
.layout3-mega-prices-active .old-price,
.layout3-mega-prices-active .regular-price {
    font-size: 0.25em !important;
    opacity: 0.2 !important;
    color: #ccc !important;
    font-weight: 100 !important;
}

@keyframes ultraPromotionalGlow {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(140, 19, 23, 0.5), 0 0 30px rgba(140, 19, 23, 0.3), 0 8px 25px rgba(140, 19, 23, 0.5);
        transform: scale(1.3);
        filter: brightness(1);
    }
    50% { 
        box-shadow: 0 0 35px rgba(140, 19, 23, 0.7), 0 0 60px rgba(140, 19, 23, 0.4), 0 12px 35px rgba(140, 19, 23, 0.6);
        transform: scale(1.35);
        filter: brightness(1.15);
    }
}

@keyframes yellowGlow {
    0%, 100% { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(255, 215, 0, 0.8);
        transform: scale(1.4);
        filter: brightness(1);
    }
    50% { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 1);
        transform: scale(1.45);
        filter: brightness(1.2);
    }
}

@keyframes fireBlinkPulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
        background: #8c1317;
        box-shadow: 0 0 8px rgba(140, 19, 23, 0.6);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.1);
        background: #d32f2f;
        box-shadow: 0 0 15px rgba(211, 47, 47, 0.8);
    }
}

@keyframes buttonRedPulse {
    0%, 100% { 
        background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
        box-shadow: 0 2px 8px rgba(140, 19, 23, 0.1);
        border-color: #e0e0e0;
    }
    50% { 
        background: linear-gradient(135deg, #ffffff 0%, rgba(140, 19, 23, 0.05) 100%);
        box-shadow: 0 4px 12px rgba(140, 19, 23, 0.2);
        border-color: rgba(140, 19, 23, 0.3);
    }
}

/* Remove red backgrounds/borders and convert to yellow text - User Request */
*[style*="background:#dc3545"],
*[style*="background-color:#dc3545"],
*[style*="background:#CB202D"],
*[style*="background-color:#CB202D"],
*[style*="background:#D85030"],
*[style*="background-color:#D85030"],
*[style*="border:#8c1317"],
*[style*="border-color:#8c1317"],
*[style*="border:#CB202D"],
*[style*="border-color:#CB202D"],
*[style*="border:#D85030"],
*[style*="border-color:#D85030"],
.red-alert,
.error-message,
.alert-danger,
.notification-error,
.warning-red,
.promo-card,
.sale-card,
.discount-card,
*[class*="red-bg"],
*[class*="error-bg"],
*[class*="promo"],
*[class*="sale"]:not(.cart-sale-price),
*[class*="discount"] {
    background: transparent !important;
    background-color: transparent !important;
    color: #2a2a2a !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Remove red borders from promotional cards - but keep layout3-price-display */
.menu-4-item-card:not(.layout3-price-display),
.product-card:not(.layout3-price-display),
.item-card:not(.layout3-price-display) {
    border-color: transparent !important;
}

/* Exception for layout3-price-display to keep red background */
.layout3-price-display {
    border: none !important;
    /* Keep the red background as defined above */
}

/* Estilos para o localizador de lojas */
.locator-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    margin-top: 20px;
}

.locator-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.location-search {
    margin-bottom: 20px;
}

.location-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.location-input:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.location-list {
    background: #f9f9f9;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.loading-stores {
    text-align: center;
    padding: 20px;
    color: #666;
}

.loading-stores i {
    margin-right: 8px;
}

.no-stores-found {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}

.store-error {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
    background-color: #ffebee;
    border-radius: 4px;
    margin: 10px 0;
}

.location-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #f4f4f4;
    transition: background-color 0.2s ease;
    margin: 0;
}

.location-item:hover,
.location-item-link:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

.location-item-link {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #f4f4f4;
    transition: background-color 0.2s ease;
    margin: 0;
    text-decoration: none;
    color: inherit;
}

.location-item-link:last-child {
    border-bottom: none;
}

.location-item:last-child {
    border-bottom: none;
}

.location-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #9E9E9E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

.location-icon i {
    color: white;
    font-size: 16px;
}

.location-details {
    flex: 1;
    min-width: 0;
}

.location-details h4 {
    margin: 0 0 2px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

.location-details p {
    margin: 1px 0;
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
}

.location-details .address-info {
    color: #666666;
    font-size: 14px;
}

.location-details .city-info {
    color: #999999;
    font-size: 14px;
}

/* Fallback for browsers that don't support :has() */
.layout3-active .menu-4-item-card.has-sale-price,
.layout3-active .product-card.has-sale-price,
.layout3-active .item-card.has-sale-price {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--layout3-primary-color), var(--layout3-accent-color)) border-box;
    animation: cardPromoGlow 3s ease-in-out infinite;
}

/* Enhanced Hover Effects for Layout 3 - Red Theme */
.layout3-active .menu-4-item-card:hover,
.layout3-active .product-card:hover,
.layout3-active .item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(140, 19, 23, 0.5);
    border-color: var(--layout3-primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Animations - White with Red Pulse */
.layout3-active button,
.layout3-active .btn,
.layout3-active input[type="button"],
.layout3-active input[type="submit"],
.layout3-active .add-cart-btn,
.layout3-active .cart-btn,
.layout3-active .add-to-cart,
.layout3-active .add-item-btn,
.layout3-active .circular-btn,
button[style*="border-radius"]:not(.layout3-add-btn) {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important;
    border: 1px solid #e0e0e0 !important;
    color: #8c1317 !important;
    animation: buttonRedPulse 2s ease-in-out infinite !important;
    font-weight: 600 !important;
}

.layout3-active button:hover,
.layout3-active .btn:hover,
.layout3-active input[type="button"]:hover,
.layout3-active input[type="submit"]:hover,
.layout3-active .add-cart-btn:hover,
.layout3-active .cart-btn:hover,
.layout3-active .add-to-cart:hover,
.layout3-active .add-item-btn:hover,
.layout3-active .circular-btn:hover,
button[style*="border-radius"]:not(.layout3-add-btn):hover {
    background: linear-gradient(135deg, #ffffff 0%, rgba(140, 19, 23, 0.1) 100%) !important;
    border-color: var(--layout3-primary-color) !important;
    color: var(--layout3-primary-color) !important;
    box-shadow: 0 6px 16px rgba(140, 19, 23, 0.3) !important;
    transform: translateY(-2px) scale(1.05) !important;
    animation: none !important;
}

/* Specific styles for circular add buttons (+) */
.layout3-active .circular-add-btn,
.layout3-active button[style*="border-radius: 50%"],
.layout3-active button[style*="border-radius:50%"],
.layout3-active button[style*="border-radius: 100%"],
.layout3-active .round-btn,
.layout3-active .plus-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%) !important;
    border: 2px solid var(--layout3-primary-color) !important;
    color: var(--layout3-primary-color) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    animation: buttonRedPulse 2.5s ease-in-out infinite !important;
    box-shadow: 0 4px 12px rgba(140, 19, 23, 0.2) !important;
}

.layout3-active .circular-add-btn:hover,
.layout3-active button[style*="border-radius: 50%"]:hover,
.layout3-active button[style*="border-radius:50%"]:hover,
.layout3-active button[style*="border-radius: 100%"]:hover,
.layout3-active .round-btn:hover,
.layout3-active .plus-btn:hover {
    background: var(--layout3-primary-color) !important;
    color: white !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 18px rgba(140, 19, 23, 0.4) !important;
    animation: none !important;
}

.layout3-active .menu-4-item-card:hover .item-image,
.layout3-active .product-card:hover .item-image,
.layout3-active .item-card:hover .item-image {
    background: white;
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.2) contrast(1.1) saturate(1.1);
    transition: all 0.4s ease;
}

/* Cart Items Hover Effects */
.layout3-active .cart-item:hover,
.layout3-active .checkout-item:hover {
    background: linear-gradient(135deg, #fff 0%, #fcf8f8 100%);
    border-left: 4px solid var(--layout3-primary-color);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(140, 19, 23, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Menu Links Hover Effects */
.layout3-active .menu-item:hover,
.layout3-active .category-item:hover,
.layout3-active .nav-item:hover {
    color: var(--layout3-primary-color);
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.05) 0%, rgba(140, 19, 23, 0.1) 100%);
    border-radius: 8px;
    transform: translateX(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Glow Effect on Hover */
.layout3-active .btn-primary:hover,
.layout3-active .add-to-cart:hover,
.layout3-active .checkout-btn:hover {
    background: linear-gradient(135deg, var(--layout3-primary-color) 0%, var(--layout3-accent-color) 100%);
    box-shadow: 0 0 20px rgba(140, 19, 23, 0.4);
    transform: translateY(-2px) scale(1.02);
}

/* Price Hover Animation */
.layout3-active .price:hover,
.layout3-active .money:hover {
    color: var(--layout3-accent-color);
    text-shadow: 0 0 8px rgba(140, 19, 23, 0.3);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Root Variables for Layout 3 */
:root {
    --layout3-primary-color: #8c1317;
    --layout3-primary-hover: #6d0f12;
    --layout3-accent-color: #d32f2f;
    --layout3-font-family: 'DIN Pro', 'DIN Pro Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --layout3-font-condensed: 'DIN Pro Condensed', 'Arial Narrow', Arial, sans-serif;
    --layout3-font-black: 'DIN Pro Black', 'Arial Black', Arial, sans-serif;
    --layout3-success-green: #4caf50;
    --layout3-warning-orange: #ff9800;
}

/* Modern Order Details H1 Styling */
.section-receipt h1,
.section-grey2 h1 {
    font-family: var(--layout3-font-black) !important;
    font-weight: 900 !important;
    color: var(--layout3-primary-color) !important;
    font-size: 2.5rem !important;
    text-align: center !important;
    margin: 30px 0 40px 0 !important;
    position: relative !important;
    text-shadow: 0 2px 4px rgba(140, 19, 23, 0.1) !important;
    letter-spacing: -0.5px !important;
    background: transparent !important;
    background-color: transparent !important;
}

.section-receipt h1::after,
.section-grey2 h1::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--layout3-primary-color), var(--layout3-accent-color));
    border-radius: 2px;
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% { 
        width: 80px; 
        opacity: 1; 
    }
    50% { 
        width: 120px; 
        opacity: 0.8; 
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-receipt h1,
    .section-grey2 h1 {
        font-size: 2rem !important;
        margin: 20px 0 30px 0 !important;
    }
    
    .section-receipt h1::after,
    .section-grey2 h1::after {
        width: 60px;
        bottom: -10px;
    }
}

@media (max-width: 480px) {
    .section-receipt h1,
    .section-grey2 h1 {
        font-size: 1.75rem !important;
        margin: 15px 0 25px 0 !important;
    }
}

/* Main modal container */
.layout3-modal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff !important;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    font-family: var(--layout3-font-family);
    position: relative;
}

/* Force override fancybox styles for Layout 3 */
.fancybox-inner .layout3-modal-content,
#fancybox-content .layout3-modal-content {
    max-width: 900px !important;
    width: 100% !important;
    background: #ffffff !important;
}

/* FORÇAR VISIBILIDADE DO BOTÃO FECHAR FANCYBOX */
.fancybox-close {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    width: 36px !important;
    height: 36px !important;
    z-index: 8040 !important;
    /* background-color: #dc3545 !important; */
    border-radius: 50% !important;
    border: 2px solid #fff !important;
}

/* Modal header */
.layout3-modal-header {
    position: relative;
    padding: 24px 32px 16px;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.layout3-modal-title {
    font-size: 24px;
    font-weight: 900;
    font-family: var(--layout3-font-black);
    color: var(--layout3-primary-color);
    margin: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(140, 19, 23, 0.1);
}

.layout3-close-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.layout3-close-btn:hover {
    background: #e0e0e0;
    color: #333;
    transform: scale(1.05);
}

/* Modal body */
.layout3-modal-body {
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Product hero section */
.layout3-product-hero {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.layout3-product-image {
    flex: 0 0 300px;
    position: relative;
}

.layout3-hero-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.layout3-product-info {
    flex: 1;
    padding-top: 8px;
}

.layout3-product-name {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.layout3-product-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.layout3-product-price {
    margin-bottom: 16px;
}

.layout3-price-display {
    font-size: 28px;
    font-weight: bold;
    font-family: var(--layout3-primary-hover);    
    color: white !important;
}

.layout3-points-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #fff7e6 0%, #fef3e2 100%);
    border-radius: 12px;
    border: 1px solid #f0e6d2;
    color: #b45309;
    font-size: 14px;
    font-weight: 500;
}

.layout3-points-info i {
    color: var(--layout3-primary-color);
}

/* Options container */
.layout3-options-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Section styles */
.layout3-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 32px;
}

.layout3-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.layout3-section-title {
    font-size: 20px;
    font-weight: 800;
    font-family: var(--layout3-font-black);
    color: var(--layout3-primary-color);
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    text-shadow: 0 1px 2px rgba(140, 19, 23, 0.1);
}

.layout3-section-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0 0 20px 0;
    font-weight: 500;
    font-family: var(--layout3-font-family);
}

.layout3-section-description {
    font-size: 14px;
    color: #888;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

/* Price options */
.layout3-price-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layout3-price-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.layout3-price-option:hover {
    border-color: var(--layout3-primary-color);
    background: #fffcf5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.layout3-price-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: var(--layout3-primary-color);
}

.layout3-price-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.layout3-size-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.layout3-size-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--layout3-primary-color);
}

.layout3-price-original {
    text-decoration: line-through;
    color: #999;
    margin-right: 12px;
    font-size: 0.9em;
    font-family: var(--layout3-font-family);
    font-weight: 400;
    opacity: 0.7;
}

.layout3-price-discount {
    color: var(--layout3-primary-color);
    font-family: var(--layout3-font-black);
    font-weight: 900;
    font-size: 1.4em;
    text-shadow: 0 1px 2px rgba(140, 19, 23, 0.2);
    position: relative;
}

.layout3-price-discount::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--layout3-primary-color), var(--layout3-accent-color));
    border-radius: 1px;
}

/* Enhanced promotional price container */
.layout3-price-display:has(.layout3-price-discount) {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(140, 19, 23, 0.05) 0%, rgba(140, 19, 23, 0.1) 100%);
    border-radius: 12px;
    border: 1px solid rgba(140, 19, 23, 0.2);
    position: relative;
    overflow: visible; /* Changed from hidden to visible to prevent badge clipping */
}

.layout3-price-display:has(.layout3-price-discount)::before {
    content: '🔥 OFERTA';
    position: absolute;
    top: -6px;
    right: 8px;
    background: var(--layout3-primary-color);
    color: white;
    font-size: 18px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--layout3-font-black);
    transform: rotate(12deg);
    box-shadow: 0 2px 8px rgba(140, 19, 23, 0.3);
    z-index: 10;
}

/* Promotional price animation */
.layout3-price-discount {
    animation: promotionalPulse 2s ease-in-out infinite;
}

@keyframes promotionalPulse {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 0 1px 2px rgba(140, 19, 23, 0.2);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 0 2px 8px rgba(140, 19, 23, 0.4);
    }
}

/* Cooking options */
.layout3-cooking-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.layout3-cooking-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.layout3-cooking-option:hover {
    border-color: var(--layout3-primary-color);
    background: #fffcf5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.layout3-cooking-option input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: var(--layout3-primary-color);
}

.layout3-cooking-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.layout3-cooking-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.layout3-cooking-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.layout3-cooking-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

/* Ingredients */
.layout3-ingredients-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.layout3-ingredient-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
}

.layout3-ingredient-option:hover {
    border-color: var(--layout3-primary-color);
    background: #fffcf5;
}

.layout3-ingredient-checkbox {
    margin-right: 12px;
    transform: scale(1.2);
    accent-color: var(--layout3-primary-color);
}

.layout3-ingredient-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Addons */
.layout3-addons-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.layout3-addon-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 24px;
}

.layout3-addon-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.layout3-addon-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fafafa;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.layout3-addon-option:hover {
    border-color: var(--layout3-primary-color);
    background: #fffcf5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.layout3-addon-checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.layout3-addon-checkbox,
.layout3-addon-radio {
    transform: scale(1.2);
    accent-color: var(--layout3-primary-color);
}

.layout3-addon-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 200px;
    flex-wrap: wrap;
    gap: 8px;
}

.layout3-addon-info {
    flex: 1;
}

.layout3-addon-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 4px;
}

.layout3-addon-desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.layout3-addon-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--layout3-primary-color);
    margin-left: 16px;
}

/* Quantity controls */
.layout3-quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.layout3-qty-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border: 1px solid var(--layout3-primary-color);
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--layout3-primary-color);
    font-family: var(--layout3-font-family);
    font-weight: 600;
    flex-shrink: 0;
    box-sizing: border-box;
}

.layout3-qty-btn:hover {
    background: var(--layout3-primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(140, 19, 23, 0.2);
}

.layout3-qty-input,
.layout3-qty-main-input {
    width: 50px;
    height: 32px;
    min-width: 50px;
    min-height: 32px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-family: var(--layout3-font-family);
    color: #333;
    background: #fff;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* Main quantity section */
.layout3-quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.layout3-qty-main-minus,
.layout3-qty-main-plus {
    width: 48px;
    height: 48px;
    border: 2px solid var(--layout3-primary-color);
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--layout3-primary-color);
    font-size: 18px;
}

.layout3-qty-main-minus:hover,
.layout3-qty-main-plus:hover {
    background: var(--layout3-primary-color);
    color: #fff;
    transform: scale(1.05);
}

.layout3-qty-main-input {
    width: 80px;
    height: 48px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    background: #fff;
}

.layout3-stock-info {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Special instructions - Layout3 - Always Visible and Centered */
.layout3-instructions-section {
    margin: 16px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.layout3-notes-wrap {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.layout3-notes-wrap.notes-wrap {
    display: flex !important;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0 auto;
}

.layout3-notes-textarea {
    width: 100%;
    max-width: 600px;
    min-height: 100px;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
    background: #ffffff;
    margin: 0 auto;
}

.layout3-notes-textarea:focus {
    outline: none;
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.layout3-notes-textarea::placeholder {
    color: #6c757d;
    font-style: italic;
    opacity: 0.8;
}

/* Gallery */
.layout3-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.layout3-gallery-item {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.layout3-gallery-item:hover {
    transform: scale(1.05);
}

.layout3-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dropdown */
.layout3-dropdown-wrap {
    margin-top: 12px;
}

.layout3-addon-select {
    width: 100%;
    padding: 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.layout3-addon-select:focus {
    outline: none;
    border-color: var(--layout3-primary-color);
}

/* Quantity Controls */
.layout3-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
}

.layout3-quantity-section .layout3-qty-btn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-shrink: 0;
}

.layout3-quantity-section .layout3-qty-main-input {
    width: 80px !important;
    height: 44px !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    flex-shrink: 0;
}

/* Modal footer */
.layout3-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #f0f0f0;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.layout3-footer-content {
    display: flex;
    justify-content: center;
}

.layout3-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--layout3-primary-color) 0%, var(--layout3-primary-hover) 100%);
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--layout3-font-black);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(140, 19, 23, 0.3);
    position: relative;
    overflow: hidden;
}

.layout3-add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.layout3-add-btn:hover {
    background: linear-gradient(135deg, var(--layout3-accent-color) 0%, var(--layout3-primary-color) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(140, 19, 23, 0.4);
    filter: brightness(1.1);
}

.layout3-add-btn:hover::before {
    left: 100%;
}

.layout3-add-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.layout3-total-price {
    font-weight: 800;
    font-size: 18px;
}

/* Error message */
.layout3-error-message {
    text-align: center;
    color: #e53e3e;
    font-size: 16px;
    padding: 40px 20px;
    background: #fef5f5;
    border-radius: 12px;
    border: 1px solid #fed7d7;
}

/* Responsive design */
@media (max-width: 768px) {
    .layout3-modal-content {
        margin: 10px;
        border-radius: 16px;
        max-width: none;
    }
    
    .layout3-modal-header {
        padding: 20px 24px 12px;
    }
    
    .layout3-modal-title {
        font-size: 20px;
    }
    
    .layout3-modal-body {
        padding: 20px 16px;
        max-height: 60vh;
    }
    
    /* COMPACT ADDON SECTIONS FOR MOBILE */
    .layout3-addons-container {
        gap: 16px !important;
    }
    
    .layout3-addon-section {
        padding-bottom: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .layout3-addon-options {
        gap: 6px !important;
    }
    
    .layout3-product-hero {
        flex-direction: column;
        gap: 20px;
    }
    
    .layout3-product-image {
        flex: none;
        width: 100%;
    }
    
    .layout3-hero-image {
        height: 220px;
    }
    
    .layout3-product-name {
        font-size: 24px;
    }
    
    .layout3-cooking-options {
        grid-template-columns: 1fr;
    }
    
    .layout3-ingredients-options {
        grid-template-columns: 1fr;
    }
    
    /* MOBILE LAYOUT 3 - BALANCED ADDON LAYOUT */
    .layout3-addon-option {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 16px !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        border: 1px solid #e8e8e8 !important;
        min-height: auto !important;
    }
    
    /* Top row: Checkbox + Info */
    .layout3-addon-content {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 12px !important;
        flex-wrap: nowrap !important;
    }
    
    .layout3-addon-info {
        flex: 1 !important;
        /* min-width: 0 !important; */
    }
    
    .layout3-addon-name {
        font-size: 15px !important;
        margin-bottom: 4px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        color: #333 !important;
    }
    
    .layout3-addon-desc {
        font-size: 13px !important;
        color: #666 !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }
    
    /* Bottom row: Price + Quantity Controls */
    .layout3-addon-bottom-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
        border-top: 1px solid #f0f0f0 !important;
    }
    
    .layout3-addon-price {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--layout3-primary-color) !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    .layout3-quantity-controls {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    
    /* BALANCED QUANTITY BUTTONS FOR MOBILE LAYOUT 3 */
    .layout3-qty-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        border: 2px solid var(--layout3-primary-color) !important;
        background: #ffffff !important;
        color: var(--layout3-primary-color) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
    }
    
    .layout3-qty-btn:hover {
        background: var(--layout3-primary-color) !important;
        color: #ffffff !important;
        transform: scale(1.05) !important;
    }
    
    .layout3-qty-input {
        width: 55px !important;
        height: 36px !important;
        min-width: 55px !important;
        min-height: 36px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
        border: 2px solid #e0e0e0 !important;
        background: #ffffff !important;
        color: #333333 !important;
        text-align: center !important;
        outline: none !important;
    }
    
    .layout3-qty-input:focus {
        border-color: var(--layout3-primary-color) !important;
        box-shadow: 0 0 0 3px rgba(140, 19, 23, 0.1) !important;
    }
    
    /* Keep main quantity buttons larger */
    .layout3-qty-main-input {
        width: 70px !important;
        height: 44px !important;
        min-width: 70px !important;
        min-height: 44px !important;
        font-size: 18px !important;
        flex-shrink: 0 !important;
    }
    
    /* Checkbox wrapper positioning */
    .layout3-addon-checkbox-wrapper {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        margin-top: 2px !important;
    }
    
    .layout3-addon-checkbox,
    .layout3-addon-radio {
        transform: scale(1.3) !important;
        accent-color: var(--layout3-primary-color) !important;
        margin: 0 !important;
    }
    
    .layout3-modal-footer {
        padding: 20px 24px;
    }
    
    .layout3-add-btn {
        width: 100%;
        min-width: none;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .layout3-quantity-wrapper {
        gap: 8px;
        justify-content: center;
    }
    
    .layout3-quantity-controls {
        gap: 8px;
        justify-content: center;
    }
    
    /* Force block layout for all addons */
    .layout3-addon-options {
        gap: 16px;
    }
    
    .layout3-qty-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
        min-width: 36px;
    }
    
    .layout3-qty-input,
    .layout3-qty-main-input {
        width: 50px;
        height: 36px;
        font-size: 14px;
        min-width: 50px;
    }
    
    /* MOBILE ADDON LAYOUT - ORGANIZED STRUCTURE */
    .layout3-addon-option {
        padding: 14px !important;
        background: #f8f9fa;
        border-radius: 12px;
        margin-bottom: 12px;
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100%;
        box-sizing: border-box;
        min-height: 70px !important;
    }
    
    /* Checkbox à esquerda */
    .layout3-addon-checkbox-wrapper {
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding-top: 2px !important;
        order: 1 !important;
    }
    
    /* Conteúdo principal no centro - ocupa espaço disponível */
    .layout3-addon-content {
        flex: 1 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        order: 2 !important;
    }
    
    .layout3-addon-info {
        width: 100% !important;
        flex: 1 !important;
    }
    
    .layout3-addon-name {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
        color: #333 !important;
        word-wrap: break-word !important;
    }
    
    .layout3-addon-desc {
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: #666 !important;
        margin: 0 !important;
        word-wrap: break-word !important;
    }
    
    /* Controles de quantidade dentro do content */
    .layout3-quantity-controls {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: #fff !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        border: 1px solid #e0e0e0 !important;
        margin-top: 6px !important;
        width: fit-content !important;
        flex-shrink: 0 !important;
    }
    
    /* Preço à direita - fora do content */
    .layout3-addon-price {
        flex-shrink: 0 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: var(--layout3-primary-color) !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        margin: 0 !important;
        order: 3 !important;
        align-self: flex-start !important;
        padding-top: 2px !important;
        min-width: 60px !important;
        text-align: right !important;
    }
}

/* Selected state styles */
.layout3-price-option:has(input[type="radio"]:checked),
.layout3-cooking-option:has(input[type="radio"]:checked),
.layout3-addon-option:has(input[type="checkbox"]:checked),
.layout3-addon-option:has(input[type="radio"]:checked) {
    border-color: var(--layout3-primary-color);
    background: linear-gradient(135deg, #fffcf5 0%, #fefbf0 100%);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

/* Focus states for accessibility */
.layout3-price-option:focus-within,
.layout3-cooking-option:focus-within,
.layout3-ingredient-option:focus-within,
.layout3-addon-option:focus-within {
    outline: 2px solid var(--layout3-primary-color);
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.layout3-modal-content {
    animation: fadeInUp 0.3s ease forwards;
}

/* ==============================================
   ULTRA MODERN CART OVERRIDE - FINAL STYLES
   Override external.css with maximum specificity
   ============================================== */

/* Force modern cart container styles */
html body .order-list-wrap,
body .order-list-wrap,
.main .order-list-wrap,
.page-right-sidebar .order-list-wrap {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 50%, #f5f7fa 100%) !important;
    border-radius: 24px !important;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 16px 32px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(229, 62, 62, 0.15) !important;
    border-top: 3px solid #e53e3e !important;
    padding: 28px !important;
    margin-bottom: 24px !important;
    min-height: auto !important;
    position: relative !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Force modern cart title styles */
html body .order-list-wrap h5,
body .order-list-wrap h5,
.main .order-list-wrap h5,
.page-right-sidebar .order-list-wrap h5 {
    text-align: center !important;
    padding: 0px 0px 24px 0px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    font-size: 20px !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
    line-height: 1.3 !important;
}

/* Force modern cart items styles */
html body .item-order-list,
body .item-order-list,
.main .item-order-list,
.page-right-sidebar .item-order-list {
    padding: 20px 16px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    margin: 8px 0 !important;
    background: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Force modern button styles */
html body .order-list-wrap .uk-button,
body .order-list-wrap .uk-button,
.main .order-list-wrap .uk-button,
.page-right-sidebar .order-list-wrap .uk-button {
    display: block !important;
    margin: 24px auto 0 !important;
    width: 100% !important;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 18px 24px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: none !important;
    letter-spacing: -0.2px !important;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Modern button hover */
html body .order-list-wrap .uk-button:hover,
body .order-list-wrap .uk-button:hover,
.main .order-list-wrap .uk-button:hover,
.page-right-sidebar .order-list-wrap .uk-button:hover {
    transform: translateY(-1px) !important;
    background: linear-gradient(135deg, #e53e3e 0%, #ff4757 100%) !important;
    box-shadow: 
        0 4px 12px rgba(229, 62, 62, 0.3),
        0 8px 24px rgba(229, 62, 62, 0.2) !important;
}

/* ==============================================
   CORREÇÃO DE LEGIBILIDADE DO CARRINHO
   Tamanhos de fonte modernos e legíveis
   ============================================== */

/* Títulos das seções do carrinho - maiores e mais legíveis */
.order-list-wrap h5,
.order-list-wrap h4,
.order-list-wrap h3,
.order-list-wrap .section-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    letter-spacing: -0.3px !important;
    text-transform: none !important;
}

/* Labels e descrições das opções de entrega */
.delivery_options h5,
.delivery_options label,
.delivery_options p,
.order-list-wrap .delivery_options h5,
.order-list-wrap .delivery_options label,
.order-list-wrap .delivery_options p {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    margin-bottom: 10px !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Textos do resumo de preços (Total, Subtotal, etc.) */
.summary-wrap .a,
.summary-wrap .b,
.summary-wrap .bold,
.order-list-wrap .summary-wrap .a,
.order-list-wrap .summary-wrap .b,
.order-list-wrap .summary-wrap .bold {
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Textos gerais do carrinho */
.order-list-wrap p,
.order-list-wrap span,
.order-list-wrap div,
.order-list-wrap label {
    font-size: 16px !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Itens do pedido */
.item-order-list .item-row .b,
.order-list-wrap .item-order-list .item-row .b {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
}

/* Preços dos itens */
.item-order-list .item-row .d,
.order-list-wrap .item-order-list .item-row .d {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

/* Textos pequenos mas ainda legíveis */
.order-list-wrap .uk-text-small,
.order-list-wrap .uk-text-muted,
.order-list-wrap p.uk-text-small {
    font-size: 15px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Informações de entrega */
.order-list-wrap .delivery-info,
.order-list-wrap .address-info,
.order-list-wrap .delivery-details {
    font-size: 16px !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
    margin-bottom: 8px !important;
}

/* Total final - destaque especial */
.summary-wrap .bold:last-child,
.order-list-wrap .total-final,
.order-list-wrap .grand-total {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #e53e3e !important;
    padding: 8px 0 !important;
    border-top: 2px solid rgba(229, 62, 62, 0.2) !important;
    margin-top: 12px !important;
}

/* Override para elementos específicos que podem estar com fonte pequena */
html body .order-list-wrap h5,
html body .order-list-wrap .delivery_options h5,
html body .order-list-wrap .delivery_options label,
html body .order-list-wrap .summary-wrap .a,
html body .order-list-wrap .summary-wrap .b,
html body .order-list-wrap .summary-wrap .bold {
    font-size: 17px !important;
    color: #1a1a1a !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Força máxima para títulos principais */
html body .order-list-wrap h5 {
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* ==============================================
   FORÇAR LAYOUT DE 2 COLUNAS SEMPRE
   Previne que apareçam 3 colunas de produtos
   ============================================== */

/* Força grid de 2 colunas em todas as situações */
.menu-4-items-grid,
.items-grid,
.products-grid,
.menu-items-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 20px 0 !important;
}

/* Previne layouts de flex que possam criar 3 colunas */
.menu-4-item-card,
.item-card,
.product-card {
    /* width: auto !important; */
    flex: none !important;
    max-width: none !important;
}

/* Força 2 colunas mesmo em telas maiores */
@media (min-width: 1200px) {
    .menu-4-items-grid,
    .items-grid,
    .products-grid,
    .menu-items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: none !important;
    }
}

/* ==============================================
   LAYOUT MODERNO DOS ITENS DO CARRINHO
   Design baseado na segunda imagem
   ============================================== */

/* Container do item modernizado */
.item-order-list {
    padding: 20px !important;
    margin: 12px 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%) !important;
    border: 1px solid rgba(229, 62, 62, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    border-bottom: none !important;
}

.item-order-list:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-color: rgba(229, 62, 62, 0.2) !important;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(229, 62, 62, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Layout flexbox moderno para o item-row */
.item-order-list .item-row {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    position: relative !important;
}

/* Quantidade - estilo moderno */
.item-order-list .item-row .a {
    width: 40px !important;
    height: 32px !important;
    background: linear-gradient(135deg, #e53e3e 0%, #ff6b6b 100%) !important;
    color: white !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-indent: 0 !important;
    box-shadow: 0 2px 6px rgba(229, 62, 62, 0.3) !important;
    float: none !important;
}

/* Nome do produto - mais espaço e tipografia moderna */
.item-order-list .item-row .b {
    flex: 1 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.4 !important;
    margin-right: 0 !important;
    width: auto !important;
    float: none !important;
    word-break: break-word !important;
}

/* Preço - destaque visual */
.item-order-list .item-row .d {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #e53e3e !important;
    background: rgba(229, 62, 62, 0.08) !important;
    padding: 8px 16px !important;
    border-radius: 12px !important;
    text-align: center !important;
    min-width: 80px !important;
    width: auto !important;
    float: none !important;
}

/* Botões de ação - layout moderno */
.item-order-list .item-row .manage {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    float: none !important;
}

/* Botões individuais dos itens */
.item-order-list .item-row a {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: all 0.25s ease !important;
    margin-right: 0 !important;
}

.item-order-list .item-row a:hover {
    background: linear-gradient(135deg, #e53e3e 0%, #ff4757 100%) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-1px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.25) !important;
}

/* Elemento c (se usado) - ocultar ou ajustar */
.item-order-list .item-row .c {
    display: none !important;
}

/* Clearfix para compatibilidade */
.item-order-list::after {
    content: "";
    display: table;
    clear: both;
}

/* Enhanced error messages for required addons */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
    20%, 40%, 60%, 80% { transform: translateX(4px); }
}

.req_addon_msg {
    animation: shake 0.5s ease-in-out;
    transition: all 0.3s ease;
}

.req_addon_msg:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(231,76,60,0.35) !important;
}

/* Enhanced noty error messages */
.noty_type_error {
    font-family: 'Open Sans', Arial, sans-serif !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%) !important;
    border: 2px solid #e74c3c !important;
    border-left: 6px solid #e74c3c !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.noty_type_error .noty_message {
    line-height: 1.4 !important;
    color: #2c3e50 !important;
}

.noty_type_error .noty_buttons {
    margin-top: 15px !important;
    text-align: center !important;
    padding-top: 10px !important;
    border-top: 1px solid #ecf0f1 !important;
}

.noty_type_error .noty_buttons button {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    border: none !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 6px rgba(231,76,60,0.3) !important;
}

.noty_type_error .noty_buttons button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(231,76,60,0.4) !important;
}

.noty_type_error .noty_buttons button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(231,76,60,0.3) !important;
}

/* Quantity input visual feedback */
.qty-changed {
    background-color: #e8f5e8 !important;
    border-color: #4caf50 !important;
    transition: all 0.2s ease !important;
}

.addon_qty.qty-changed,
#qty.qty-changed,
.layout3-qty-input.qty-changed,
.layout3-qty-main-input.qty-changed {
    background-color: #e8f5e8 !important;
    border-color: #4caf50 !important;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.3) !important;
}

/* ========================================
   PRODUCT LOADING PRELOADER STYLES
======================================== */

/* Main preloader container */
.product-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.product-loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Loading spinner */
.product-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e74c3c;
    border-radius: 50%;
    animation: product-spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes product-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading content */
.product-loading-content {
    text-align: center;
    color: #666;
}

.product-loading-text {
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    color: #333;
}

.product-loading-subtext {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Category loading states */
.category-loading {
    position: relative;
    opacity: 0.7;
    pointer-events: none;
}

.category-nav-link.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.category-nav-link.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #e74c3c;
    border-radius: 50%;
    animation: product-spin 0.8s linear infinite;
    transform: translateY(-50%);
}

/* Skeleton loading for products */
.product-skeleton {
    background: #f6f7f8;
    background-image: linear-gradient(
        90deg,
        #f6f7f8 0px,
        #edeef1 40px,
        #f6f7f8 80px
    );
    background-size: 200px;
    animation: product-skeleton-loading 1.2s ease-in-out infinite;
    border-radius: 8px;
    margin-bottom: 15px;
}

@keyframes product-skeleton-loading {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.product-skeleton-card {
    padding: 15px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-skeleton-image {
    height: 120px;
    width: 100%;
    margin-bottom: 10px;
}

.product-skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 8px;
}

.product-skeleton-description {
    height: 14px;
    width: 100%;
    margin-bottom: 5px;
}

.product-skeleton-description:last-child {
    width: 60%;
}

.product-skeleton-price {
    height: 18px;
    width: 40%;
    margin-top: 10px;
}

/* Menu loading states */
.lazy_menu.loading {
    position: relative;
    min-height: 200px;
}

.menu-4-items-grid.loading {
    position: relative;
    min-height: 300px;
}

/* Loading indicator for products during category switching */
.loading-products {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-products .fa-spinner {
    font-size: 24px;
    margin-right: 8px;
    color: #e74c3c;
    animation: loading-spin 1s linear infinite;
}

.loading-products .text-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

@keyframes loading-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .loading-products {
        padding: 30px 15px;
        font-size: 14px;
        min-height: 100px;
    }
    
    .loading-products .fa-spinner {
        font-size: 20px;
        margin-right: 6px;
    }
}

/* Category navigation arrow active states - 9x faster animations */
.category-nav-arrow.active-scroll {
    background-color: #e74c3c !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    transition: all 0.022s ease; /* 9x faster transitions */
    animation: pulse-scroll 0.11s ease-in-out infinite; /* 9x faster animation */
}

.category-nav-arrow.active-scroll:hover {
    background-color: #c0392b !important;
    transform: scale(1.1);
}

/* Pulse animation for active scroll buttons */
@keyframes pulse-scroll {
    0% { 
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }
    50% { 
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.6);
        transform: scale(1.12);
    }
    100% { 
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }
}

/* Speed indicators for scroll buttons - 9x faster animations */
.category-nav-arrow.medium-speed-scroll {
    background-color: #f39c12 !important;
    animation: pulse-scroll-medium 0.09s ease-in-out infinite; /* 9x faster */
}

.category-nav-arrow.high-speed-scroll {
    background-color: #27ae60 !important;
    animation: pulse-scroll-fast 0.056s ease-in-out infinite; /* 9x faster */
}

@keyframes pulse-scroll-medium {
    0% { 
        box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
        transform: scale(1.1);
    }
    50% { 
        box-shadow: 0 4px 12px rgba(243, 156, 18, 0.7);
        transform: scale(1.15);
    }
    100% { 
        box-shadow: 0 2px 8px rgba(243, 156, 18, 0.4);
        transform: scale(1.1);
    }
}

@keyframes pulse-scroll-fast {
    0% { 
        box-shadow: 0 3px 10px rgba(39, 174, 96, 0.5);
        transform: scale(1.1);
    }
    50% { 
        box-shadow: 0 6px 16px rgba(39, 174, 96, 0.8);
        transform: scale(1.18);
    }
    100% { 
        box-shadow: 0 3px 10px rgba(39, 174, 96, 0.5);
        transform: scale(1.1);
    }
}

/* Prevent text selection during continuous scroll */
.category-nav-arrow.active-scroll,
.category-nav-arrow.active-scroll * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Smooth transitions for arrow states - 9x faster */
.category-nav-arrow {
    transition: all 0.022s ease; /* 9x faster transitions */
}

.category-nav-arrow:active {
    transform: scale(0.95);
}

/* Smooth fade-in animation for loaded products */
/* .menu-4-item-card {
    animation: fadeInProduct 0.4s ease-out;
} */

@keyframes fadeInProduct {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading dots animation */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%, 100% {
        content: '...';
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
    
    .product-loading-text {
        font-size: 14px;
    }
    
    .product-skeleton-card {
        padding: 12px;
    }
    
    .product-skeleton-image {
        height: 100px;
    }
}

/* Enhanced Mobile Menu 3 Category Loading Styles */
.category-nav-link.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.category-nav-link.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-products.mobile-loading {
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.loading-products.mobile-loading .fa-spinner {
    color: #007bff;
    margin-bottom: 15px;
}

.loading-products.mobile-loading .loading-text {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Mobile specific improvements */
@media (max-width: 768px) {
    .category-nav-link {
        min-height: 44px; /* Better touch target */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    .category-nav-link:active,
    .category-nav-link.touching {
        transform: scale(0.95);
        background-color: rgba(0, 123, 255, 0.1);
    }
    
    .category-nav-link.mobile-touch-target {
        touch-action: manipulation;
        -webkit-touch-callout: none;
    }
    
    .loading-products.mobile-loading {
        margin: 10px;
        padding: 30px 15px;
    }
    
    .loading-products.mobile-loading .fa-spinner {
        font-size: 24px;
    }
    
    /* Prevent text selection on category navigation */
    .menu-4-category-navigation {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Better touch feedback */
    .category-nav-link.touching {
        background-color: rgba(0, 123, 255, 0.15) !important;
        border-color: rgba(0, 123, 255, 0.3) !important;
    }
}

.logo-desktop,
.logo-mobile{
    width: 50%;
    height: 50%;
    object-fit: contain;
}

.merchant-info{
    font-size: 12px;
    text-align: center;
    background-color: transparent;
    margin-top: 10px;
    width: 100%;
    color: #fff;
}

/* ===============================
   MODERN SEARCH COMPONENTS
   =============================== */

.modern-search-container {
    position: relative;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 320px;
    width: 100%;
    max-width: 600px;
}

.modern-search-container:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.modern-typeahead {
    position: relative;
}

.modern-search-field {
    position: relative;
}

.modern-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    overflow: hidden;
}

.modern-search-input-wrapper:focus-within {
    border-color: #21B0D1;
    box-shadow: 0 0 0 3px rgba(33, 176, 209, 0.1);
}

.modern-search-input {
    flex: 1;
    border: none !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    background: transparent !important;
    color: #333 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 200px;
}

.modern-search-input::placeholder {
    color: #8899a6;
    font-weight: 400;
}

.modern-clear-search-btn,
.modern-search-submit-btn {
    border: none !important;
    background: transparent;
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 4px;
    min-width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.modern-clear-search-btn {
    color: #8899a6;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.modern-search-input:not(:placeholder-shown) + .modern-clear-search-btn,
.modern-clear-search-btn.visible {
    opacity: 1;
    visibility: visible;
}

.modern-clear-search-btn:hover {
    background: #f5f8fa;
    color: #e1306c;
}

.modern-search-submit-btn {
    background: #21B0D1;
    color: white;
    min-width: 56px;
}

.modern-search-submit-btn:hover {
    background: #1a8ea8;
    transform: scale(1.05);
}

.modern-clear-search-btn i,
.modern-search-submit-btn i {
    font-size: 18px;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-search-container {
        margin-bottom: 15px;
        border-radius: 8px;
        min-width: 280px;
    }
    
    .modern-search-input-wrapper {
        border-radius: 8px;
    }
    
    .modern-search-input {
        padding: 14px 16px !important;
        font-size: 14px !important;
        min-width: 150px;
    }
    
    .modern-clear-search-btn,
    .modern-search-submit-btn {
        padding: 10px;
        min-width: 44px;
        height: 44px;
    }
    
    .modern-clear-search-btn i,
    .modern-search-submit-btn i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .modern-search-container {
        min-width: 240px;
    }
    
    .modern-search-input {
        min-width: 120px;
        padding: 12px 14px !important;
    }
    
    .modern-clear-search-btn,
    .modern-search-submit-btn {
        min-width: 40px;
        height: 40px;
        padding: 8px;
    }
}

/* Enhanced accessibility */
.modern-clear-search-btn:focus,
.modern-search-submit-btn:focus {
    outline: 2px solid #21B0D1;
    outline-offset: 2px;
}

/* Animation for search input focus */
.modern-search-input-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, #21B0D1, #1a8ea8);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modern-search-input-wrapper:focus-within::before {
    opacity: 1;
}

/* Specific styles for search in menu context */
.frm-search-food .modern-search-container {
    width: 100%;
    /* min-width: 350px; */
    max-width: 100%;
}

.frm-search-food .modern-search-input-wrapper {
    min-height: 80px;
}

.frm-search-food .modern-search-input {
    min-width: 220px;
}

/* Ensure buttons are always visible */
.modern-search-input-wrapper .modern-clear-search-btn,
.modern-search-input-wrapper .modern-search-submit-btn {
    flex-shrink: 0;
    position: relative;
    margin-bottom: 2%;
}

/* Better spacing for the search form */
.search-food-wrap.modern-search-container {
    margin: 15px 0 25px 0;
    padding: 0;
}

/* Search form inside category navigation */
.category-nav-container .frm-search-food {
    width: 100%;
    margin: 0;
    padding: 0;
}

.category-nav-container .search-food-wrap.modern-search-container {
    margin: 0;
    padding: 0;
    width: 100%;
}

.category-nav-container .modern-search-input-wrapper {
    width: 100%;
}

.category-nav-container .modern-search-input {
    font-size: 14px;
    padding: 12px 50px 12px 15px;
}

.category-nav-container .modern-clear-search-btn,
.category-nav-container .modern-search-submit-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
}

/* Ensure search doesn't interfere with navigation arrows */
.category-nav-container .category-nav-scroll {
    position: relative;
    z-index: 1;
}

/* Hide old search form when Menu 3 is active */
body.using-menu-3 .frm-search-food:not(.category-nav-container .frm-search-food) {
    display: none !important;
}

/* ===============================
   STICKY SCROLL COMPONENTS
   =============================== */

/* SEARCH STICKY REMOVIDO - APENAS CATEGORIAS */

/* SEARCH STICKY BOUNDARIES REMOVIDAS */

/* Sticky category navigation - TOTAL SCROLL FOLLOWING */
.menu-4-category-navigation.sticky-navigation {
    position: sticky !important;
    top: 12px !important;
    z-index: 999 !important;
    background: #fff !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12) !important;
    border-radius: 8px !important;
    margin: 0 auto 0 auto !important;
    padding: 10px 0 !important;
    width: 100% !important;
    /* max-width: 600px !important; */
    border: 1px solid rgba(0,0,0,0.06) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    /* Força acompanhamento total do scroll */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    /* Posicionamento limpo */
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* Keyframe animation for sticky elements */
@keyframes stickySlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Performance optimizations - APENAS CATEGORIAS */
.menu-4-category-navigation.sticky-navigation {
    contain: layout style paint;
}


/* SEARCH STICKY CONTEXT REMOVIDO */

.menu-4-category-navigation.sticky-navigation {
    isolation: isolate;
}

/* ========================================
   CARRINHO MOBILE - MELHORES PRÁTICAS
   Posicionamento fixo no canto inferior direito
   ======================================== */
   
/* Botão carrinho mobile - força posicionamento correto */
.cart-mobile-handle {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999 !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #e53e3e 0%, #8c1317 100%) !important;
    box-shadow: 0 4px 16px rgba(229, 62, 62, 0.3), 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    display: flex !important; /* Visível por padrão em mobile */
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Controle de visibilidade por tamanho de tela */
/* O carrinho já está visível por padrão em mobile */
/* Será ocultado apenas em desktop pela regra abaixo */

/* Link do carrinho mobile */
.cart-mobile-handle a {
    color: #ffffff !important;
    font-size: 24px !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
}

/* Hover effect moderno */
.cart-mobile-handle:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(229, 62, 62, 0.4), 0 12px 40px rgba(0, 0, 0, 0.3) !important;
    background: linear-gradient(135deg, #ff4757 0%, #e53e3e 100%) !important;
}

/* Badge contador de itens */
.cart-mobile-handle .badge,
.cart-mobile-handle .cart_count {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: linear-gradient(135deg, #ff4757 0%, #e53e3e 100%) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    min-width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    animation: pulse 2s infinite !important;
}

/* Animação para chamar atenção */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Esconde badge quando vazio */
.cart-mobile-handle .cart_count:empty,
.cart-mobile-handle .badge:empty {
    display: none !important;
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    .cart-mobile-handle {
        bottom: 15px !important;
        right: 15px !important;
        width: 52px !important;
        height: 52px !important;
    }
    
    .cart-mobile-handle a {
        font-size: 22px !important;
    }
    
    .cart-mobile-handle .badge,
    .cart-mobile-handle .cart_count {
        min-width: 20px !important;
        height: 20px !important;
        font-size: 11px !important;
    }
}

/* Garante que não interfira com outros elementos flutuantes */
.cart-mobile-handle {
    pointer-events: auto !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Acessibilidade - foco visível */
.cart-mobile-handle:focus,
.cart-mobile-handle a:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}

/* Força visibilidade em mobile e tablet */
@media (max-width: 1025px) {
    .cart-mobile-handle {
        display: flex !important;
    }
}

/* Remove from desktop layouts */
@media (min-width: 1026px) {
    .cart-mobile-handle {
        display: none !important;
    }
}

/* Mostra apenas na página do menu - baseado no HTML existente */
.cart-mobile-handle {
    /* Será mostrado apenas quando o elemento existir no HTML (front_top_menu.php) */
    /* e quando estiver em telas mobile e tablet (max-width: 1025px) */
}

/* Alternativa: mostra apenas quando há itens no carrinho */
.cart-mobile-handle[data-count="0"] {
    opacity: 0.7 !important;
}

.cart-mobile-handle[data-count]:not([data-count="0"]) {
    animation: bounce 0.6s ease-in-out !important;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-10px) scale(1.05);
    }
    80% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* ===== SEÇÃO DE PROMOÇÕES COM CARROSSEL ===== */
.promotions-section {
    padding: 40px 0;
    background: #f8f9fa;
    position: relative;
}

.promotions-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.promotions-section .section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: black;
    margin-bottom: 8px;
}

.promotions-section .section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #d32f2f;
    margin: 10px auto 0;
    border-radius: 2px;
}

.promotions-section .section-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Container do Carrossel */
.promotions-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto; /* Permitir scroll horizontal */
    overflow-y: hidden;
    /* Barra de scroll sutil */
    scrollbar-width: thin;
    scrollbar-color: rgba(211, 47, 47, 0.3) rgba(0, 0, 0, 0.1);
    /* SCROLL INSTANTÂNEO para carrossel */
    scroll-behavior: auto; /* Instantâneo, não suave */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation; /* Máxima responsividade */
    overscroll-behavior: none;
    /* Hardware acceleration máxima */
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: scroll-position, transform;
    /* Performance crítica */
    contain: layout style paint;
    isolation: isolate;
    /* Eliminar completamente delays */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Estilo personalizado da barra de scroll para Webkit */
.promotions-carousel-container::-webkit-scrollbar {
    height: 8px;
}

.promotions-carousel-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.promotions-carousel-container::-webkit-scrollbar-thumb {
    background: rgba(211, 47, 47, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.promotions-carousel-container::-webkit-scrollbar-thumb:hover {
    background: rgba(211, 47, 47, 0.6);
}

.promotions-carousel {
    display: flex;
    gap: 20px;
    padding: 0 10px 10px 10px; /* Adicionar padding inferior para a barra de scroll */
    /* Remover transition do carrossel */
    transform: none !important; /* Garantir que não há transform aplicado */
    transition: none !important; /* Remover qualquer transição */
    /* Garantir scroll natural sem interferência */
    pointer-events: auto !important; /* Permitir interação natural */
    touch-action: pan-x !important; /* Permitir apenas scroll horizontal em touch */
}

/* Usar as classes do menu-4 para manter consistência */
.promotions-carousel .menu-4-item-card {
    flex: 0 0 200px; /* Reduzir ainda mais para ficar igual ao menu 3 */
    min-width: 200px;
    max-width: 200px; /* Garantir largura máxima */
    width: 200px; /* Largura fixa */
    height: auto;
    margin-bottom: 0;
    /* Manter mesma borda do menu 3 */
    border: 1px solid #a71010 !important;
    background: #f4f4f4 !important;
    background-color: #f4f4f4 !important;
}

.promotions-carousel .menu-4-item-card:hover {
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3) !important;
}

.promotions-carousel .menu-4-item-image {
    height: 140px; /* Reduzir altura da imagem proporcionalmente */
    overflow: hidden;
}

.promotions-carousel .menu-4-item-content {
    padding: 12px; /* Reduzir padding para card menor */
    width: 100%; /* Garantir largura total */
    box-sizing: border-box; /* Incluir padding na largura */
    overflow: hidden; /* Esconder qualquer overflow */
}

/* Garantir que as fontes sejam iguais às do menu 3 - ajustadas para card menor */
.promotions-carousel .item-name {
    font-size: 16px !important; /* Reduzir ainda mais fonte do título */
    font-weight: 700 !important;
    color: black !important;
    margin: 0 0 6px 0 !important;
    line-height: 1.2 !important;
    min-height: 32px !important; /* Reduzir altura mínima */
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
    word-wrap: break-word !important; /* Quebrar palavras longas */
    word-break: break-word !important; /* Quebrar palavras longas */
    max-width: 100% !important; /* Garantir que não ultrapasse o container */
    overflow: hidden !important; /* Esconder overflow */
}

.promotions-carousel .item-description {
    font-size: 12px !important; /* Reduzir ainda mais fonte da descrição */
    color: #555 !important;
    line-height: 1.3 !important;
    margin: 0 0 10px 0 !important; /* Reduzir margem */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; /* Manter 2 linhas */
    -webkit-box-orient: vertical !important;
    overflow-y: auto !important;
    text-overflow: ellipsis !important;
    font-weight: 400 !important;
    opacity: 0.9 !important;
    word-wrap: break-word !important; /* Quebrar palavras longas */
    word-break: break-word !important; /* Quebrar palavras longas */
    hyphens: auto !important; /* Hifenização automática */
    white-space: normal !important; /* Permitir quebra de linha normal */
}

.promotions-carousel .item-price-section {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
}

.promotions-carousel .item-price {
    font-size: 18px !important; 
    color: black !important;
    letter-spacing: -0.3px !important;
}

.promotions-carousel .item-original-price {
    font-size: 13px !important; /* Reduzir ainda mais fonte do preço original */
    text-decoration: line-through !important;
    margin-right: 5px !important;
}

/* Controles do Carrossel - REMOVIDOS */
.carousel-controls {
    display: none !important; /* Ocultar controles completamente */
}

.carousel-btn {
    display: none !important; /* Ocultar botões completamente */
}

/* Indicadores - REMOVIDOS conforme solicitado */
.carousel-indicators {
    display: none !important; /* Ocultar as bolinhas */
}

.carousel-indicator {
    display: none !important; /* Ocultar as bolinhas */
}

/* Responsividade */
@media (max-width: 768px) {
    .promotions-section {
        padding: 30px 0;
    }
    
    .promotions-carousel .menu-4-item-card {
        flex: 0 0 180px; /* Ajustar para tablet */
        min-width: 180px;
        max-width: 180px;
        width: 180px;
    }
    
    .promotions-carousel .menu-4-item-image {
        height: 120px; /* Ajustar altura para tablet */
    }
}

@media (max-width: 480px) {
    .promotions-section {
        padding: 25px 0;
    }
    
    .promotions-carousel .menu-4-item-card {
        flex: 0 0 160px; /* Ajustar para mobile */
        min-width: 160px;
        max-width: 160px;
        width: 160px;
    }
    
    .promotions-carousel .menu-4-item-image {
        height: 100px; /* Ajustar altura para mobile */
    }
    
    /* Controles removidos - não necessários */
}

/* ===== SEÇÃO DE ÚLTIMOS PEDIDOS (RECENT ORDERS) ===== */
.recent-orders-section {
    position: relative;
}

.recent-orders-section .section-header {
    text-align: center;
}

.recent-orders-section .section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: black;
    margin-bottom: 8px;
}

.recent-orders-section .section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #d32f2f;
    margin: 10px auto 0;
    border-radius: 2px;
}

.recent-orders-section .section-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Container do Carrossel */
.recent-orders-carousel-container {
    position: relative;
    height: 400px;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(211, 47, 47, 0.3) rgba(0, 0, 0, 0.1);
}

/* Responsividade do container */
@media (max-width: 768px) {
    .recent-orders-carousel-container {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .recent-orders-carousel-container {
        height: 230px;
    }
}

.recent-orders-carousel-container::-webkit-scrollbar {
    height: 8px;
}

.recent-orders-carousel-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.recent-orders-carousel-container::-webkit-scrollbar-thumb {
    background: rgba(211, 47, 47, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.recent-orders-carousel-container::-webkit-scrollbar-thumb:hover {
    background: rgba(211, 47, 47, 0.6);
}

.recent-orders-carousel {
    display: flex;
    gap: 20px;
    padding: 0 10px 10px 10px;
}

/* Cards dos pedidos - ajustado para altura adequada */
.recent-orders-carousel .recent-order-card {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 60px;
    width: 260px;
    height: 360px;
    margin-bottom: 0;
    border: 1px solid #e0e0e0 !important;
    background: white !important;
    background-color: white !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border: 1px solid #a71010 !important;
    overflow: hidden;
}

.recent-orders-carousel .recent-order-card:hover {
    box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3) !important;
    transform: translateY(-2px);
}

/* Seção de imagens - altura aumentada para melhor visualização dos produtos */
.recent-orders-carousel .recent-order-images {
    height: 155px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.recent-orders-carousel .single-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid para múltiplos itens - largura controlada */
.multiple-items-grid {
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 260px;
    overflow: hidden;
}

/* Grid de imagens nos cards de últimos pedidos */
.recent-orders-carousel .items-grid {
    width: 100%;
    height: 100%;
    display: grid;
    gap: 1px;
    max-width: 260px;
}

/* Grid geral (mantém comportamento original) */
.items-grid {
    
    background-color: white !important;
    width: 100%;
    height: 100%;
    display: grid;
    gap: 2px;
}

/* Layouts específicos para cards de últimos pedidos */
.recent-orders-carousel .items-grid.two-items {
    
    background-color: white !important;
    grid-template-columns: 1fr 1fr;
}

.recent-orders-carousel .items-grid.three-items {
    
    background-color: white !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.recent-orders-carousel .items-grid.three-items .grid-item-image:first-child {
    grid-row: 1 / 3;
}

.recent-orders-carousel .items-grid.four-items {
    
    background-color: white !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

/* Layouts gerais (mantém comportamento original) */
.items-grid.two-items {
    grid-template-columns: 1fr 1fr;
}

.items-grid.three-items {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.items-grid.three-items .grid-item-image:first-child {
    grid-row: 1 / 3;
}

.items-grid.four-items {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.grid-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.more-items-overlay {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* Conteúdo do card - ajustado para imagem maior */
.recent-orders-carousel .recent-order-content {
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100% - 155px);
}

.recent-orders-carousel .order-restaurant {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #666 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Seção de informações do pedido com scroll discreto */
.recent-orders-carousel .order-info {
    overflow-y: auto !important;
    max-height: 120px !important;
    padding-right: 4px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
}

.recent-orders-carousel .order-info::-webkit-scrollbar {
    width: 3px !important;
}

.recent-orders-carousel .order-info::-webkit-scrollbar-track {
    background: transparent !important;
}

.recent-orders-carousel .order-info::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15) !important;
    border-radius: 2px !important;
}

.recent-orders-carousel .order-info::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25) !important;
}

.recent-orders-carousel .order-items {
    font-size: 14px !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin: 0 0 10px 0 !important;
    font-weight: 400 !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
    white-space: normal !important;
    flex-grow: 1;
    max-height: none !important;
    overflow: visible !important;
}

.recent-orders-carousel .order-item-line {
    display: block !important;
    margin-bottom: 3px !important;
}

.recent-orders-carousel .item-quantity {
    font-weight: 700 !important;
    color: #d32f2f !important;
    margin-right: 4px !important;
}

.recent-orders-carousel .item-more {
    font-size: 12px !important;
    color: #999 !important;
    font-style: italic !important;
}

.recent-orders-carousel .order-footer {
    display: flex !important;
    flex-direction: column !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    min-height: 60px !important;
}

.recent-orders-carousel .order-total,
.recent-order-card .order-total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 12 !important;
    min-height: 24px !important;
    background: transparent !important;
    overflow: visible !important;
}

.recent-orders-carousel .total-label,
.recent-order-card .total-label {
    font-size: 12px !important;
    color: #666 !important;
    font-weight: 500 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 13 !important;
}

.recent-orders-carousel .total-amount,
.recent-order-card .total-amount,
.recent-order-card .item-price,
.recent-order-card .order-total .total-amount,
.multiple-items-grid + * .total-amount {
    font-size: 18px !important; 
    color: black !important;
    letter-spacing: -0.3px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 15 !important;
    background: white !important;
    border-radius: 4px !important;
}

/* Forçar exibição do footer quando há múltiplos itens */
.recent-order-card .order-footer,
.recent-orders-carousel .order-footer {
    position: relative !important;
    bottom: 0 !important;
    background: white !important;
    border-top: 1px solid #f0f0f0 !important;
}

/* Forçar exibição específica do order-total em todos os casos */
div.order-total,
.order-footer .order-total,
.recent-order-card div.order-total {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
}

/* Botão de pedir novamente */
.recent-orders-carousel .reorder-btn {
    width: 100% !important;
    padding: 5px 8px !important;
    background: #28a745 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
}

.recent-orders-carousel .reorder-btn:hover {
    background: #218838 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3) !important;
}

.recent-orders-carousel .reorder-btn i {
    font-size: 9px !important;
}

/* Responsividade - Tablet */
@media (max-width: 768px) {
    .recent-orders-section {
        padding: 5px 0;
    }
    
    .recent-orders-carousel .recent-order-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        width: 280px;
        height: 220px;
    }
    
    .recent-orders-carousel .recent-order-images {
        height: 100px;
    }
    
    .recent-orders-carousel .recent-order-content {
        height: 100%;
        padding: 12px;
    }
    
    .recent-orders-carousel .order-restaurant {
        font-size: 11px !important;
        margin: 0 0 6px 0 !important;
    }
    
    .recent-orders-carousel .order-info {
        max-height: 100px !important;
    }
    
    .recent-orders-carousel .order-items {
        font-size: 13px !important;
        margin: 0 0 8px 0 !important;
    }
    
    .recent-orders-carousel .total-label {
        font-size: 12px !important;
    }
    
    .recent-orders-carousel .total-amount,
    .recent-order-card .total-amount,
    .recent-order-card .item-price {
        font-size: 16px !important; 
        color: black !important;
        letter-spacing: -0.3px !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .recent-orders-carousel .reorder-btn {
        padding: 6px 10px !important;
        font-size: 10px !important;
    }
}

/* Responsividade - Mobile */
@media (max-width: 480px) {
    .recent-orders-section {
        padding: 5px 0;
    }
    
    .recent-orders-carousel .recent-order-card {
        flex: 0 0 250px;
        min-width: 250px;
        max-width: 250px;
        width: 250px;
        height: 200px;
    }
    
    .recent-orders-carousel .recent-order-images {
        height: 90px;
    }
    
    .recent-orders-carousel .recent-order-content {
        padding: 10px;
    }
    
    .recent-orders-carousel .order-restaurant {
        font-size: 10px !important;
        margin: 0 0 5px 0 !important;
    }
    
    .recent-orders-carousel .order-info {
        max-height: 80px !important;
    }
    
    .recent-orders-carousel .order-items {
        font-size: 12px !important;
        margin: 0 0 6px 0 !important;
    }
    
    .recent-orders-carousel .order-item-line {
        margin-bottom: 2px !important;
    }
    
    .recent-orders-carousel .order-footer {
        gap: 6px !important;
    }
    
    .recent-orders-carousel .total-label {
        font-size: 10px !important;
    }
    
    .recent-orders-carousel .total-amount,
    .recent-order-card .total-amount,
    .recent-order-card .item-price {
        font-size: 15px !important; 
        color: black !important;
        letter-spacing: -0.3px !important;
        font-weight: 700 !important;
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 10 !important;
    }
    
    .recent-orders-carousel .reorder-btn {
        padding: 5px 8px !important;
        font-size: 9px !important;
    }
    
    .recent-orders-carousel .reorder-btn i {
        font-size: 8px !important;
    }
}

/* =============================================================================
   SEÇÃO "PEÇA NOVAMENTE" NO MENU - MODERNIZAÇÃO
   ============================================================================= */

/* Container da seção no menu com layout compacto */
.recent-orders-menu-section {
    border-radius: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid rgba(229, 62, 62, 0.12) !important;
    margin-bottom: 20px !important;
    position: relative !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.recent-orders-menu-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 12px 32px rgba(0, 0, 0, 0.12), 0 20px 48px rgba(0, 0, 0, 0.16) !important;
    transform: translateY(-2px) !important;
}

/* Título da seção no menu com estilo compacto */
.recent-orders-menu-section .section-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #495057 !important;
    text-align: center !important;
    margin-bottom: 4px !important;
    text-transform: none !important;
    letter-spacing: 0.2px !important;
    font-family: "Montserrat", sans-serif !important;
    line-height: 1.2 !important;
}

.recent-orders-menu-section .section-subtitle {
    font-size: 12px !important;
    color: #6c757d !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    font-family: "Montserrat", sans-serif !important;
    line-height: 1.3 !important;
}

/* Responsividade para a seção no menu - layout compacto */
@media (max-width: 768px) {
    .recent-orders-menu-section {
        padding: 12px !important;
        margin-bottom: 15px !important;
        border-radius: 14px !important;
    }
    
    .recent-orders-menu-section .section-title {
        font-size: 15px !important;
    }
    
    .recent-orders-menu-section .section-subtitle {
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .recent-orders-menu-section {
        padding: 10px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }
    
    .recent-orders-menu-section .section-title {
        font-size: 14px !important;
    }
    
    .recent-orders-menu-section .section-subtitle {
        font-size: 10px !important;
        margin-bottom: 10px !important;
    }
}

/* Cards horizontais para a seção do menu - lado a lado */
.recent-orders-menu-section .recent-orders-carousel {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
    overflow: visible !important;
}

.recent-orders-menu-section .recent-orders-carousel .recent-order-card {
    display: flex !important;
    flex-direction: row !important;
    width: 300px !important;
    height: 120px !important;
    margin-bottom: 0 !important;
    padding: 8px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    background: white !important;
    border: 1px solid #f0f0f0 !important;
}

.recent-orders-menu-section .recent-orders-carousel .recent-order-images {
    width: 80px !important;
    height: 104px !important;
    flex-shrink: 0 !important;
    margin-right: 10px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.recent-orders-menu-section .recent-orders-carousel .recent-order-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 104px !important;
    padding: 0 !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-info {
    flex: 1 !important;
    overflow: hidden !important;
    max-height: none !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-restaurant {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Esconder nome da loja quando não estiver na homepage */
.recent-orders-menu-section .recent-orders-carousel .order-restaurant {
    display: none !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-items {
    max-height: 60px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    margin-bottom: 8px !important;
    flex: 1 !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-items::-webkit-scrollbar {
    width: 3px !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-items::-webkit-scrollbar-track {
    background: transparent !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-items::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 3px !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-item-line {
    display: block !important;
    font-size: 14px !important;
    color: rgba(0, 0, 0, 0.9) !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: initial !important;
}

.recent-orders-menu-section .recent-orders-carousel .item-quantity {
    font-weight: 700 !important;
    color: #e53e3e !important;
    margin-right: 6px !important;
    font-size: 14px !important;
}

.recent-orders-menu-section .recent-orders-carousel .item-name {
    font-weight: 700 !important;
    color: black !important;
    font-size: 14px !important;
}

.recent-orders-menu-section .recent-orders-carousel .item-more {
    font-style: italic !important;
    color: #666 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-top: 1px solid #f0f0f0 !important;
    min-height: auto !important;
}

.recent-orders-menu-section .recent-orders-carousel .order-total {
    display: flex !important;
    align-items: center !important;
}

.recent-orders-menu-section .recent-orders-carousel .total-label {
    font-size: 14px !important;
    color: #666 !important;
    margin-right: 6px !important;
    font-weight: 500 !important;
}

.recent-orders-menu-section .recent-orders-carousel .total-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: black !important;
}

.recent-orders-menu-section .recent-orders-carousel .reorder-btn {
    padding: 0px 16px !important;
    font-size: 13px !important;
    border-radius: 6px !important;
    background: #28a745 !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.recent-orders-menu-section .recent-orders-carousel .reorder-btn:hover {
    background: #218838 !important;
}

/* Remover carousel no menu - mostrar lista vertical */
.recent-orders-menu-section .recent-orders-carousel-container {
    height: 100% !important;
    width: auto !important;
}

/* Remover carousel no menu - mostrar lista vertical */
.recent-orders-menu-section .recent-orders-section .container {
    height: 100% !important;
    width: 100% !important;
}

.recent-orders-menu-section .recent-orders-carousel {
    display: inline-flex !important;
}

.recent-orders-menu-section .recent-orders-carousel .recent-order-card {
    margin-right: 0 !important;
}

/* Responsividade para cards horizontais - mantém dimensões fixas */
@media (max-width: 768px) {
    .recent-orders-menu-section .recent-orders-carousel {
        justify-content: center !important;
    }
    
    .recent-orders-menu-section .recent-orders-carousel .recent-order-card {
        /* width: calc(50% - 7.5px) !important; Mantém 2 cards lado a lado */
        /* max-width: 350px !important; Limita largura máxima */
        min-width: 280px !important; /* Largura mínima para não quebrar */
    }
}

@media (max-width: 600px) {
    .recent-orders-menu-section .recent-orders-carousel .recent-order-card {
        /* width: calc(100% - 15px) !important; 1 card por linha em telas pequenas */
        /* max-width: 400px !important; Controla largura máxima */

    }
}

/* =============================================================================
   RODAPÉ FIXO NO FINAL DA PÁGINA - COMPATIBILIDADE GERAL
   Garantir que o rodapé funcione em todas as versões do layout
   ============================================================================= */

/* Estrutura base para todos os layouts */
html {
    height: 100% !important;
}

body {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Conteúdo principal que se expande */
.main,
.sections,
.parallax-container,
.browse-wrapper .main,
.search-result-wrapper .main,
.page-right-sidebar .main {
    flex: 1 0 auto !important;
}

/* Rodapé sempre no final */
.footer-wrap,
.footer-sub,
.section-footer {
    flex-shrink: 0 !important;
    margin-top: auto !important;
}

/* Ajustes específicos para o footer-wrap */
.footer-wrap {
    position: relative !important;
    bottom: 0 !important;
    width: 100% !important;
}

.footer-sub {
    position: relative !important;
    bottom: 0 !important;
    width: 100% !important;
}

/* Garantir que páginas com pouco conteúdo tenham rodapé no final */
.browse-wrapper,
.search-result-wrapper,
.page-right-sidebar {
    min-height: calc(100vh - 200px) !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Forçar altura mínima do conteúdo principal */
.main {
    min-height: auto !important;
    flex-grow: 1 !important;
}

/* Legacy styles removed - now using unified minimum order styling above */

/* ========== ESTILOS DE VALIDAÇÃO CPF ========== */

/* CPF Input Validation Styles */
.cpf-input.valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

.cpf-input.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.cpf-validation-message {
    font-size: 12px !important;
    margin-top: 5px !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.cpf-validation-message.text-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border: 1px solid #c3e6cb !important;
}

.cpf-validation-message.text-danger {
    color: #721c24 !important;
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
}

/* Estilo para placeholder do CPF */
.cpf-input::placeholder {
    color: #6c757d !important;
    font-style: italic !important;
}

/* Responsividade para validação CPF */
@media (max-width: 768px) {
    .cpf-validation-message {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* Delivery Fee Success Styles */
.delivery-fee-success {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #28a745;
    border-radius: 4px;
    margin: 8px 0;
    color: #155724;
    font-size: 14px;
}

.delivery-fee-success span:first-child {
    font-size: 16px !important;
    margin-right: 8px !important;
}

.delivery-fee-error {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8d7da;
    border: 1px solid #dc3545;
    border-radius: 4px;
    margin: 8px 0;
    color: #721c24;
    font-size: 14px;
}

.delivery-fee-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #fff3cd;
    border: none;
    border-radius: 6px;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    animation: pulse 2s infinite;
    width: 100%;
    height: 100%;
    min-height: 60px;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    box-sizing: border-box;
    z-index: 2;
}

.delivery-fee-loading i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Address calculating state */
.address-confirmation-section.address-calculating {
    position: relative;
    opacity: 0.9;
}

.address-confirmation-section.address-calculating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    pointer-events: none;
}

.delivery-fee-display {
    margin-top: 12px;
}

/* Address confirmation section improvements */
.address-confirmation-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.address-extra-fields {
    margin-top: 12px;
}

.field-group {
    margin-bottom: 12px;
}

.field-label {
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.field-label i {
    margin-right: 6px;
    color: #666;
}

.address-extra-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    transition: border-color 0.3s ease;
}

.address-extra-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Mobile Cart Address Extra Fields */
#mobile-cart-address-extra-fields {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 12px 0;
}

#mobile-cart-address-extra-fields .field-label {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
    font-weight: 500;
}

#mobile-cart-address-extra-fields .field-label i {
    margin-right: 6px;
    color: #e53e3e;
    width: 14px;
}

#mobile-cart-address-extra-fields textarea.address-extra-input {
    resize: vertical;
    min-height: 40px;
    font-family: inherit;
}

/* ===== ADDRESS BOOK FORM MODERN STYLES ===== */

/* Address Book Form Enhancements */
.section-address-book .grey-fields {
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 14px;
}

.section-address-book .grey-fields:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

.section-address-book .address-autocomplete-section input:focus {
  border-color: #007bff !important;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1) !important;
}

.section-address-book .map_addressbook {
  min-height: 300px;
  border: 2px solid #e9ecef;
}

.section-address-book h4 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-address-book h5 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-address-book .help-block {
  margin-top: 5px;
  display: block;
}

/* Checkbox styling for address book */
.section-address-book .icheck {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  accent-color: #007bff;
}

/* Responsive adjustments for address book */
@media (max-width: 768px) {
  .section-address-book .address-autocomplete-section {
    padding: 15px !important;
    margin-bottom: 20px !important;
  }
  
  .section-address-book .modern-submit-button,
  .section-address-book .modern-back-button {
    width: 100% !important;
    margin-bottom: 10px;
    justify-content: center !important;
  }
  
  .section-address-book .map_addressbook {
    min-height: 250px;
  }
  
  .section-address-book h4 {
    font-size: 18px;
  }
  
  .section-address-book h5 {
    font-size: 16px;
  }
}

/* PIX QR Code Label - Responsive Fix */
#lblQrcode {
    word-break: break-all !important;
    word-wrap: break-word !important;
    white-space: pre-wrap !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
    display: block !important;
    overflow-wrap: break-word !important;
    padding: 10px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
    margin: 10px 0 !important;
    font-family: 'Courier New', monospace !important;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    #lblQrcode {
        font-size: 10px !important;
        padding: 8px !important;
        margin: 8px 0 !important;
    }
}

@media (max-width: 480px) {
    #lblQrcode {
        font-size: 9px !important;
        padding: 6px !important;
        margin: 6px 0 !important;
    }
}