*{
    box-sizing:border-box
}

:root{
    --purple:#6d28d9;
    --purple-2:#7c3aed;
    --purple-dark:#421567;
    --purple-soft:#f5efff;
    --ink:#1f1726;
    --muted:#716778;
    --line:#ece6ef;
    --surface:#ffffff;
    --bg:#f7f5f8;
    --green:#159447;
    --green-soft:#e8f8ee;
    --red:#d92d20;
    --shadow:0 12px 36px rgba(43,19,55,.08);
}

html{
    scroll-behavior:smooth
}

body{
    margin:0;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    color:var(--ink);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
}

body.checkout-open{
    overflow:hidden
}

.customer-top{
    position:sticky;
    top:0;
    z-index:300;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(236,230,239,.9);
}

.customer-top-inner{
    max-width:1180px;
    min-height:68px;
    margin:0 auto;
    padding:8px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.customer-brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:var(--ink);
    min-width:0;
}

.customer-brand img{
    width:44px;
    height:44px;
    border-radius:12px;
    object-fit:contain;
    background:#f3e8ff;
    padding:2px;
}

.customer-brand strong{
    display:block;
    font-size:15px;
    line-height:1.18;
}

.customer-brand span{
    display:block;
    margin-top:3px;
    color:var(--muted);
    font-size:11px;
}

.customer-nav{
    display:flex;
    align-items:center;
    gap:4px;
}

.customer-nav a{
    padding:9px 10px;
    border-radius:10px;
    color:#554b5b;
    text-decoration:none;
    font-size:13px;
    font-weight:750;
    white-space:nowrap;
}

.customer-nav a:hover,
.customer-nav a.active{
    color:var(--purple);
    background:var(--purple-soft);
}

.customer-nav .logout-link{
    font-size:19px;
    padding-inline:11px;
}

.customer-main{
    width:100%;
    max-width:1180px;
    margin:0 auto;
    padding:18px 18px 120px;
}

.customer-footer{
    padding:25px 16px;
    text-align:center;
    color:#84798b;
    font-size:12px;
}

.alert{
    margin-bottom:14px;
    padding:12px 14px;
    border-radius:12px;
    font-weight:700;
    font-size:13px;
}

.alert.error{
    color:#991b1b;
    background:#fee2e2;
}

.alert.success{
    color:#166534;
    background:#dcfce7;
}

/* STORE HERO */

.store-hero{
    overflow:hidden;
    border-radius:22px;
    background:var(--surface);
    border:1px solid var(--line);
    box-shadow:var(--shadow);
}

.store-cover{
    height:155px;
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(
            circle at 18% 35%,
            rgba(255,255,255,.34) 0 8%,
            transparent 9%
        ),
        radial-gradient(
            circle at 77% 25%,
            rgba(255,255,255,.16) 0 9%,
            transparent 10%
        ),
        linear-gradient(
            120deg,
            #39125d,
            #6d28d9 55%,
            #9b62fa
        );
}

.cover-shape{
    position:absolute;
    border-radius:50%;
    filter:blur(2px);
}

.cover-shape-one{
    width:250px;
    height:250px;
    right:-30px;
    top:-100px;
    background:rgba(255,255,255,.12);
}

.cover-shape-two{
    width:180px;
    height:180px;
    left:14%;
    bottom:-145px;
    background:rgba(255,255,255,.14);
}

.store-profile{
    position:relative;
    padding:0 24px 22px 155px;
}

.store-logo-wrap{
    width:112px;
    height:112px;
    position:absolute;
    left:25px;
    top:-58px;
    border:5px solid #fff;
    border-radius:24px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 9px 25px rgba(38,16,54,.18);
}

.store-logo-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.store-main-info{
    padding-top:16px;
}

.store-title-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
}

.store-title-row h1{
    margin:0;
    font-size:27px;
    letter-spacing:-.4px;
}

