@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

:root {
    --primary: #0d6efd;
    --primary-dark: #0757c9;
    --text: #111827;
    --muted: #64748b;
    --line: #e6edf7;
    --soft: #f6f9ff;
    --warm: #ffb216;
    --shadow: 0 14px 38px rgba(16, 39, 76, .08);
}

* {
    box-sizing: border-box;
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

.site-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    background: #fff;
    color: var(--text);
    overflow-x: hidden;
}

.site-body.home-page {
    background-color: #fbf8f2;
    background-image: url("../img/backgrounds/home-ambient-lite.webp");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.home-page .site-header {
    background: rgba(251, 248, 242, .86);
    border-bottom-color: rgba(221, 212, 197, .58);
    box-shadow: 0 8px 24px rgba(57, 48, 35, .035);
}

.home-page .page-content {
    background: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 84px;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(230, 237, 247, .7);
    box-shadow: 0 5px 22px rgba(20, 35, 60, .05);
    backdrop-filter: blur(12px);
    z-index: 100;
}

.header-inner {
    width: min(1200px, calc(100% - 48px));
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.brand {
    height: 59px;
    max-width: 168px;
    display: flex;
    align-items: center;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 700;
}

.brand img {
    max-width: 100%;
    max-height: 59px;
    object-fit: contain;
}

.site-nav,
.site-nav .menu {
    display: flex;
    align-items: center;
}

.site-nav .menu-list {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    list-style: none;
}

.site-nav .menu-list .nav-link {
    position: relative;
    display: block;
    margin: 0;
    padding: 13px 14px;
    color: #374151;
    font-size: .92rem;
    font-weight: 500;
    transition: color .2s ease;
}

.site-nav .menu-list .nav-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 3px;
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-nav .menu-list .nav-link:hover,
.site-nav .menu-list .nav-link.active {
    color: var(--primary);
}

.site-nav .menu-list .nav-link:hover::after,
.site-nav .menu-list .nav-link.active::after {
    transform: scaleX(1);
}

.nav-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-left: 8px;
    padding: 0 21px;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    transition: all .2s ease;
}

.nav-login {
    color: var(--primary);
    border: 1px solid var(--primary);
}

.nav-login:hover {
    background: #eff6ff;
}

.nav-order {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 8px 18px rgba(13, 110, 253, .2);
}

.nav-order:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.account-menu {
    position: relative;
    margin-left: 7px;
}

.account-trigger {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 7px 0 5px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #51627c;
    background: transparent;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.account-avatar {
    width: 39px;
    height: 39px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #e9f2ff, #f3f7ff);
    color: var(--primary);
    transition: background .2s ease, color .2s ease;
}

.account-avatar .material-icons {
    font-size: 20px;
}

.account-label {
    display: none;
}

.account-chevron {
    color: var(--muted);
    font-size: 17px;
    transition: transform .18s ease;
}

.account-trigger:hover {
    color: var(--primary);
    background: rgba(13, 110, 253, .05);
}

.account-menu.is-open .account-trigger {
    border-color: rgba(13, 110, 253, .12);
    color: var(--primary);
    background: rgba(13, 110, 253, .065);
}

.account-menu.is-open .account-avatar {
    color: #fff;
    background: var(--primary);
}

.account-menu.is-open .account-chevron {
    transform: rotate(180deg);
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 120;
    width: 214px;
    padding: 8px;
    border: 1px solid rgba(220, 231, 248, .95);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 20px 52px rgba(16, 39, 76, .13);
}

.account-dropdown[hidden] {
    display: none;
}

.account-dropdown a,
.account-dropdown button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 11px;
    border: 0;
    border-radius: 11px;
    color: #24324a;
    background: transparent;
    font: inherit;
    font-size: .82rem;
    font-weight: 550;
    text-align: left;
    cursor: pointer;
    transition: color .16s ease, background .16s ease;
}

.account-dropdown a:hover,
.account-dropdown a:focus-visible {
    color: var(--primary);
    background: var(--soft);
}

.account-dropdown form {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid var(--line);
}

.account-dropdown button {
    color: #c13939;
}

.account-dropdown button:hover,
.account-dropdown button:focus-visible {
    background: #fff2f2;
}

.account-dropdown button:disabled {
    opacity: .58;
    cursor: wait;
}

.account-dropdown .material-icons {
    font-size: 18px;
}

.account-trigger:focus-visible,
.account-dropdown a:focus-visible,
.account-dropdown button:focus-visible {
    outline: 3px solid rgba(13, 110, 253, .18);
    outline-offset: 1px;
}

#checkbox {
    display: none;
}