.store-title-row p{
    margin:6px 0 0;
    color:var(--muted);
    font-size:14px;
}

.store-open-pill{
    flex:0 0 auto;
    padding:7px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:850;
}

.store-open-pill.is-open{
    color:#06712f;
    background:#dcfce7;
}

.store-open-pill.is-closed{
    color:#991b1b;
    background:#fee2e2;
}

.store-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 16px;
    margin-top:15px;
    color:#655b6b;
    font-size:12px;
    font-weight:650;
}

.store-actions-strip{
    margin:14px 0;
    padding:12px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border:1px solid var(--line);
    border-radius:15px;
    background:#fff;
}

.welcome-inline{
    display:flex;
    gap:5px;
    font-size:13px;
}

.quick-links{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.quick-links a{
    padding:7px 9px;
    border-radius:9px;
    text-decoration:none;
    color:#5c5064;
    background:#f7f3f9;
    font-size:12px;
    font-weight:750;
}

/* SEARCH & CATEGORY */

.catalog-sticky{
    position:sticky;
    top:68px;
    z-index:200;
    padding:10px 0 8px;
    background:linear-gradient(
        to bottom,
        var(--bg) 75%,
        rgba(247,245,248,0)
    );
}

.search-box{
    height:48px;
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 14px;
    background:#fff;
    border:1px solid #e6dee9;
    border-radius:13px;
    box-shadow:0 5px 18px rgba(43,19,55,.04);
}

.search-box span{
    font-size:24px;
    line-height:1;
    color:#7f7287;
}

.search-box input{
    min-width:0;
    flex:1;
    border:0;
    outline:0;
    background:transparent;
    font:inherit;
    font-size:14px;
    color:var(--ink);
}

.search-box input::placeholder{
    color:#9a909f;
}

.category-scroll{
    display:flex;
    gap:7px;
    overflow-x:auto;
    padding:9px 1px 5px;
    scrollbar-width:none;
}

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

.category-chip{
    border:1px solid #e3dbe7;
    background:#fff;
    color:#594f60;
    padding:8px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
    cursor:pointer;
}

.category-chip:hover,
.category-chip.active{
    color:#fff;
    background:var(--purple);
    border-color:var(--purple);
}

/* PRODUCT SECTIONS */

.catalog-content{
    padding-top:4px;
}

.menu-section{
    padding:14px 0 6px;
    scroll-margin-top:150px;
}

.menu-section-head{
    min-height:48px;
    display:flex;
    align-items:end;
    justify-content:space-between;
    margin-bottom:8px;
}

.menu-section-head h2{
    margin:0;
    font-size:20px;
}

.menu-section-head p{
    margin:4px 0 0;
    color:#928696;
    font-size:11px;
}

.menu-product-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.menu-product-card{
    min-height:172px;
    padding:14px;
    border:1px solid #ece5ee;
    border-radius:15px;
    background:#fff;
    transition:
        border-color .15s,
        box-shadow .15s,
        transform .15s;
}

.menu-product-card:hover{
    border-color:#dfd1e7;
    box-shadow:0 10px 25px rgba(43,19,55,.07);
    transform:translateY(-1px);
}

.menu-product-body{
    height:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) 128px;
    gap:13px;
}

.menu-product-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
}

.mini-category{
    margin-bottom:4px;
    color:#8a7c91;
    font-size:10px;
    font-weight:750;
}

.menu-product-copy h3{
    margin:0;
    font-size:15px;
    line-height:1.25;
}

.menu-product-copy p{
    display:-webkit-box;
    overflow:hidden;
    margin:6px 0 10px;
    color:#766b7b;
    font-size:12px;
    line-height:1.4;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
}

.description-muted{
    opacity:.68
}

.product-price{
    margin-top:auto;
    color:#2a2130;
    font-size:14px;
}

.menu-product-visual{
    min-width:0;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
}

.menu-product-visual>img,
.product-placeholder{
    width:128px;
    height:128px;
    object-fit:cover;
    border-radius:12px;
    background:linear-gradient(
        145deg,
        #f7efff,
        #ece0ff
    );
}

.product-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:46px;
}

.product-add-control{
    position:absolute;
    right:5px;
    bottom:-2px;
}

.product-add-button{
    min-width:82px;
    height:32px;
    border:1px solid #d8c9e2;
    border-radius:9px;
    color:var(--purple);
    background:#fff;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
    box-shadow:0 4px 12px rgba(55,25,72,.08);
}

.stepper{
    display:none;
    align-items:center;
    height:34px;
    overflow:hidden;
    border:1px solid #d8c9e2;
    border-radius:9px;
    background:#fff;
    box-shadow:0 4px 12px rgba(55,25,72,.09);
}

.product-add-control.has-items .product-add-button{
    display:none
}

.product-add-control.has-items .stepper{
    display:flex
}

.stepper button{
    width:32px;
    height:32px;
    padding:0;
    border:0;
    color:var(--purple);
    background:#fff;
    font-size:18px;
    font-weight:900;
    cursor:pointer;
}

.stepper input{
    width:32px;
    height:32px;
    padding:0;
    border:0;
    outline:0;
    text-align:center;
    background:#fff;
    color:#281d30;
    font-size:12px;
    font-weight:850;
}

.soldout{
    position:absolute;
    right:6px;
    bottom:2px;
    padding:6px 8px;
    border-radius:8px;
    color:#991b1b;
    background:#fee2e2;
    font-size:10px;
    font-weight:850;
}

.no-results{
    padding:55px 20px;
    text-align:center;
    color:#746a79;
}

.no-results div{
    font-size:40px;
}

.no-results strong,
.no-results span{
    display:block;
    margin-top:6px;
}

/* FLOATING CART */

.cart-floating{
    position:fixed;
    left:50%;
    bottom:max(16px,env(safe-area-inset-bottom));
    z-index:450;
    width:min(720px,calc(100% - 28px));
    transform:translateX(-50%);
}

.cart-floating[hidden]{
    display:none!important
}

.cart-floating button{
    width:100%;
    min-height:62px;
    padding:8px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border:0;
    border-radius:16px;
    color:#fff;
    background:linear-gradient(
        100deg,
        #4c1d95,
        #7c3aed
    );
    box-shadow:0 13px 28px rgba(76,29,149,.32);
    cursor:pointer;
}

.cart-floating-left{
    display:flex;
    align-items:center;
    gap:9px;
    text-align:left;
}

.cart-floating-left small,
.cart-floating-left strong{
    display:block;
}

.cart-floating-left small{
    opacity:.8;
    font-size:10px;
}

.cart-floating-left strong{
    margin-top:2px;
    font-size:14px;
}

.cart-count-badge{
    width:34px;
    height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:rgba(255,255,255,.18);
    font-size:13px;
    font-weight:900;
}

.cart-floating-action{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:850;
}

.cart-floating-action b{
    font-size:23px;
    font-weight:400;
}

/* CHECKOUT DRAWER */

.checkout-overlay{
    position:fixed;
    inset:0;
    z-index:490;
    visibility:hidden;
    opacity:0;
    background:rgba(22,10,29,.45);
    backdrop-filter:blur(2px);
    transition:.22s ease;
}

.checkout-overlay.open{
    visibility:visible;
    opacity:1;
}

.checkout-drawer{
    width:min(470px,100%);
    height:100dvh;
    position:fixed;
    right:0;
    top:0;
    z-index:500;
    display:flex;
    flex-direction:column;
    transform:translateX(102%);
    background:#f9f7fa;
    box-shadow:-20px 0 55px rgba(30,13,38,.2);
    transition:transform .25s ease;
}

.checkout-drawer.open{
    transform:translateX(0);
}

.checkout-drawer-head{
    min-height:78px;
    padding:14px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--line);
    background:#fff;
}