.container-menu-mobile {
    display: none;
}

.menu_hamburger {
    position: relative;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--soft);
    cursor: pointer;
    z-index: 102;
}

.line {
    position: absolute;
    width: 21px;
}

.line-main::before,
.line-main::after,
.line-split::before,
.line-split::after {
    content: "";
    position: absolute;
    width: inherit;
    height: 2px;
    border-radius: 8px;
    background: var(--primary);
    transition: transform .35s ease, opacity .25s ease;
}

.line-main::before {
    transform: translateY(-7px);
}

.line-main::after {
    transform: translateY(7px);
}

.line-split::before,
.line-split::after {
    width: 11px;
}

.line-split::after {
    transform: translateX(10px);
}

#checkbox:checked ~ .line-main::before {
    transform: rotate(45deg);
}

#checkbox:checked ~ .line-main::after {
    transform: rotate(-45deg);
}

#checkbox:checked ~ .line-split::before {
    transform: translateX(-12px);
    opacity: 0;
}

#checkbox:checked ~ .line-split::after {
    transform: translateX(20px);
    opacity: 0;
}

.page-content {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding-top: 84px;
    opacity: 1;
}

.page-content:focus {
    outline: none;
}

.page-content.fade-out {
    animation: fade-out-page 0.4s ease-out forwards;
}

.page-content.fade-in {
    animation: fade-in-page 0.5s ease-in forwards;
}

@keyframes fade-out-page {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes fade-in-page {
    from { opacity: 0; }
    to { opacity: 1; }
}

.float-cart {
    position: fixed;
    right: 28px;
    bottom: 30px;
    z-index: 90;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 12px 25px rgba(13, 110, 253, .32);
    transition: transform .2s ease, background .2s ease;
    border: 0;
    cursor: pointer;
}

.float-cart:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

.float-cart .material-icons {
    font-size: 27px;
}

.cart-counter {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: #f04444;
    border: 2px solid #fff;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.popup-alert {
    position: fixed;
    right: 28px;
    bottom: 106px;
    z-index: 1050;
    max-width: 330px;
    padding: 14px 18px;
    color: #fff;
    background: var(--primary);
    border-radius: 12px;
    box-shadow: var(--shadow);
    font-size: .88rem;
    font-weight: 500;
}

.app-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    height: 3px;
    pointer-events: none;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, var(--primary), var(--warm));
    transition: opacity .16s ease, transform .32s ease;
}

.app-loading .app-progress {
    opacity: 1;
    transform: scaleX(.74);
}

.app-loaded .app-progress {
    opacity: 0;
    transform: scaleX(1);
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    pointer-events: none;
}

.cart-drawer.is-open {
    visibility: visible;
    pointer-events: auto;
}

.cart-drawer-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 20, 39, .38);
    opacity: 0;
    transition: opacity .24s ease;
}

.cart-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(430px, 100vw);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 26px 22px 20px;
    background: #fff;
    box-shadow: -22px 0 55px rgba(16, 39, 76, .18);
    transform: translateX(103%);
    transition: transform .28s cubic-bezier(.2, .8, .2, 1);
    overflow: hidden;
}

.cart-drawer.is-open .cart-drawer-backdrop {
    opacity: 1;
}

.cart-drawer.is-open .cart-drawer-panel {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.drawer-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cart-drawer-header h2 {
    margin: 0;
    font-size: 1.45rem;
}

.drawer-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--text);
    background: #fff;
    cursor: pointer;
}

.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 0;
    min-width: 0;
}

.cart-drawer-items[hidden] {
    display: none;
}

.drawer-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    min-width: 0;
    transition: opacity .18s ease, transform .18s ease, background .18s ease;
}

.drawer-item img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--soft);
}

.drawer-item h3 {
    margin: 1px 0 4px;
    font-size: .83rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.drawer-item small {
    display: block;
    color: var(--muted);
    font-size: .7rem;
}

.drawer-item-note {
    margin-top: 6px;
    padding: 6px 8px;
    color: #506784;
    background: rgba(13, 110, 253, .06);
    border-radius: 8px;
    font-size: .67rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.drawer-item-note strong {
    color: var(--primary);
    font-weight: 700;
}

.drawer-item-footer {
    margin-top: 9px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.drawer-item-footer strong {
    font-size: .82rem;
}

.drawer-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.drawer-controls button {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 8px;
    color: var(--primary);
    background: var(--soft);
    cursor: pointer;
}

.drawer-controls > span {
    min-width: 22px;
    text-align: center;
    font-size: .78rem;
    font-weight: 600;
}

.drawer-controls button .material-icons {
    min-width: 0;
    font-size: 15px;
}

.drawer-controls button:disabled {
    opacity: .55;
    cursor: wait;
}

.drawer-item.is-updated {
    background: rgba(13, 110, 253, .045);
}

.drawer-item.is-removing {
    opacity: 0;
    transform: translateX(18px);
}

.cart-drawer-empty {
    flex: 1;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 9px;
    color: var(--muted);
    text-align: center;
    min-height: min(390px, 55vh);
}

.cart-drawer-empty[hidden] {
    display: none;
}

.cart-drawer-empty .material-icons {
    color: var(--primary);
    font-size: 42px;
}

.cart-drawer-empty strong {
    color: var(--text);
}

.cart-drawer-empty p {
    max-width: 230px;
    font-size: .82rem;
    line-height: 1.55;
}

.cart-drawer-summary {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.cart-drawer-summary > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: .9rem;
}

.cart-drawer-summary strong {
    color: var(--text);
    font-size: 1.2rem;
}

.drawer-checkout {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border-radius: 13px;
    font-size: .9rem;
    font-weight: 700;
}

body.drawer-open {
    overflow: hidden;
}

.order-success {
    width: min(620px, calc(100% - 40px));
    margin: 56px auto;
    padding: 54px 38px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.order-success .material-icons {
    width: 72px;
    height: 72px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--primary);
    background: var(--soft);
    font-size: 38px;
}

.order-success h1 {
    margin-bottom: 12px;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.order-success p {
    margin: 0 auto 28px;
    max-width: 450px;
    color: var(--muted);
    line-height: 1.65;
}

.order-success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.order-success-actions a {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    padding: 0 23px;
    border: 1px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-weight: 600;
}

.order-success-actions a:first-child {
    color: #fff;
    background: var(--primary);
}

.quick-access-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.quick-access-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.quick-access-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, .52);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.quick-access-card {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(92vh, 920px);
    padding: 27px;
    border: 1px solid rgba(208, 222, 242, .8);
    border-radius: 27px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 50px rgba(20, 45, 84, .12);
    text-align: left;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(14px) scale(.98);
    transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.quick-access-modal.is-open .quick-access-card {
    transform: translateY(0) scale(1);
}

.quick-access-close {
    position: absolute;
    top: 17px;
    right: 17px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(208, 222, 242, .9);
    border-radius: 13px;
    color: #7490b5;
    background: #fff;
    cursor: pointer;
}

.quick-access-close .material-icons {
    font-size: 18px;
}

.quick-access-header {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 46px 14px 0;
    min-width: 0;
}

.quick-access-icon {
    width: 41px;
    height: 41px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #0969f2;
    background: #edf5ff;
    font-size: 20px;
    line-height: 1;
}

.quick-access-kicker {
    display: block;
    margin: 1px 0 5px;
    color: #0969f2;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.quick-access-card h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.24rem;
    line-height: 1.22;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.quick-access-card p {
    margin: 0 0 18px 54px;
    max-width: 380px;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.55;
}

.quick-access-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-left: 54px;
}

.quick-access-primary,
.quick-access-secondary {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border-radius: 13px;
    font: inherit;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}

.quick-access-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(120deg, #075ee3, #1586ff);
    box-shadow: 0 13px 26px rgba(9, 105, 242, .21);
}

.quick-access-primary .material-icons {
    font-size: 17px;
}

.quick-access-secondary {
    border: 1px solid rgba(9, 105, 242, .18);
    color: #53667f;
    background: #fff;
}

.quick-access-card small {
    display: block;
    margin: 13px 0 0 54px;
    color: #7490b5;
    font-size: .72rem;
    line-height: 1.45;
}

.pix-payment .pix-icon {
    color: var(--primary);
    background: var(--soft);
}

.quick-access-card .order-success {
    width: 100%;
    margin: 0;
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.quick-access-card .order-success.pix-payment {
    width: 100%;
    max-width: none;
    display: grid;
    justify-items: center;
    gap: 14px;
}

.quick-access-card .order-success.pix-payment h1 {
    margin: 0;
}

.quick-access-card .order-success.pix-payment > p {
    margin: 0;
}

.pix-qrcode-wrap {
    display: inline-block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
    margin-bottom: 0;
}

.pix-qrcode {
    display: block;
    width: min(208px, 52vw);
    height: auto;
    border-radius: 6px;
}

.pix-copia-cola {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--soft);
}

.pix-copia-cola input {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 14px;
    border: none;
    background: transparent;
    font-size: .8rem;
    color: var(--muted);
    outline: none;
    cursor: text;
}

.btn-pix-copy {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border: none;
    border-left: 1px solid var(--line);
    background: var(--primary);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s ease;
    white-space: nowrap;
}

.btn-pix-copy .material-icons { font-size: 1.1rem; }
.btn-pix-copy:hover { background: var(--primary-dark); }
.pix-qr-brand-card {
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(190, 209, 235, .75);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(247,251,255,.92));
    box-shadow: 0 14px 34px rgba(20, 48, 92, .10);
    backdrop-filter: blur(8px);
    text-align: left;
}

.pix-brand-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    min-height: 32px;
}

.pix-brand-safe {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #145a32;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.15;
}

.pix-brand-safe .material-icons {
    font-size: .88rem;
    opacity: .92;
    width: auto;
    height: auto;
    margin: 0;
    display: inline-block;
    border-radius: 0;
    background: transparent;
    line-height: 1;
    color: currentColor;
}

.pix-brand-bank {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    gap: 0;
    margin-left: 10px;
}

.pix-brand-logo {
    display: block;
    width: auto;
    height: 23px;
    max-width: 128px;
    object-fit: contain;
    margin: 0;
}

.pix-brand-logo[hidden] {
    display: none !important;
}

.pix-brand-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    border: 1px solid #d5e3f6;
    background: #fff;
    color: #2f4b69;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1;
}

.pix-brand-fallback[hidden] {
    display: none !important;
}

.pix-brand-subtitle {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: .75rem;
    line-height: 1.3;
}

.pix-brand-footer {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #dce7f7;
}

.pix-brand-footer small {
    display: block;
    color: #617792;
    font-size: .7rem;
    line-height: 1.35;
}

.pix-qr-modal-content .pix-qr-modal-title {
    margin: 0 0 8px;
    color: #6b7f9a;
    font-size: .75rem;
    line-height: 1.35;
}


.pix-status-msg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .82rem;
    color: var(--muted);
    margin: 0;
}