.checkout-drawer-head span{
    color:#8a7e90;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.8px;
}

.checkout-drawer-head h2{
    margin:2px 0 0;
    font-size:19px;
}

.drawer-close{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:50%;
    color:#5f5365;
    background:#f4f0f6;
    font-size:26px;
    line-height:1;
    cursor:pointer;
}

.checkout-drawer-body{
    flex:1;
    overflow-y:auto;
    padding:13px;
}

.checkout-section{
    margin-bottom:10px;
    padding:14px;
    border:1px solid #eee7f0;
    border-radius:14px;
    background:#fff;
}

.checkout-section h3{
    margin:0 0 12px;
    font-size:14px;
}

.checkout-section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.clear-cart-link{
    border:0;
    color:#9a3b51;
    background:transparent;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}

.cart-empty{
    padding:24px 8px;
    text-align:center;
    color:#8b7e91;
}

.cart-empty span,
.cart-empty strong,
.cart-empty small{
    display:block;
}

.cart-empty span{
    margin-bottom:5px;
    font-size:25px;
}

.cart-empty small{
    margin-top:3px;
}

.drawer-cart-item{
    padding:10px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid #f0eaf2;
    font-size:12px;
}

.drawer-cart-item:last-child{
    border-bottom:0
}

.drawer-cart-item-main{
    min-width:0;
    display:flex;
    align-items:center;
    gap:8px;
}

.drawer-cart-qty{
    width:29px;
    height:29px;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    color:#5b21b6;
    background:#f3e8ff;
    font-size:10px;
    font-weight:900;
}

.drawer-cart-item-main strong,
.drawer-cart-item-main small{
    display:block;
}

.drawer-cart-item-main strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:240px;
}

.drawer-cart-item-main small{
    margin-top:2px;
    color:#8d8292;
}

.delivery-mode-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}

.delivery-mode{
    min-height:63px;
    display:flex;
    align-items:center;
    gap:9px;
    padding:9px;
    border:1px solid #dfd7e3;
    border-radius:11px;
    background:#fff;
    text-align:left;
    cursor:pointer;
}

.delivery-mode>span{
    font-size:22px
}

.delivery-mode strong,
.delivery-mode small{
    display:block
}

.delivery-mode strong{
    font-size:12px
}

.delivery-mode small{
    margin-top:2px;
    color:#948998;
    font-size:10px;
}

.delivery-mode.active{
    color:#5b21b6;
    border-color:#bba2d0;
    background:#faf5ff;
}

.delivery-details{
    margin-top:12px;
}

.saved-address-card{
    margin-bottom:12px;
    padding:10px;
    display:grid;
    grid-template-columns:30px minmax(0,1fr) auto;
    gap:8px;
    align-items:start;
    border-radius:11px;
    background:#f8f4fa;
}

.saved-address-icon{
    width:30px;
    height:30px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#efe6f5;
}

.saved-address-card strong{
    font-size:11px
}

.saved-address-card p{
    margin:3px 0 1px;
    color:#685e6d;
    font-size:10px;
    line-height:1.35;
}

.saved-address-card small{
    color:#8d8292;
    font-size:9px;
}

.saved-address-card a{
    color:var(--purple);
    font-size:10px;
    font-weight:800;
    text-decoration:none;
}

.saved-address-card.warning{
    background:#fff7e8
}

.checkout-section label{
    display:block;
    margin:0 0 5px;
    color:#554b5a;
    font-size:11px;
    font-weight:800;
}

.checkout-section select,
.checkout-section input,
.checkout-section textarea{
    width:100%;
    padding:10px 11px;
    border:1px solid #ded6e2;
    border-radius:9px;
    outline:0;
    background:#fff;
    font:inherit;
    font-size:12px;
    resize:vertical;
}

.checkout-section select:focus,
.checkout-section input:focus,
.checkout-section textarea:focus{
    border-color:#ac8dc3;
    box-shadow:0 0 0 3px rgba(109,40,217,.08);
}