.pix-status-msg::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--muted);
    opacity: .5;
    animation: pix-pulse 1.4s ease-in-out infinite;
}

.pix-status-msg.pix-pago {
    color: #16a34a;
    font-weight: 700;
}

.pix-status-msg.pix-pago::before {
    background: #16a34a;
    opacity: 1;
    animation: none;
}

#pix-expire-countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin: 6px auto 22px;
    padding: 0;
    background: transparent;
    border: 0;
    color: #5f6b7b;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.25;
}

#pix-expire-countdown::before {
    display: none;
}

#pix-expire-countdown .material-icons {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: .9rem;
    line-height: 1;
    color: #8b96a5;
}

@keyframes pix-pulse {
    0%, 100% { opacity: .25; transform: scale(.85); }
    50%       { opacity: .9;  transform: scale(1.15); }
}
.renotify-wrap {
    margin-top: 28px;
    text-align: center;
}

.btn-renotify {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 20px;
    min-height: 44px;
    border: 1.5px dashed var(--primary);
    border-radius: 12px;
    background: transparent;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s, color .18s;
}

.btn-renotify:hover:not(:disabled) {
    background: var(--primary);
    color: #fff;
}

.btn-renotify:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.renotify-hint {
    margin: 8px auto 0;
    font-size: .8rem;
    color: #888;
    max-width: 360px;
}

.site-footer {
    margin-top: 70px;
    padding: 56px max(24px, calc((100% - 1200px) / 2)) 0;
    color: #fff;
    background: #101a31;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.6fr) repeat(3, minmax(150px, 1fr));
    gap: 44px;
    padding-bottom: 44px;
}

.footer-brand img {
    max-width: 116px;
    max-height: 54px;
    margin-bottom: 16px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.footer-brand h2 {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.footer-brand p {
    max-width: 300px;
    color: #aeb8ca;
    font-size: .87rem;
    line-height: 1.7;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-column h3 {
    margin-bottom: 6px;
    color: #fff;
    font-size: .9rem;
}

.footer-column a {
    color: #aeb8ca;
    font-size: .84rem;
    overflow-wrap: anywhere;
    transition: color .2s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column i {
    width: 20px;
    color: #76acff;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 39px;
    height: 39px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
}

.social-links i {
    width: auto;
    font-size: 1rem;
}

.footer-bottom {
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.footer-bottom p {
    color: #8995ab;
    font-size: .76rem;
}

@media (max-width: 860px) {
    .header-inner {
        width: calc(100% - 32px);
    }

    .container-menu-mobile {
        display: flex;
    }

    .site-nav .menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 86vw);
        height: 100vh;
        padding: 98px 24px 30px;
        align-items: flex-start;
        background: #fff;
        box-shadow: -18px 0 38px rgba(15, 23, 42, .12);
        transform: translateX(105%);
        transition: transform .3s ease;
    }

    .site-nav .menu.menu-opened {
        transform: translateX(0);
    }

    .site-nav .menu-list {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 7px;
    }

    .site-nav .menu-list .nav-link {
        padding: 14px 8px;
        font-size: 1rem;
    }

    .site-nav .menu-list .nav-link::after {
        left: 8px;
        right: auto;
        width: 34px;
    }

    .nav-action {
        width: 100%;
        margin: 6px 0 0;
    }

    .account-menu {
        width: 100%;
        margin: 9px 0 0;
    }

    .account-trigger {
        width: 100%;
        justify-content: flex-start;
        padding: 0 11px 0 5px;
        border-color: var(--line);
        border-radius: 13px;
        background: #fff;
    }

    .account-label {
        display: inline;
    }

    .account-chevron {
        margin-left: auto;
    }

    .account-dropdown {
        position: static;
        width: 100%;
        margin-top: 7px;
        box-shadow: none;
        background: var(--soft);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px 24px;
    }
}

@media (max-width: 560px) {
    .site-header {
        height: 76px;
    }

    .brand,
    .brand img {
        height: 51px;
        max-height: 51px;
    }

    .page-content {
        padding-top: 76px;
    }

    .float-cart {
        right: 18px;
        bottom: 20px;
        width: 56px;
        height: 56px;
    }

    .site-footer {
        margin-top: 54px;
        padding-top: 42px;
    }

    .cart-drawer-panel {
        padding: 20px 17px 16px;
    }

    .order-success {
        margin: 28px auto;
        padding: 40px 21px;
    }

    .order-success-actions {
        flex-direction: column;
    }

    .quick-access-modal {
        padding: 16px;
    }

    .quick-access-card {
        width: 100%;
        max-height: calc(100vh - 32px);
        padding: 22px 18px 18px;
        border-radius: 21px;
    }

    .quick-access-close {
        top: 10px;
        right: 10px;
    }

    .quick-access-header {
        gap: 10px;
        margin-right: 36px;
        margin-bottom: 12px;
    }

    .quick-access-icon {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .quick-access-card h2 {
        font-size: 1.08rem;
    }

    .quick-access-card p {
        margin-left: 0;
        font-size: .82rem;
    }

    .quick-access-card .order-success {
        margin: 0;
        padding: 6px 0 0;
    }

    .quick-access-actions {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
    }

    .quick-access-primary,
    .quick-access-secondary {
        width: 100%;
    }

    .quick-access-card small {
        margin-left: 0;
    }

    .pix-qr-brand-card {
        padding: 12px;
        border-radius: 14px;
    }

    .pix-brand-header {
        align-items: center;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 6px;
        min-height: 30px;
    }

    .pix-brand-logo {
        height: 20px;
        max-width: 112px;
    }

    .pix-brand-safe {
        font-size: .74rem;
    }

    .pix-brand-safe .material-icons {
        font-size: .82rem;
    }

    .pix-copia-cola {
        flex-direction: column;
        align-items: stretch;
        border-radius: 10px;
    }

    .pix-copia-cola input {
        width: 100%;
    }

    .btn-pix-copy {
        width: 100%;
        justify-content: center;
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .pix-qrcode {
        width: min(208px, 58vw);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding-bottom: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cart-drawer-backdrop,
    .cart-drawer-panel,
    .app-progress {
        transition-duration: .01ms !important;
    }
}

.site-body.layout-restaurante {
    --primary: #0a67ef;
    --primary-dark: #054bb3;
    --text: #0d1b30;
    --muted: #5f7390;
    --line: #dce7f8;
    --soft: #edf4ff;
    --warm: #ff9f1a;
    background:
        radial-gradient(circle at 84% -8%, rgba(255, 160, 25, .14), transparent 34%),
        radial-gradient(circle at 16% 14%, rgba(10, 103, 239, .1), transparent 38%),
        #f6f9ff;
}

.layout-restaurante .site-header {
    background: rgba(246, 249, 255, .88);
    border-bottom-color: rgba(163, 190, 228, .34);
    box-shadow: 0 8px 26px rgba(20, 45, 84, .08);
}

.layout-restaurante .nav-action.nav-order {
    background: linear-gradient(120deg, #085ae0, #0e77ff);
    box-shadow: 0 13px 30px rgba(10, 103, 239, .24);
}

.layout-restaurante .float-cart {
    background: linear-gradient(128deg, #085ae0, #1490ff);
    box-shadow: 0 16px 36px rgba(10, 103, 239, .3);
}

.layout-restaurante .site-footer {
    background:
        linear-gradient(180deg, rgba(8, 26, 54, .96), rgba(10, 29, 60, .98)),
        radial-gradient(circle at top right, rgba(255, 160, 25, .18), transparent 45%);
}

.layout-debug-badge {
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 9999;
    max-width: calc(100vw - 24px);
    padding: 8px 10px;
    color: #dbeafe;
    background: rgba(15, 23, 42, .88);
    border: 1px solid rgba(147, 197, 253, .45);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .02em;
    pointer-events: none;
    backdrop-filter: blur(3px);
}