.payment-options{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:7px;
}

.payment-option{
    min-height:48px;
    border:1px solid #ded6e2;
    border-radius:10px;
    color:#594e60;
    background:#fff;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}

.payment-option span{
    display:block;
    margin-bottom:2px;
    font-size:15px;
}

.payment-option.active{
    color:#5b21b6;
    border-color:#b99dcd;
    background:#faf5ff;
    box-shadow:inset 0 0 0 1px #d6c3e4;
}

.change-box{
    margin-top:10px
}

.checkout-summary>div{
    padding:5px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#706676;
    font-size:11px;
}

.checkout-summary strong{
    color:#3d3342
}

.checkout-summary .summary-total{
    margin-top:4px;
    padding-top:10px;
    border-top:1px solid #eee7f0;
    color:#2b222f;
    font-size:15px;
    font-weight:850;
}

.checkout-summary .summary-total strong{
    color:#2b222f;
    font-size:17px;
}

.checkout-drawer-footer{
    padding:11px 13px max(11px,env(safe-area-inset-bottom));
    border-top:1px solid var(--line);
    background:#fff;
}

.finish-order-button{
    width:100%;
    min-height:54px;
    padding:9px 13px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:0;
    border-radius:12px;
    color:#fff;
    background:linear-gradient(
        100deg,
        #4c1d95,
        #7c3aed
    );
    font-weight:850;
    cursor:pointer;
}

.finish-order-button:disabled{
    opacity:.55;
    cursor:not-allowed;
}

/* EXISTING AUTH / ACCOUNT / ORDER PAGES */

.auth-shell,
.success-shell{
    min-height:70vh;
    display:flex;
    align-items:center;
    justify-content:center;
}

.auth-card,
.success-card,
.register-card,
.account-card,
.orders-card{
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding:22px;
    border:1px solid var(--line);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--shadow);
}

.auth-card,
.success-card{
    max-width:430px;
}

.auth-card{
    text-align:center
}

.auth-icon{
    font-size:52px
}

.auth-card h1,
.success-card h1{
    margin:9px 0 5px
}

.auth-card p,
.success-card p{
    color:var(--muted)
}

label{
    display:block;
    margin-bottom:5px;
    text-align:left;
    font-size:12px;
    font-weight:750;
}

input,
select,
textarea{
    font:inherit
}

.auth-card input,
.register-card input,
.account-card input{
    width:100%;
    margin:0 0 12px;
    padding:11px 12px;
    border:1px solid #ddd4e1;
    border-radius:10px;
    outline:0;
}

.primary,
.secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 14px;
    border:0;
    border-radius:10px;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}

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

.secondary{
    color:var(--purple);
    background:var(--purple-soft);
}

.big{
    width:100%;
    min-height:47px
}

.auth-separator{
    margin:14px 0;
    color:#9b909f
}

.section-title{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:16px;
}

.section-title h1{
    margin:0
}

.section-title p{
    margin:4px 0 0;
    color:var(--muted)
}

.form-grid{
    display:grid;
    gap:10px
}

.form-grid.two{
    grid-template-columns:1fr 1fr
}

.address-top{
    grid-template-columns:150px minmax(250px,2fr) 120px
}

.address-middle{
    grid-template-columns:1fr 1fr 90px
}

.helper{
    margin:-4px 0 13px;
    color:#817587;
    font-size:11px;
}

.helper.ok{
    color:#166534
}

.helper.error{
    color:#991b1b
}

.text-link{
    color:var(--purple);
    font-weight:800;
    text-decoration:none;
}

.success-card{
    text-align:center
}

.success-check{
    width:70px;
    height:70px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#159447;
    background:#dcfce7;
    font-size:39px;
    font-weight:900;
}

.success-summary{
    padding:9px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #eee8f0;
}

.success-card .big{
    margin-top:9px
}

.order-item{
    margin-top:11px;
    padding:15px;
    border:1px solid var(--line);
    border-radius:14px;
}

.order-head,
.order-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.order-head small{
    display:block;
    margin-top:3px;
    color:#8d8292;
}

.order-status{
    padding:6px 8px;
    border-radius:999px;
    color:#5b21b6;
    background:#f3e8ff;
    font-size:10px;
    font-weight:850;
}

.status-entregue{
    color:#166534;
    background:#dcfce7;
}

.status-cancelado{
    color:#991b1b;
    background:#fee2e2;
}

.status-saiu-para-entrega{
    color:#c2410c;
    background:#ffedd5;
}

.order-products{
    padding:11px 0;
    display:flex;
    flex-direction:column;
    gap:4px;
    color:#655b6b;
    font-size:12px;
}

.order-footer{
    padding-top:10px;
    border-top:1px solid #eee8f0;
}

.track-button{
    margin-top:10px;
    padding:9px;
    display:flex;
    justify-content:center;
    border-radius:9px;
    color:#fff;
    background:#159447;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.empty-state{
    padding:35px;
    text-align:center;
    color:#84798a;
}

@media(max-width:820px){
    .customer-main{
        padding:10px 10px 120px
    }

    .store-cover{
        height:110px
    }

    .store-profile{
        padding:
            0
            15px
            16px
            105px;
    }

    .store-logo-wrap{
        width:78px;
        height:78px;
        left:15px;
        top:-40px;
        border-radius:18px;
    }

    .store-title-row h1{
        font-size:19px
    }

    .store-title-row p{
        font-size:11px
    }

    .store-meta{
        gap:6px 10px;
        margin-top:10px;
        font-size:10px;
    }

    .catalog-sticky{
        top:68px
    }

    .menu-product-grid{
        grid-template-columns:1fr
    }

    .menu-product-card{
        min-height:150px;
        padding:11px
    }

    .menu-product-body{
        grid-template-columns:minmax(0,1fr) 112px;
        gap:10px;
    }

    .menu-product-visual>img,
    .product-placeholder{
        width:112px;
        height:112px;
    }

    .store-actions-strip{
        align-items:flex-start;
        flex-direction:column
    }

    .customer-nav a{
        padding:8px;
        font-size:0
    }

    .customer-nav a::first-letter{
        font-size:16px
    }

    .customer-nav .logout-link{
        font-size:18px
    }

    .form-grid.two,
    .address-top,
    .address-middle{
        grid-template-columns:1fr
    }
}

@media(max-width:520px){
    .customer-top-inner{
        min-height:60px;
        padding:7px 10px
    }

    .customer-brand img{
        width:40px;
        height:40px
    }

    .customer-brand strong{
        max-width:160px;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
        font-size:13px
    }

    .customer-brand span{
        display:none
    }

    .store-open-pill{
        padding:6px 8px;
        font-size:10px
    }

    .menu-product-copy h3{
        font-size:14px
    }

    .menu-product-copy p{
        font-size:11px
    }

    .checkout-drawer{
        width:100%
    }

    .payment-options{
        grid-template-columns:repeat(3,1fr)
    }

    .cart-floating{
        bottom:max(8px,env(safe-area-inset-bottom));
        width:calc(100% - 18px)
    }
}

/* =========================
   RECUPERAÇÃO DE SENHA
   ========================= */

.forgot-password-link{
    display:inline-block;
    margin-top:12px;
    color:#6d28d9;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.forgot-password-link:hover{
    text-decoration:underline;
}

.recovery-pin-card,
.security-card{
    margin:4px 0 18px;
    padding:15px;
    border:1px solid #e9d5ff;
    border-radius:14px;
    background:#faf7ff;
}

.recovery-pin-card>div:first-child strong,
.security-card-head strong{
    display:block;
    color:#4c1d95;
    font-size:14px;
}

.recovery-pin-card p,
.security-card-head p{
    margin:5px 0 12px;
    color:#716779;
    font-size:11px;
    line-height:1.5;
}

.recovery-pin-card small,
.security-card small{
    display:block;
    color:#8b7f90;
    font-size:10px;
    line-height:1.45;
}

.security-card-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
}

.security-status{
    flex:0 0 auto;
    padding:5px 8px;
    border-radius:999px;
    font-size:9px;
    font-weight:900;
}

.security-status.configured{
    color:#166534;
    background:#dcfce7;
}

.security-status.missing{
    color:#92400e;
    background:#fef3c7;
}

.recovery-card{
    max-width:460px;
}

.recovery-divider{
    margin:15px 0 12px;
    padding-top:13px;
    border-top:1px solid #eee7f0;
    color:#625768;
    text-align:left;
    font-size:11px;
    font-weight:850;
}

.back-login-link{
    display:inline-block;
    margin-top:14px;
    color:#6d28d9;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
}

.recovery-help{
    margin-top:17px;
    padding:12px;
    border-radius:11px;
    background:#f8f4fa;
    text-align:left;
}

.recovery-help strong{
    font-size:11px;
}

.recovery-help p{
    margin:4px 0 0;
    color:#716779;
    font-size:10px;
    line-height:1.45;
}

/* =========================
   COMPLEMENTOS / AÇAÍ
   ========================= */

body.addon-modal-open{
    overflow:hidden;
}

.custom-product-control .product-add-button{
    min-width:86px;
}

.addon-modal-overlay{
    position:fixed;
    inset:0;
    z-index:610;
    visibility:hidden;
    opacity:0;
    background:rgba(28,14,34,.5);
    backdrop-filter:blur(2px);
    transition:.2s ease;
}

.addon-modal-overlay.open{
    visibility:visible;
    opacity:1;
}

.addon-modal{
    position:fixed;
    left:50%;
    bottom:0;
    z-index:620;
    width:min(600px,100%);
    max-height:92dvh;
    display:flex;
    flex-direction:column;
    transform:translate(-50%,102%);
    border-radius:24px 24px 0 0;
    background:#f8f6f9;
    box-shadow:0 -20px 55px rgba(34,16,42,.2);
    transition:transform .24s ease;
}

.addon-modal.open{
    transform:translate(-50%,0);
}

.addon-modal-head{
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-bottom:1px solid #ebe4ef;
    background:#fff;
    border-radius:24px 24px 0 0;
}

.addon-modal-head small{
    color:#8c8092;
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.7px;
}

.addon-modal-head h2{
    margin:3px 0 0;
    font-size:20px;
}

.addon-modal-close{
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f2edf4;
    color:#5f5365;
    font-size:26px;
    cursor:pointer;
}

.addon-modal-body{
    flex:1;
    overflow:auto;
    padding:12px;
}

.customer-addon-group{
    margin-bottom:10px;
    overflow:hidden;
    border:1px solid #ece5ef;
    border-radius:15px;
    background:#fff;
}

.customer-addon-group-head{
    padding:12px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    border-bottom:1px solid #f0eaf2;
}

.customer-addon-group-head h3{
    margin:0;
    font-size:14px;
}

.customer-addon-group-head p{
    margin:4px 0 0;
    color:#8d8292;
    font-size:10px;
}

.customer-addon-group-head>span{
    flex:0 0 auto;
    padding:5px 7px;
    border-radius:999px;
    background:#f3e8ff;
    color:#6d28d9;
    font-size:9px;
    font-weight:900;
}

.customer-addon-options{
    display:flex;
    flex-direction:column;
}

.customer-addon-option{
    min-height:52px;
    margin:0;
    padding:10px 12px;
    display:grid;
    grid-template-columns:22px minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    border-bottom:1px solid #f3eef5;
    cursor:pointer;
}

.customer-addon-option:last-child{
    border-bottom:0;
}

.customer-addon-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.addon-check-ui{
    width:20px;
    height:20px;
    border:2px solid #cfc3d5;
    border-radius:6px;
    position:relative;
    background:#fff;
}

.customer-addon-option input:checked + .addon-check-ui{
    border-color:#6d28d9;
    background:#6d28d9;
}

.customer-addon-option input:checked + .addon-check-ui::after{
    content:'✓';
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.addon-option-name{
    font-size:12px;
    font-weight:700;
}

.customer-addon-option strong{
    color:#5b21b6;
    font-size:11px;
}

.addon-modal-footer{
    padding:11px 13px max(11px,env(safe-area-inset-bottom));
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-top:1px solid #ebe4ef;
    background:#fff;
}

.addon-modal-footer small,
.addon-modal-footer strong{
    display:block;
}

.addon-modal-footer small{
    color:#8d8292;
    font-size:9px;
}

.addon-modal-footer strong{
    margin-top:2px;
    font-size:17px;
}

.addon-modal-footer button{
    min-height:48px;
    padding:10px 18px;
    border:0;
    border-radius:11px;
    color:#fff;
    background:linear-gradient(100deg,#4c1d95,#7c3aed);
    font-size:12px;
    font-weight:900;
    cursor:pointer;
}

.cart-addons{
    margin-top:4px;
    display:flex;
    flex-direction:column;
    gap:2px;
}

.cart-addons small{
    color:#7c7181;
    font-size:9px;
}

.cart-row-right{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:6px;
}

.remove-custom-item{
    width:25px;
    height:25px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:7px;
    color:#991b1b;
    background:#fee2e2;
    font-size:16px;
    font-weight:900;
    cursor:pointer;
}

/* =========================
   CARDÁPIO PÚBLICO / VISITANTE
   ========================= */

.public-menu-notice{
    max-width:1120px;
    margin:12px auto;
    padding:12px 14px;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid #ddd0ed;
    border-radius:14px;
    background:#faf7ff;
    color:#4c1d95;
}

.public-menu-notice>span{
    flex:0 0 auto;
    font-size:25px;
}

.public-menu-notice strong,
.public-menu-notice small{
    display:block;
}

.public-menu-notice strong{
    font-size:12px;
}

.public-menu-notice small{
    margin-top:2px;
    color:#75647f;
    font-size:10px;
    line-height:1.45;
}

.guest-catalog-message{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}

.guest-catalog-message strong,
.guest-catalog-message span{
    display:block;
}

.guest-catalog-message strong{
    font-size:12px;
}

.guest-catalog-message span{
    margin-top:3px;
    color:#7c7181;
    font-size:10px;
}

.guest-catalog-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:7px;
}

.guest-login-button,
.guest-register-button,
.menu-preview-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:8px 12px;
    border-radius:10px;
    text-decoration:none;
    font-size:10px;
    font-weight:900;
}

.guest-login-button{
    color:#fff;
    background:linear-gradient(105deg,#5b21b6,#7c3aed);
}

.guest-register-button{
    color:#5b21b6;
    border:1px solid #d8c8e8;
    background:#fff;
}

.guest-product-control{
    min-width:116px;
}

.guest-order-button{
    width:100%;
    min-width:112px;
    padding:8px 9px !important;
    text-decoration:none;
    text-align:center;
    font-size:10px !important;
    white-space:nowrap;
}

.menu-preview-button{
    width:100%;
    margin-top:10px;
    color:#5b21b6;
    border:1px solid #d8c8e8;
    background:#faf7ff;
}

.alert.warning{
    color:#92400e;
    background:#fef3c7;
    border:1px solid #fde68a;
}

@media(max-width:700px){
    .guest-catalog-message{
        align-items:flex-start;
        flex-direction:column;
    }

    .guest-catalog-actions{
        width:100%;
    }

    .guest-login-button,
    .guest-register-button{
        flex:1;
    }

    .public-menu-notice{
        margin:8px 10px;
    }
}

