/*
 * MiLá — camada responsiva
 * Mantém o CSS base focado na identidade visual e concentra aqui
 * os ajustes de layout para celular, tablet, notebook e desktop.
 */

/* ==========================================================================
   Base fluida
   ========================================================================== */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.container {
  --bs-gutter-x: clamp(1.5rem, 4vw, 2.5rem);
}

.section-pad {
  padding-block: clamp(4.25rem, 8vw, 7rem);
}

.section-title {
  text-wrap: balance;
}

.section-copy,
.product-description,
.step-card p,
.promise-card p,
.cta-card p {
  overflow-wrap: anywhere;
}

button,
.btn,
a {
  touch-action: manipulation;
}

/* ==========================================================================
   Navegação pública
   ========================================================================== */
.site-nav > .container {
  position: relative;
}

.site-nav .navbar-toggler {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 14px;
  color: var(--mila-ink);
}

.site-nav .navbar-toggler:focus-visible {
  box-shadow: 0 0 0 4px rgba(232,175,175,.18);
}

@media (max-width: 991.98px) {
  .site-nav {
    padding-inline: max(0px, env(safe-area-inset-left));
  }

  .site-nav > .container {
    min-height: 68px;
    padding-block: .35rem !important;
  }

  .site-nav .navbar-brand img {
    width: clamp(102px, 24vw, 122px);
  }

  .site-nav .navbar-collapse {
    position: absolute;
    top: calc(100% + .55rem);
    right: calc(var(--bs-gutter-x) * .5);
    left: auto;
    width: min(360px, calc(100vw - var(--bs-gutter-x)));
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .65rem;
    border: 1px solid rgba(216,180,160,.42);
    border-radius: 22px;
    background: rgba(255,253,252,.98);
    box-shadow: 0 18px 55px rgba(91,69,67,.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .site-nav .navbar-nav {
    align-items: stretch !important;
    gap: .18rem;
  }

  .site-nav .nav-link {
    padding: .72rem .85rem !important;
    border-radius: 13px;
    font-size: .94rem;
  }

  .site-nav .nav-link::after {
    display: none;
  }

  .site-nav .nav-link:hover,
  .site-nav .nav-link:focus-visible {
    background: rgba(245,239,234,.82);
  }

  .site-nav .btn-nav-cart {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    margin-top: .3rem;
    padding-inline: .9rem .65rem;
  }
}

@media (max-width: 575.98px) {
  .site-nav .navbar-collapse {
    right: .75rem;
    width: min(330px, calc(100vw - 1.5rem));
    border-radius: 20px;
  }
}

/* ==========================================================================
   Home pública — tablet e notebook
   ========================================================================== */
@media (max-width: 1199.98px) {
  .hero {
    min-height: 760px;
    padding-top: 8.2rem;
  }

  .hero-modal {
    max-width: 900px;
  }

  .promise-grid,
  .steps-grid {
    gap: 1rem;
  }

  .footer-main {
    grid-template-columns: 1.35fr .8fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: auto;
    padding: 8rem 0 4.25rem;
  }

  .hero-modal {
    border-radius: 34px;
  }

  .hero-bow-sticker {
    width: 88px;
    height: 88px;
    top: -36px;
  }

  .about-section .row {
    --bs-gutter-y: 2.75rem;
  }

  .about-art {
    width: min(100%, 500px);
    margin-inline: auto;
  }

  .promise-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .promise-card:last-child {
    grid-column: 1 / -1;
  }

  .catalog-heading {
    align-items: start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .catalog-tip {
    max-width: 100%;
    transform: none;
  }

  .catalog-toolbar {
    align-items: stretch;
  }

  .catalog-search-wrap {
    flex: 1 1 280px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .step-card:nth-child(2) {
    transform: none;
  }

  .step-card:last-child {
    grid-column: 1 / -1;
    min-height: 230px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-whatsapp {
    justify-self: start;
  }

  .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Home pública — celulares
   ========================================================================== */
@media (max-width: 767.98px) {
  .section-pad {
    padding-block: clamp(3.6rem, 12vw, 5rem);
  }

  .hero {
    padding-top: 7.2rem;
    padding-bottom: 3.5rem;
  }

  .hero-modal {
    padding: 3.1rem 1.35rem 1.8rem;
    border-radius: 28px;
  }

  .hero-logo {
    width: min(78vw, 330px);
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2.2rem, 9.8vw, 3.4rem);
    line-height: 1.02;
  }

  .hero p {
    font-size: .98rem;
    line-height: 1.65;
  }

  .hero-bow-sticker {
    right: 18px;
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .hero-tape-left {
    left: 18px;
  }

  .hero-tape-right {
    right: 20px;
  }

  .hero-blob-a {
    width: 220px;
    height: 220px;
  }

  .hero-blob-b {
    width: 170px;
    height: 170px;
  }

  .hero-mini-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .55rem;
    font-size: .72rem;
  }

  .hero-mini-features span {
    min-width: 0;
    text-align: center;
  }

  .hero-mini-features b {
    display: block;
    margin: 0 0 .16rem;
  }

  .promise-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .promise-card:last-child,
  .step-card:last-child {
    grid-column: auto;
  }

  .step-card {
    min-height: 0;
    padding: 1.55rem;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  .catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: .8rem;
    margin-top: 1.7rem;
  }

  .catalog-search-wrap {
    width: 100%;
    min-width: 0;
    order: -1;
  }

  .filter-chips {
    width: calc(100% + var(--bs-gutter-x) * .5);
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: .1rem calc(var(--bs-gutter-x) * .5) .45rem 0;
  }

  .filter-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    min-height: 42px;
  }

  .catalog-tip {
    font-size: .84rem;
    padding: .8rem .95rem;
  }

  .product-card {
    height: 100%;
  }

  .product-body {
    padding: 1.15rem;
  }

  .cta-card {
    border-radius: 28px;
    padding: 2rem 1.4rem;
  }

  .cta-card h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .cta-card .btn {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .footer-main > :first-child {
    grid-column: auto;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .55rem;
  }

  .footer-links a {
    font-size: .84rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .quote-canvas {
    --bs-offcanvas-width: min(100vw, 465px);
  }

  .quote-header {
    padding: 1.1rem;
  }

  .quote-scroll {
    padding-inline: 1rem;
  }

  .quote-form-wrap {
    padding: 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .product-modal .modal-dialog {
    margin: .75rem;
  }

  .product-modal .modal-content {
    border-radius: 24px;
  }

  .product-modal-image-col,
  .product-modal-image-col img {
    min-height: 280px;
    max-height: 42vh;
  }

  .product-modal-body {
    padding: 1.35rem;
  }

  .product-modal-body h2 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .quote-fab {
    right: .85rem;
    bottom: max(.85rem, calc(env(safe-area-inset-bottom, 0px) + .65rem));
  }
}

@media (max-width: 575.98px) {
  .hero-modal {
    margin-inline: -.1rem;
    padding-inline: 1rem;
  }

  .hero-kicker {
    font-size: .66rem;
    letter-spacing: .08em;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-mini-features {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-mini-features span {
    display: grid;
    grid-template-columns: 26px 1fr;
    text-align: left;
    align-items: center;
  }

  .hero-mini-features b {
    margin: 0;
  }

  .about-note {
    right: -.25rem;
  }

  #catalogGrid > [class*="col-"] {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .quote-item {
    grid-template-columns: 58px minmax(0,1fr) 34px;
    gap: .7rem;
  }

  .quote-item img {
    width: 58px;
    height: 58px;
    border-radius: 15px;
  }

  .quote-fab-label {
    display: none;
  }

  .quote-fab {
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }

  .quote-fab .quote-count {
    position: absolute;
    right: -4px;
    top: -5px;
  }
}

@media (max-width: 379.98px) {
  .container {
    --bs-gutter-x: 1.25rem;
  }

  .hero {
    padding-top: 6.8rem;
  }

  .hero-modal {
    border-radius: 24px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10.8vw, 2.55rem);
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .product-footer {
    align-items: flex-end;
    gap: .5rem;
  }

  .product-price strong {
    font-size: .92rem;
  }

  .cta-card {
    padding-inline: 1.05rem;
  }
}

/* ==========================================================================
   Paisagem / telas baixas
   ========================================================================== */
@media (max-height: 560px) and (orientation: landscape) {
  .site-nav .navbar-collapse {
    max-height: calc(100dvh - 78px);
  }

  .hero {
    min-height: 650px;
    padding-top: 6.5rem;
  }

  .quote-canvas {
    --bs-offcanvas-width: min(520px, 82vw);
  }
}

/* ==========================================================================
   ADMIN — estrutura principal
   ========================================================================== */
.admin-shell {
  overflow-x: clip;
}

.admin-topbar {
  z-index: 1100;
}

.admin-nav-container {
  position: relative;
  min-height: 72px;
}

.admin-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  color: var(--mila-ink);
  text-decoration: none;
  font-weight: 800;
}

.admin-brand img {
  width: 112px;
  height: auto;
  flex: 0 0 auto;
}

.admin-brand > span {
  padding-left: .6rem;
  border-left: 1px solid #eadfd8;
  color: #947a74;
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-head-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.admin-mobile-orders {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(232,175,175,.48);
  border-radius: 14px;
  background: #fff7f6;
  color: #a96f71;
  text-decoration: none;
  font: 700 1.2rem/1 Georgia,serif;
}

.admin-mobile-orders .admin-order-badge {
  position: absolute;
  right: -5px;
  top: -5px;
}

.admin-menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 0;
  border: 1px solid #e7dcd6;
  border-radius: 15px;
  background: #fff;
  color: var(--mila-ink);
  box-shadow: 0 5px 18px rgba(91,69,67,.05);
}

.admin-menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 99px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}

.admin-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.admin-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.admin-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.admin-menu-panel {
  min-width: 0;
}

.admin-menu-primary,
.admin-menu-utilities {
  min-width: 0;
}

.admin-menu-link,
.admin-utility-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .48rem;
  min-height: 40px;
  padding: .55rem .72rem;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #6f5b57;
  text-decoration: none;
  font: inherit;
  font-size: .82rem;
  font-weight: 720;
  line-height: 1.15;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

button.admin-utility-btn {
  cursor: pointer;
}

.admin-menu-link:hover,
.admin-menu-link:focus-visible,
.admin-utility-btn:hover,
.admin-utility-btn:focus-visible {
  background: #f8f1ed;
  color: #a26d6f;
  border-color: #eadfd8;
}

.admin-menu-link.is-active {
  background: #fff0ef;
  color: #a76467;
  border-color: rgba(232,175,175,.58);
}

.admin-menu-link.has-unread {
  color: #a76467;
}

.admin-menu-icon {
  width: 22px;
  flex: 0 0 22px;
  text-align: center;
  color: #b88485;
  font-size: 1rem;
}

.admin-menu-divider {
  background: #eee3dd;
}

.admin-menu-utilities {
  display: flex;
  align-items: center;
}

.admin-logout-form {
  margin: 0;
}

.admin-logout-btn {
  color: #875f5f;
  background: #f7f0eb;
  border-color: #e8ddd6;
}

.admin-content {
  width: 100%;
  max-width: 1320px;
}

/* Desktop amplo */
@media (min-width: 1200px) {
  .admin-nav-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: .65rem;
  }

  .admin-nav-head {
    flex: 0 0 auto;
  }

  .admin-menu-panel {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    flex: 1 1 auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .admin-menu-primary {
    display: flex;
    align-items: center;
    gap: .05rem;
    margin-left: auto;
  }

  .admin-menu-divider {
    width: 1px;
    height: 26px;
    flex: 0 0 1px;
  }

  .admin-menu-utilities {
    gap: .05rem;
  }

  .admin-menu-toggle,
  .admin-mobile-orders {
    display: none !important;
  }

  .admin-menu-link,
  .admin-utility-btn {
    padding-inline: .62rem;
  }
}

/* Notebook / tablet: menu hambúrguer */
@media (max-width: 1199.98px) {
  .admin-nav-container {
    padding-block: .7rem;
  }

  .admin-menu-toggle,
  .admin-mobile-orders {
    display: grid;
  }

  .admin-menu-panel {
    position: absolute;
    top: calc(100% + .55rem);
    left: calc(var(--bs-gutter-x) * .5);
    right: calc(var(--bs-gutter-x) * .5);
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: .85rem;
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .9rem;
    border: 1px solid rgba(216,180,160,.45);
    border-radius: 24px;
    background: rgba(255,253,252,.985);
    box-shadow: 0 22px 60px rgba(91,69,67,.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top right;
    transition: opacity .18s ease, visibility .18s ease, transform .2s ease;
  }

  .admin-menu-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .admin-menu-primary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: .45rem;
  }

  .admin-menu-link {
    width: 100%;
    min-height: 48px;
  }

  .admin-menu-divider {
    height: 1px;
    width: 100%;
  }

  .admin-menu-utilities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: .45rem;
  }

  .admin-utility-btn,
  .admin-logout-form,
  .admin-logout-form .admin-utility-btn {
    width: 100%;
  }

  .admin-utility-btn {
    justify-content: center;
    min-height: 46px;
    border-color: #eadfd8;
    background: #fff;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  .admin-content {
    padding-top: 1.35rem !important;
  }

  .admin-menu-primary {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .admin-menu-utilities {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .order-card-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .admin-card .table {
    min-width: 760px;
  }

  .admin-thumb {
    width: 66px;
    height: 54px;
  }
}

/* Celulares */
@media (max-width: 767.98px) {
  .admin-nav-container {
    min-height: 66px;
  }

  .admin-brand img {
    width: 102px;
  }

  .admin-brand > span {
    display: none;
  }

  .admin-menu-panel {
    left: .75rem;
    right: .75rem;
    width: auto;
    max-height: calc(100dvh - 92px);
    border-radius: 21px;
  }

  .admin-content {
    padding-inline: .8rem;
  }

  .admin-content > .d-flex:first-child .btn {
    width: 100%;
  }

  .admin-card {
    border-radius: 19px;
  }

  .order-page-heading > div:last-child {
    width: 100%;
  }

  .order-page-heading > div:last-child .btn {
    flex: 1 1 180px;
  }

  .order-pinboard {
    margin-inline: 0;
  }

  .order-card-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-order-row {
    display: grid;
    grid-template-columns: 40px minmax(0,1fr);
  }

  .dashboard-order-row .order-status {
    grid-column: 2;
    justify-self: start;
  }

  .admin-users-list .admin-user-row {
    gap: .7rem;
  }
}

/* Celulares compactos */
@media (max-width: 575.98px) {
  .admin-nav-head {
    gap: .55rem;
  }

  .admin-head-actions {
    gap: .4rem;
  }

  .admin-mobile-orders,
  .admin-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .admin-menu-panel {
    padding: .7rem;
  }

  .admin-menu-primary,
  .admin-menu-utilities {
    grid-template-columns: 1fr;
    gap: .32rem;
  }

  .admin-menu-link,
  .admin-utility-btn {
    min-height: 46px;
    justify-content: flex-start;
    padding: .68rem .78rem;
    border-color: transparent;
  }

  .admin-menu-utilities .admin-utility-btn {
    border-color: #eee3dd;
  }

  .admin-content {
    padding-inline: .7rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .admin-content .admin-card.p-4,
  .admin-content .admin-card.p-md-5 {
    padding: 1rem !important;
  }

  .admin-content h1.h2 {
    font-size: clamp(1.8rem, 9vw, 2.3rem);
  }

  .admin-stat {
    min-height: 118px;
  }

  .order-filter-row {
    margin-inline: 0;
  }

  .order-pinboard {
    padding-inline: .7rem;
    border-width: 6px;
  }

  .order-paper {
    padding-inline: .9rem;
  }

  .order-paper-head {
    gap: .5rem;
  }

  .order-paper-actions > .btn {
    width: 100%;
    justify-content: center;
  }

  .admin-users-list .admin-user-row {
    display: grid;
    grid-template-columns: 46px minmax(0,1fr);
  }

  .admin-users-list .admin-user-row > form,
  .admin-users-list .admin-user-row > .badge {
    grid-column: 2;
    margin-left: 0 !important;
    justify-self: start;
  }

  .admin-card .table {
    font-size: .84rem;
  }
}

/* Telas muito pequenas */
@media (max-width: 359.98px) {
  .admin-content {
    padding-inline: .55rem;
  }

  .admin-brand img {
    width: 94px;
  }

  .admin-mobile-orders {
    display: none;
  }

  .admin-menu-panel {
    left: .5rem;
    right: .5rem;
  }

  .admin-menu-link,
  .admin-utility-btn {
    font-size: .8rem;
  }
}

/* ==========================================================================
   Acessibilidade de movimento
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .admin-menu-panel,
  .admin-menu-toggle span {
    transition: none !important;
  }
}



/* ==========================================================================
   MiLá Responsive v8 — cabeçalhos, quadro e ordem de compra
   ========================================================================== */

/* --------------------------------------------------------------------------
   Cabeçalho público redesenhado
   -------------------------------------------------------------------------- */
.site-nav {
  min-height: 72px;
  padding: 0;
  background: rgba(255,253,252,.92);
  border-bottom: 1px solid rgba(216,180,160,.28);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.site-nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.site-brand img {
  width: 118px;
  height: auto;
  display: block;
}

.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: .28rem;
  margin-left: auto;
}

.site-nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: .55rem .78rem;
  border-radius: 999px;
  color: var(--mila-ink);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 720;
  transition: background .18s ease, color .18s ease;
}

.site-nav-link:hover,
.site-nav-link:focus-visible {
  background: rgba(245,239,234,.86);
  color: #a66e70;
}

.site-nav-mobile-actions {
  display: none;
  align-items: center;
  gap: .48rem;
}

.site-mobile-cart,
.site-menu-toggle,
.site-mobile-menu-close {
  border: 1px solid rgba(216,180,160,.45);
  background: rgba(255,255,255,.9);
  color: var(--mila-ink);
}

.site-mobile-cart {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  padding: 0;
}

.site-mobile-cart-icon {
  font: 700 1.35rem/1 Georgia, serif;
  color: #b57578;
}

.site-mobile-cart .quote-count {
  position: absolute;
  right: -5px;
  top: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  font-size: .66rem;
  box-shadow: 0 4px 10px rgba(91,69,67,.12);
}

.site-menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 0;
  border-radius: 15px;
}

.site-menu-toggle > span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .16s ease;
}

.site-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-menu-backdrop[hidden],
.site-mobile-menu[aria-hidden="true"] {
  pointer-events: none;
}

.site-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1080;
  background: rgba(73,51,49,.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .2s ease;
}

.site-menu-backdrop.is-open {
  opacity: 1;
}

.site-mobile-menu {
  position: fixed;
  z-index: 1090;
  top: max(84px, calc(env(safe-area-inset-top, 0px) + 76px));
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  width: min(360px, calc(100vw - 40px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 1rem;
  border: 1px solid rgba(216,180,160,.52);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(232,175,175,.18), transparent 34%),
    rgba(255,253,252,.99);
  box-shadow: 0 28px 80px rgba(91,69,67,.24);
  transform: translateX(calc(100% + 36px));
  opacity: 0;
  transition: transform .24s cubic-bezier(.2,.7,.2,1), opacity .2s ease;
}

.site-mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
}

html.site-menu-open,
html.site-menu-open body {
  overflow: hidden;
}

.site-mobile-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .8rem;
  padding: .35rem .25rem 1rem;
}

.site-mobile-menu-kicker {
  color: var(--mila-gold-dark);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-mobile-menu-head strong {
  display: block;
  margin-top: .2rem;
  font: 700 1.65rem/1.08 Georgia, "Times New Roman", serif;
}

.site-mobile-menu-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  font-size: 1.25rem;
}

.site-mobile-menu-links {
  display: grid;
  gap: .45rem;
}

.site-mobile-menu-links a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: .7rem;
  padding: .85rem .9rem;
  border: 1px solid #eee3dd;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  color: var(--mila-ink);
  text-decoration: none;
}

.site-mobile-menu-links a > span {
  grid-row: 1 / 3;
  align-self: center;
  color: rgba(201,163,104,.82);
  font: 700 .78rem/1 Georgia, serif;
}

.site-mobile-menu-links a strong {
  font-size: .94rem;
}

.site-mobile-menu-links a small {
  color: #907a75;
  font-size: .72rem;
}

.site-mobile-menu-card {
  display: grid;
  gap: .85rem;
  margin-top: .8rem;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8e8e7, #f6efe9);
}

.site-mobile-menu-card small,
.site-mobile-menu-card strong {
  display: block;
}

.site-mobile-menu-card small {
  color: #967c76;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-mobile-menu-card strong {
  margin-top: .18rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.site-mobile-menu-card .btn {
  width: 100%;
  min-height: 44px;
}

.site-mobile-menu-footer {
  padding: 1rem .4rem .25rem;
  color: #9b8781;
  text-align: center;
  font-size: .7rem;
}

@media (max-width: 991.98px) {
  .site-nav-shell {
    min-height: 70px;
    padding-inline: max(20px, env(safe-area-inset-left));
  }

  .site-nav-desktop {
    display: none;
  }

  .site-nav-mobile-actions {
    display: flex;
  }

  .site-brand img {
    width: 104px;
  }
}

@media (min-width: 992px) {
  .site-menu-backdrop,
  .site-mobile-menu,
  .site-nav-mobile-actions {
    display: none !important;
  }
}

@media (max-width: 399.98px) {
  .site-nav-shell {
    padding-inline: 18px;
  }

  .site-brand img {
    width: 96px;
  }

  .site-mobile-cart,
  .site-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .site-mobile-menu {
    right: 16px;
    width: calc(100vw - 32px);
    bottom: 16px;
    border-radius: 24px;
  }
}

/* --------------------------------------------------------------------------
   Cabeçalho administrativo — compacto no mobile
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .admin-topbar {
    background: rgba(255,253,252,.97);
    border-bottom: 1px solid rgba(216,180,160,.34);
    box-shadow: 0 7px 25px rgba(91,69,67,.055);
  }

  .admin-nav-container {
    min-height: 68px;
    padding: .55rem 20px;
  }

  .admin-nav-head {
    width: 100%;
  }

  .admin-brand {
    gap: .5rem;
  }

  .admin-brand img {
    width: 101px;
  }

  .admin-brand-label {
    display: inline-flex !important;
    align-items: center;
    min-height: 25px;
    padding: .22rem .52rem !important;
    border: 1px solid rgba(232,175,175,.5) !important;
    border-radius: 999px;
    background: #fff3f2;
    color: #aa7072 !important;
    font-size: .62rem !important;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1;
  }

  .admin-menu-toggle {
    position: relative;
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border-color: rgba(216,180,160,.48);
    background: #fff;
    box-shadow: none;
  }

  .admin-menu-unread {
    position: absolute;
    right: -5px;
    top: -6px;
    min-width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    padding: 0 5px;
    border: 2px solid #fffdfc;
    border-radius: 999px;
    background: var(--mila-blush);
    color: #fff;
    font-size: .62rem;
    font-weight: 900;
  }

  .admin-menu-unread[hidden] {
    display: none;
  }

  .admin-menu-panel {
    top: calc(100% + .45rem);
    left: 20px;
    right: 20px;
    width: auto;
    max-height: calc(100dvh - 96px);
    padding: .8rem;
    border-radius: 22px;
    transform-origin: top right;
  }

  .admin-menu-mobile-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .35rem .35rem .7rem;
    border-bottom: 1px solid #f0e6e1;
  }

  .admin-menu-mobile-title span {
    color: #9b7772;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .admin-menu-mobile-title small {
    max-width: 48%;
    overflow: hidden;
    color: #8b7772;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-menu-primary {
    margin-top: .1rem;
  }
}

@media (min-width: 1200px) {
  .admin-menu-mobile-title {
    display: none;
  }

  .admin-brand-label {
    display: inline-flex;
  }
}

@media (max-width: 575.98px) {
  .admin-nav-container {
    padding-inline: 20px;
  }

  .admin-menu-panel {
    left: 20px;
    right: 20px;
    padding: .65rem;
  }

  .admin-menu-primary,
  .admin-menu-utilities {
    grid-template-columns: 1fr;
  }

  .admin-menu-link,
  .admin-utility-btn {
    min-height: 48px;
    padding: .72rem .78rem;
    border-radius: 14px;
  }
}

/* --------------------------------------------------------------------------
   Quadro de comandas — respiro e hierarquia
   -------------------------------------------------------------------------- */
.order-page-heading-compact {
  align-items: center;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(216,180,160,.36);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(232,175,175,.12), transparent 34%),
    rgba(255,255,255,.84);
  box-shadow: 0 10px 34px rgba(91,69,67,.055);
}

.order-page-heading-copy {
  min-width: 0;
}

.order-page-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .75rem;
  margin-bottom: .35rem;
  color: var(--mila-gold-dark);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.order-page-eyebrow a {
  color: #816965;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 650;
}

.order-page-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.02;
}

.order-page-heading p {
  max-width: 700px;
  margin: .45rem 0 0;
  color: #806c67;
  line-height: 1.55;
}

.order-page-tools {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
}

.order-tool-btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38rem;
  padding: .48rem .72rem;
  border: 1px solid #e8ddd6;
  border-radius: 999px;
  background: #fff;
  color: #785f5b;
  text-decoration: none;
  font-size: .77rem;
  font-weight: 760;
  white-space: nowrap;
}

.order-tool-btn:hover,
.order-tool-btn:focus-visible,
.order-tool-btn.is-enabled {
  border-color: rgba(232,175,175,.68);
  background: #fff2f1;
  color: #a66b6e;
}

.order-adjusted-mark {
  color: #a66e70;
  font-weight: 800;
}

.order-total.is-final {
  margin-top: .15rem;
  padding: .75rem .75rem 0;
  border-top: 1px solid rgba(201,163,104,.42);
  color: #7a5a56;
}

.order-total.is-final strong {
  color: #a56064;
  font-size: 1.08rem;
}

.order-card-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem;
}

.order-card-tool {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  border: 1px solid #e5d9d2;
  border-radius: 12px;
  background: rgba(255,255,255,.8);
  color: #725c57;
  text-decoration: none;
  font-size: .74rem;
  font-weight: 780;
}

.order-card-tool.is-adjust {
  border-color: rgba(232,175,175,.5);
  background: #fff3f2;
  color: #a06366;
}

.order-card-tool:hover {
  transform: translateY(-1px);
  color: #a06366;
}

.order-status-flow {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .4rem;
  align-items: stretch;
}

.order-status-flow form:first-child {
  min-width: 0;
}

.order-flow-btn,
.order-flow-cancel,
.order-flow-complete {
  min-height: 42px;
  width: 100%;
  border-radius: 12px;
  font-size: .74rem;
  font-weight: 820;
}

.order-flow-btn {
  border: 1px solid transparent;
  padding: .48rem .7rem;
}

.order-flow-btn.is-approve {
  border-color: #cfe0d1;
  background: #f0f8f1;
  color: #4f7655;
}

.order-flow-btn.is-finish {
  border-color: #e4d3ac;
  background: #fff8ea;
  color: #80632c;
}

.order-flow-btn.is-reopen {
  border-color: #d8d0cc;
  background: #f8f5f3;
  color: #756763;
}

.order-flow-cancel {
  width: auto;
  min-width: 90px;
  border: 1px solid #ecd4d4;
  background: #fff7f7;
  color: #936466;
  padding: .48rem .65rem;
}

.order-flow-complete {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  border: 1px solid #e5d5b1;
  background: #fff8ea;
  color: #80632c;
}

@media (max-width: 767.98px) {
  .admin-content {
    width: 100%;
    max-width: none;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .order-page-heading-compact {
    display: grid;
    gap: .95rem;
    padding: 1rem;
    border-radius: 20px;
  }

  .order-page-heading h1 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .order-page-heading p {
    font-size: .88rem;
  }

  .order-page-tools {
    justify-content: flex-start;
  }

  .order-tool-btn {
    min-height: 38px;
    padding: .42rem .65rem;
  }

  .order-filter-row {
    width: 100%;
    margin-inline: 0 !important;
    padding: 0 0 .35rem;
  }

  .order-filter-chip {
    min-height: 40px;
    padding: .48rem .65rem;
    font-size: .78rem;
  }

  .order-pinboard {
    width: 100%;
    margin-inline: 0 !important;
    padding: 2.1rem .8rem 1rem;
    border-width: 6px;
    border-radius: 20px;
  }

  .order-paper {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 419.98px) {
  .order-page-heading-compact {
    padding: .9rem;
  }

  .order-page-tools {
    gap: .35rem;
  }

  .order-tool-btn .admin-notify-label {
    display: none;
  }

  .order-status-flow {
    grid-template-columns: 1fr;
  }

  .order-flow-cancel {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Edição / ordem de compra
   -------------------------------------------------------------------------- */
.order-edit-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(216,180,160,.36);
  border-radius: 24px;
  background: rgba(255,255,255,.86);
}

.order-edit-form {
  display: grid;
  gap: 1rem;
}

.order-edit-customer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: #fff;
}

.order-edit-customer > div {
  min-width: 0;
}

.order-edit-customer small,
.order-edit-customer strong {
  display: block;
}

.order-edit-customer small {
  margin-bottom: .2rem;
  color: #9a817b;
  font-size: .68rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.order-edit-customer strong {
  overflow-wrap: anywhere;
  color: #604c48;
  font-size: .92rem;
}

.order-edit-list {
  display: grid;
  gap: 1rem;
}

.order-edit-item {
  overflow: hidden;
  padding: 1.15rem;
  background: #fff;
}

.order-edit-item-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-bottom: .9rem;
  border-bottom: 1px dashed #eadfd8;
}

.order-edit-index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 14px;
  background: #fff0ef;
  color: #ac7173;
  font: 700 .82rem/1 Georgia, serif;
}

.order-edit-item-head small {
  color: #9b817b;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.order-edit-item-head h2 {
  margin: .15rem 0 0;
  font: 700 1.25rem/1.12 Georgia, "Times New Roman", serif;
}

.order-edit-grid {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  gap: 1.2rem;
  padding-top: 1rem;
}

.order-edit-photo {
  display: grid;
  align-content: start;
  gap: .55rem;
}

.order-edit-photo img,
.order-edit-photo-empty {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid #eadfd8;
  background: #f8f2ee;
}

.order-edit-photo-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: .2rem;
  color: #ad7779;
}

.order-edit-photo-empty span {
  font: 700 2.2rem/1 Georgia, serif;
}

.order-edit-photo-empty small {
  color: #9c8580;
}

.order-remove-photo {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #916f6b;
  font-size: .72rem;
}

.order-edit-fields {
  min-width: 0;
  display: grid;
  gap: .8rem;
}

.order-edit-fields label,
.order-edit-summary-fields label,
.order-edit-note {
  display: grid;
  gap: .32rem;
  min-width: 0;
}

.order-edit-fields label > span,
.order-edit-summary-fields label > span,
.order-edit-note > span {
  color: #725d58;
  font-size: .76rem;
  font-weight: 760;
}

.order-edit-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.order-money-input {
  position: relative;
}

.order-money-input > span {
  position: absolute;
  z-index: 1;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9b817b;
  font-size: .76rem;
  pointer-events: none;
}

.order-money-input .form-control {
  padding-left: 2.45rem;
}

.order-edit-line-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .7rem;
  border-top: 1px dashed #eadfd8;
  color: #856e69;
  font-size: .8rem;
}

.order-edit-line-total strong {
  color: #a46366;
  font-size: 1rem;
}

.order-edit-summary {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.25rem;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 100% 0, rgba(232,175,175,.12), transparent 36%),
    #fff;
}

.order-edit-summary-copy h2 {
  margin: .25rem 0 .35rem;
}

.order-edit-summary-copy p {
  max-width: 380px;
  margin: 0;
  color: #8d7772;
  font-size: .82rem;
  line-height: 1.55;
}

.order-edit-summary-fields {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: .75rem;
}

.order-edit-note,
.order-edit-totals {
  grid-column: 1 / -1;
}

.order-edit-totals {
  overflow: hidden;
  border: 1px solid #eadfd8;
  border-radius: 18px;
  background: #fffdfb;
}

.order-edit-totals > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem .9rem;
  border-bottom: 1px solid #f0e6e1;
  color: #836b66;
  font-size: .82rem;
}

.order-edit-totals > div:last-child {
  border-bottom: 0;
}

.order-edit-totals .order-edit-final {
  background: #fff0ef;
  color: #8f5e61;
}

.order-edit-final strong {
  font-size: 1.18rem;
  color: #9f6266;
}

.order-edit-sticky-actions {
  position: sticky;
  z-index: 100;
  bottom: max(.75rem, env(safe-area-inset-bottom));
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  padding: .65rem;
  border: 1px solid rgba(216,180,160,.48);
  border-radius: 20px;
  background: rgba(255,253,252,.94);
  box-shadow: 0 14px 40px rgba(91,69,67,.13);
  backdrop-filter: blur(15px);
}

@media (max-width: 767.98px) {
  .order-edit-heading {
    align-items: flex-start;
    padding: 1rem;
    border-radius: 20px;
  }

  .order-edit-customer {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .order-edit-grid {
    grid-template-columns: 110px minmax(0,1fr);
    gap: .85rem;
  }

  .order-edit-photo img,
  .order-edit-photo-empty {
    border-radius: 16px;
  }

  .order-edit-fields-row {
    grid-template-columns: 1fr;
  }

  .order-edit-summary {
    grid-template-columns: 1fr;
  }

  .order-edit-summary-fields {
    grid-template-columns: 1fr 1fr;
  }

  .order-edit-sticky-actions {
    display: grid;
    grid-template-columns: auto auto 1fr;
  }
}

@media (max-width: 479.98px) {
  .order-edit-heading {
    display: grid;
  }

  .order-edit-heading > .order-status {
    justify-self: start;
  }

  .order-edit-grid {
    grid-template-columns: 1fr;
  }

  .order-edit-photo {
    grid-template-columns: 88px minmax(0,1fr);
    align-items: center;
  }

  .order-edit-photo img,
  .order-edit-photo-empty {
    width: 88px;
    height: 88px;
    aspect-ratio: auto;
  }

  .order-edit-photo .btn {
    width: 100%;
  }

  .order-remove-photo {
    grid-column: 2;
  }

  .order-edit-summary-fields {
    grid-template-columns: 1fr;
  }

  .order-edit-sticky-actions {
    grid-template-columns: 1fr 1fr;
  }

  .order-edit-sticky-actions .btn-mila {
    grid-column: 1 / -1;
  }
}


/* Ajustes finos do menu administrativo v8.1 */
@media (max-width: 1199.98px) {
  .admin-menu-utilities .admin-notify-label,
  .admin-menu-utilities .admin-install-label {
    display: inline !important;
  }

  .admin-menu-utilities .admin-utility-btn {
    min-width: 0;
  }
}

@media (max-width: 575.98px) {
  .admin-menu-primary {
    grid-template-columns: 1fr;
  }

  .admin-menu-utilities {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .admin-menu-utilities .admin-utility-btn {
    justify-content: flex-start;
    min-height: 46px;
    font-size: .76rem;
  }

  .admin-logout-form {
    min-width: 0;
  }
}


/* ==========================================================================
   MiLá Admin PIX v10
   ========================================================================== */
.settings-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.settings-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .45rem;
  padding: .35rem;
  border: 1px solid #eadfd8;
  border-radius: 999px;
  background: #fff;
}

.settings-tabs a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding: .55rem .9rem;
  border-radius: 999px;
  color: #765f5b;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 760;
}

.settings-tabs a.is-active {
  background: #fff0ef;
  color: #a26265;
}

.pix-settings-layout {
  display: grid;
  grid-template-columns: minmax(0,1.7fr) minmax(280px,.8fr);
  gap: 1rem;
  align-items: start;
}

.pix-settings-card,
.pix-preview-card {
  padding: 1.35rem;
  background: #fff;
}

.pix-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed #eadfd8;
}

.pix-settings-head h2,
.pix-preview-card h3 {
  margin: .25rem 0 .4rem;
}

.pix-settings-head p,
.pix-preview-card > p {
  max-width: 660px;
  margin: 0;
  color: #8a736e;
  font-size: .84rem;
  line-height: 1.6;
}

.pix-switch {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex: 0 0 auto;
  cursor: pointer;
  user-select: none;
}

.pix-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pix-switch span {
  position: relative;
  width: 46px;
  height: 26px;
  border: 1px solid #dfd2cb;
  border-radius: 999px;
  background: #f0e9e5;
  transition: .2s ease;
}

.pix-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 8px rgba(91,69,67,.15);
  transition: transform .2s ease;
}

.pix-switch input:checked + span {
  border-color: #dca3a4;
  background: var(--mila-blush);
}

.pix-switch input:checked + span::after {
  transform: translateX(20px);
}

.pix-switch b {
  color: #745d58;
  font-size: .8rem;
}

.pix-settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-top: 1rem;
}

.pix-settings-grid label {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.pix-settings-grid label > span {
  color: #715b57;
  font-size: .76rem;
  font-weight: 760;
}

.pix-settings-grid label small {
  color: #9b8882;
  font-weight: 500;
}

.pix-key-field,
.pix-message-field {
  grid-column: 1 / -1;
}

.pix-secret-input {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: .45rem;
}

.pix-secret-input button {
  min-width: 82px;
  border: 1px solid #eadfd8;
  border-radius: 12px;
  background: #fff8f6;
  color: #8e6965;
  font-size: .76rem;
  font-weight: 760;
}

.pix-privacy-note {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: .7rem;
  align-items: start;
  margin: 1rem 0 1.15rem;
  padding: .85rem .95rem;
  border: 1px dashed rgba(201,163,104,.5);
  border-radius: 16px;
  background: #fffaf0;
  color: #7b675f;
}

.pix-privacy-note > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: #b58a4e;
  font: 700 1.2rem/1 Georgia,serif;
}

.pix-privacy-note strong,
.pix-privacy-note p {
  display: block;
}

.pix-privacy-note p {
  margin: .2rem 0 0;
  font-size: .76rem;
  line-height: 1.5;
}

.pix-preview-card {
  position: sticky;
  top: 94px;
}

.pix-preview-mark {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 1rem 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(232,175,175,.95), rgba(216,180,160,.95));
  color: #fff;
  font: 800 1rem/1 system-ui,sans-serif;
  letter-spacing: .08em;
  box-shadow: 0 14px 30px rgba(91,69,67,.13);
}

.pix-preview-card dl {
  margin: 0 0 1rem;
  border: 1px solid #eee3dd;
  border-radius: 18px;
  overflow: hidden;
}

.pix-preview-card dl > div {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: .7rem;
  padding: .7rem .8rem;
  border-bottom: 1px solid #f2e9e4;
}

.pix-preview-card dl > div:last-child {
  border-bottom: 0;
}

.pix-preview-card dt {
  color: #9c837d;
  font-size: .72rem;
  font-weight: 650;
}

.pix-preview-card dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #614d49;
  font-size: .78rem;
  font-weight: 760;
}

.pix-board-hint {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  gap: .75rem;
  align-items: center;
  padding: .85rem 1rem;
  border: 1px dashed rgba(201,163,104,.52);
  border-radius: 18px;
  background: #fffaf1;
}

.pix-board-hint-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: #b78b4e;
  font-size: 1.1rem;
}

.pix-board-hint strong {
  color: #705a55;
  font-size: .83rem;
}

.pix-board-hint p {
  margin: .16rem 0 0;
  color: #8d7771;
  font-size: .75rem;
}

.pix-board-hint a {
  color: #9d6669;
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.order-payment-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .45rem;
  margin-top: .7rem;
  padding: .75rem;
  border: 1px solid #e7ddd6;
  border-radius: 14px;
  background: rgba(255,255,255,.74);
}

.order-payment-card.is-waiting {
  border-color: #e4d5af;
  background: #fffaf0;
}

.order-payment-card.is-paid {
  border-color: #cfe0d1;
  background: #f3faf4;
}

.order-payment-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}

.order-payment-card-head > span {
  color: #785f59;
  font-size: .72rem;
  font-weight: 800;
}

.order-payment-card-head strong {
  color: #826f69;
  font-size: .68rem;
}

.order-payment-card.is-waiting .order-payment-card-head strong {
  color: #927337;
}

.order-payment-card.is-paid .order-payment-card-head strong {
  color: #55765a;
}

.order-payment-card > small {
  color: #927e78;
  font-size: .67rem;
}

.order-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.order-payment-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  padding: .42rem .65rem;
  border: 1px solid #e6dad4;
  border-radius: 10px;
  background: #fff;
  color: #775e59;
  text-decoration: none;
  font-size: .69rem;
  font-weight: 800;
}

button.order-payment-btn {
  cursor: pointer;
}

.order-payment-btn.is-pix {
  border-color: rgba(232,175,175,.6);
  background: #fff1f0;
  color: #a26467;
}

.order-payment-btn.is-paid {
  border-color: #cfe0d1;
  background: #f1f9f2;
  color: #55765a;
}

.order-flow-payment-pending {
  min-height: 42px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .48rem .7rem;
  border: 1px solid #e6d6b2;
  border-radius: 12px;
  background: #fffaf0;
  color: #8d7038;
  font-size: .73rem;
  font-weight: 800;
}

.pix-charge-layer[hidden] {
  display: none !important;
}

.pix-charge-layer {
  position: fixed;
  inset: 0;
  z-index: 4300;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(69,49,47,.48);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  opacity: 0;
  transition: opacity .18s ease;
}

.pix-charge-layer.is-open {
  opacity: 1;
}

.pix-charge-card {
  position: relative;
  width: min(100%, 820px);
  max-height: min(92dvh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.45rem;
  border: 1px solid rgba(216,180,160,.55);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(232,175,175,.16), transparent 30%),
    #fffdfc;
  box-shadow: 0 28px 90px rgba(64,43,42,.28);
  transform: translateY(12px) scale(.98);
  transition: transform .2s ease;
}

.pix-charge-layer.is-open .pix-charge-card {
  transform: translateY(0) scale(1);
}

.pix-charge-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-right: 2.5rem;
}

.pix-charge-symbol {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, #e8afaf, #d8b4a0);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.pix-charge-head h2 {
  margin: .18rem 0;
  font-size: clamp(1.7rem,4vw,2.35rem);
}

.pix-charge-head p {
  margin: 0;
  color: #88726d;
  font-size: .78rem;
}

.pix-charge-loading {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .8rem;
  color: #8b736e;
}

.pix-charge-loading > span {
  width: 34px;
  height: 34px;
  border: 3px solid #f0dfda;
  border-top-color: var(--mila-blush);
  border-radius: 50%;
  animation: pixSpin .8s linear infinite;
}

@keyframes pixSpin {
  to { transform: rotate(360deg); }
}

.pix-charge-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: .55rem;
  margin: 1.1rem 0;
}

.pix-charge-summary > div {
  display: grid;
  gap: .2rem;
  padding: .75rem .85rem;
  border: 1px solid #eee3dd;
  border-radius: 16px;
  background: #fff;
}

.pix-charge-summary span {
  color: #9a817b;
  font-size: .68rem;
}

.pix-charge-summary strong {
  color: #644e4a;
  font-size: .92rem;
}

.pix-charge-summary .is-total {
  border-color: rgba(232,175,175,.54);
  background: #fff1f0;
}

.pix-charge-summary .is-total strong {
  color: #a16165;
  font-size: 1.06rem;
}

.pix-charge-main {
  display: grid;
  grid-template-columns: 250px minmax(0,1fr);
  gap: 1rem;
  align-items: start;
}

.pix-qr-wrap {
  display: grid;
  justify-items: center;
  gap: .65rem;
  padding: .9rem;
  border: 1px solid #eee3dd;
  border-radius: 22px;
  background: #fff;
}

.pix-qr-code {
  width: 220px;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.pix-qr-code img,
.pix-qr-code canvas {
  max-width: 100%;
  height: auto !important;
}

.pix-qr-wrap small {
  color: #927d77;
  text-align: center;
  font-size: .68rem;
  line-height: 1.45;
}

.pix-qr-fallback {
  color: #8a7570;
  text-align: center;
  font-size: .76rem;
  line-height: 1.5;
}

.pix-charge-data {
  display: grid;
  gap: .7rem;
}

.pix-charge-data > div:not(.pix-copy-actions) {
  display: grid;
  gap: .2rem;
}

.pix-charge-data small,
.pix-charge-message label {
  color: #937c76;
  font-size: .68rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pix-charge-data strong {
  overflow-wrap: anywhere;
  color: #604b47;
  font-size: .86rem;
}

.pix-charge-data textarea,
.pix-charge-message textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid #e9ddd7;
  border-radius: 14px;
  padding: .7rem .75rem;
  background: #fff;
  color: #634f4b;
  font: 500 .72rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
}

.pix-copy-actions,
.pix-charge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.pix-copy-actions .btn {
  min-height: 38px;
  font-size: .72rem;
}

.pix-copy-actions .is-copied {
  border-color: #cfe0d1;
  background: #f1f9f2;
  color: #55765a;
}

.pix-charge-message {
  display: grid;
  gap: .35rem;
  margin-top: 1rem;
}

.pix-charge-actions {
  justify-content: flex-end;
  margin-top: .8rem;
}

.pix-charge-error {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #eed4d4;
  border-radius: 18px;
  background: #fff5f5;
}

.pix-charge-error strong {
  color: #8c5e60;
}

.pix-charge-error p {
  margin: .35rem 0 .8rem;
  color: #8c7471;
  font-size: .78rem;
}

.pix-paid-confirm-layer {
  position: fixed;
  inset: 0;
  z-index: 4400;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(69,49,47,.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .18s ease;
}

.pix-paid-confirm-layer.is-open {
  opacity: 1;
}

.pix-paid-confirm-card {
  width: min(100%, 470px);
  padding: 1.5rem;
  border: 1px solid #d9e4da;
  border-radius: 26px;
  background: #fffdfc;
  box-shadow: 0 24px 70px rgba(64,43,42,.25);
  transform: translateY(10px) scale(.98);
  transition: transform .2s ease;
}

.pix-paid-confirm-layer.is-open .pix-paid-confirm-card {
  transform: translateY(0) scale(1);
}

.pix-paid-confirm-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  border-radius: 18px;
  background: #edf7ee;
  color: #5c7d61;
  font-size: 1.35rem;
  font-weight: 900;
}

.pix-paid-confirm-card h2 {
  margin: .25rem 0 .55rem;
}

.pix-paid-confirm-card p {
  color: #806c67;
  line-height: 1.6;
}

.pix-paid-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: .5rem;
}

.pix-paid-confirm-error {
  margin: .65rem 0;
  padding: .6rem .7rem;
  border-radius: 12px;
  background: #fff1f1;
  color: #935e60 !important;
  font-size: .74rem;
}

@media (max-width: 991.98px) {
  .pix-settings-layout {
    grid-template-columns: 1fr;
  }

  .pix-preview-card {
    position: static;
  }

  .pix-charge-main {
    grid-template-columns: 210px minmax(0,1fr);
  }

  .pix-qr-code {
    width: 180px;
    min-height: 180px;
  }
}

@media (max-width: 767.98px) {
  .settings-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
  }

  .settings-tabs a {
    justify-content: center;
    border-radius: 14px;
  }

  .pix-settings-head {
    display: grid;
  }

  .pix-settings-grid {
    grid-template-columns: 1fr;
  }

  .pix-key-field,
  .pix-message-field {
    grid-column: auto;
  }

  .pix-board-hint {
    grid-template-columns: 38px minmax(0,1fr);
  }

  .pix-board-hint a {
    grid-column: 2;
    justify-self: start;
  }

  .pix-charge-card {
    width: min(100%, 620px);
    max-height: calc(100dvh - 24px);
    padding: 1.05rem;
    border-radius: 24px;
  }

  .pix-charge-summary {
    grid-template-columns: 1fr 1fr;
  }

  .pix-charge-summary .is-total {
    grid-column: 1 / -1;
  }

  .pix-charge-main {
    grid-template-columns: 1fr;
  }

  .pix-qr-wrap {
    width: min(100%, 280px);
    justify-self: center;
  }

  .pix-qr-code {
    width: 210px;
    min-height: 210px;
  }

  .pix-charge-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pix-charge-actions .btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .settings-tabs {
    grid-template-columns: 1fr;
  }

  .pix-settings-card,
  .pix-preview-card {
    padding: 1rem;
  }

  .pix-secret-input {
    grid-template-columns: 1fr;
  }

  .pix-secret-input button {
    min-height: 42px;
  }

  .order-payment-card-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .18rem;
  }

  .order-payment-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-payment-btn {
    width: 100%;
  }

  .pix-charge-head {
    align-items: flex-start;
  }

  .pix-charge-symbol {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 16px;
  }

  .pix-charge-summary {
    grid-template-columns: 1fr;
  }

  .pix-charge-summary .is-total {
    grid-column: auto;
  }

  .pix-copy-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pix-copy-actions .btn {
    width: 100%;
  }

  .pix-paid-confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pix-paid-confirm-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   FINAL QA v11 — overflow, contraste, toque e consistência
   ========================================================================== */
:root {
  --mila-gold-dark: #7B5828;
  --mila-soft-ink: #6F5A56;
}

.ui-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -.14em;
  fill: none;
  color: currentColor;
}

.admin-menu-icon .ui-icon {
  width: 19px;
  height: 19px;
}

.admin-utility-btn > .ui-icon,
.order-tool-btn > .ui-icon,
.order-card-tool > .ui-icon,
.order-payment-btn > .ui-icon,
.order-flow-btn > .ui-icon,
.order-flow-complete > .ui-icon,
.order-flow-payment-pending > .ui-icon {
  width: 16px;
  height: 16px;
}

.dashboard-order-icon .ui-icon {
  width: 19px;
  height: 19px;
}

.brand-ribbon {
  width: 100%;
  max-width: 100%;
  transform: none;
  overflow: clip;
  color: var(--mila-ink);
}

.brand-ribbon-track i {
  color: #664B49;
}

.footer-whatsapp {
  color: #815154;
}

.footer-bottom {
  color: #75615D;
}

.footer-bottom a {
  color: #6C5551;
}

.admin-shell .text-secondary {
  color: #66524E !important;
}

.admin-brand-label {
  color: #7D4C4F !important;
}

.order-status.is-new {
  color: #7D4B4E;
}

.order-status.is-approved {
  color: #3F6446;
}

.order-status.is-finished {
  color: #664D19;
}

.order-status.is-cancelled {
  color: #625854;
}

.dashboard-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.dashboard-card-link {
  flex: 0 0 auto;
  color: #6B5652;
  font-size: .78rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
}

.dashboard-card-link:hover {
  color: #8A5559;
}

.admin-card .btn .ui-icon,
.admin-stat-link .ui-icon {
  margin-right: .28rem;
}

.order-code,
.order-meta > span,
.order-note > span,
.order-adjusted-mark,
.order-payment-card-head > span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.order-note > span {
  align-items: flex-start;
  padding-top: .1rem;
  color: #9A6265;
}

.order-page-tools {
  flex-wrap: wrap;
}

.order-page-tools .admin-notify-label {
  display: inline !important;
}

.order-tool-btn {
  min-width: 44px;
  min-height: 44px;
  padding-inline: .78rem;
}

@media (max-width: 991.98px) {
  /* g-5 applies a 3rem horizontal gutter to Bootstrap rows. When the columns
     are stacked this created real horizontal page overflow on small screens. */
  .about-section .row.g-5 {
    --bs-gutter-x: 0;
    margin-inline: 0;
  }

  .about-section .row.g-5 > [class*="col-"] {
    padding-inline: 0;
  }
}

@media (max-width: 575.98px) {
  .admin-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .order-page-tools {
    gap: .4rem;
  }

  .order-tool-btn {
    min-height: 44px;
    padding-inline: .72rem;
  }

  .order-page-tools .admin-notify-label {
    display: inline !important;
  }

  .dashboard-card-heading {
    align-items: flex-start;
  }

  .dashboard-card-link {
    padding-top: .1rem;
  }

  .admin-shell .btn:not(.btn-sm),
  .admin-shell .admin-menu-link,
  .admin-shell .admin-utility-btn,
  .admin-shell .order-filter-chip,
  .admin-shell .order-card-tool,
  .admin-shell .order-payment-btn,
  .admin-shell .order-flow-btn,
  .admin-shell .order-flow-cancel {
    min-height: 44px;
  }
}

@media (max-width: 359.98px) {
  .dashboard-card-heading {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-card-link {
    justify-self: start;
  }
}

/* Catálogo administrativo em formato de cartões em tablet e celular. */
@media (max-width: 991.98px) {
  .admin-products-table {
    overflow: visible !important;
    background: transparent;
    border: 0;
  }

  .admin-products-table .table-responsive {
    overflow: visible;
  }

  .admin-products-table table,
  .admin-products-table tbody,
  .admin-products-table tr,
  .admin-products-table td {
    display: block;
    width: 100%;
    min-width: 0 !important;
  }

  .admin-products-table thead {
    display: none;
  }

  .admin-products-table tbody {
    display: grid;
    gap: .8rem;
  }

  .admin-products-table tr {
    overflow: hidden;
    border: 1px solid #EADFD8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(90,65,62,.045);
  }

  .admin-products-table td {
    display: grid;
    grid-template-columns: minmax(86px,.34fr) minmax(0,1fr);
    gap: .7rem;
    align-items: center;
    min-height: 44px;
    padding: .62rem .9rem;
    border: 0;
    border-bottom: 1px solid #F1E8E3;
    text-align: left !important;
    white-space: normal !important;
  }

  .admin-products-table td:last-child {
    border-bottom: 0;
  }

  .admin-products-table td::before {
    content: attr(data-label);
    color: #806A65;
    font-size: .68rem;
    font-weight: 820;
    letter-spacing: .045em;
    text-transform: uppercase;
  }

  .admin-products-table td.admin-product-main {
    display: block;
    padding: .9rem;
  }

  .admin-products-table td.admin-product-main::before {
    display: none;
  }

  .admin-products-table .admin-product-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: .45rem;
  }

  .admin-products-table .admin-product-actions .btn,
  .admin-products-table .admin-product-actions form,
  .admin-products-table .admin-product-actions form .btn {
    min-height: 40px;
  }

  .admin-product-description {
    max-width: none;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.35;
  }
}

@media (max-width: 479.98px) {
  .admin-products-table td {
    grid-template-columns: 76px minmax(0,1fr);
    padding-inline: .8rem;
  }

  .admin-products-table .admin-product-main > div {
    align-items: flex-start !important;
  }

  .admin-products-table .admin-thumb {
    width: 64px;
    height: 56px;
  }
}


/* Cabeçalhos administrativos unificados */
.admin-page-heading {
  min-width: 0;
}

.admin-page-heading-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.admin-page-heading h1 {
  margin-top: .25rem;
}

.admin-page-heading > p,
.admin-page-heading > div > p {
  margin: 0;
  color: #66524E;
}

.admin-page-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  color: var(--mila-gold-dark);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.admin-page-kicker a {
  color: #66524E;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: none;
}

.admin-page-kicker a:hover {
  color: #8A5559;
}

@media (max-width: 575.98px) {
  .admin-page-heading-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-page-heading-actions > .btn {
    width: 100%;
  }
}


@media (max-width: 899.98px) {
  .order-card-grid {
    grid-template-columns: 1fr;
  }
}


/* Desktop/notebook entre 1200 e 1499px: navegação completa, utilidades compactas. */
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .admin-nav-container {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem 20px;
  }

  .admin-nav-head {
    width: auto;
    flex: 0 0 auto;
  }

  .admin-menu-toggle,
  .admin-mobile-orders {
    display: none !important;
  }

  .admin-menu-panel {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    display: flex !important;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: none !important;
  }

  .admin-menu-mobile-title {
    display: none !important;
  }

  .admin-menu-primary {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 0 auto;
  }

  .admin-menu-divider {
    width: 1px;
    height: 26px;
    flex: 0 0 1px;
  }

  .admin-menu-utilities {
    display: flex;
    align-items: center;
    gap: .2rem;
  }

  .admin-menu-link {
    width: auto;
    min-height: 42px;
    padding: .55rem .5rem;
    justify-content: center;
    font-size: .78rem;
  }

  .admin-utility-btn,
  .admin-logout-form,
  .admin-logout-form .admin-utility-btn {
    width: auto;
  }

  .admin-utility-btn {
    width: 42px !important;
    height: 42px;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 !important;
  }

  .admin-menu-utilities .admin-utility-btn > span {
    display: none !important;
  }

  .admin-utility-btn > .ui-icon {
    width: 18px;
    height: 18px;
  }
}


.order-empty-icon {
  width: 58px;
  height: 58px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232,175,175,.42);
  border-radius: 20px;
  background: #fff4f3;
  color: #A96F71;
}

.order-empty-icon .ui-icon {
  width: 28px;
  height: 28px;
}


/* Compatibilidade para navegadores sem unidades dinâmicas de viewport. */
@supports not (height: 100dvh) {
  @media (max-width: 991.98px) {
    .site-nav .navbar-collapse {
      max-height: calc(100vh - 92px);
    }
  }

  @media (max-height: 560px) and (orientation: landscape) {
    .site-nav .navbar-collapse {
      max-height: calc(100vh - 78px);
    }
  }

  @media (max-width: 1199.98px) {
    .admin-menu-panel {
      max-height: calc(100vh - 96px);
    }
  }

  .pix-charge-card {
    max-height: min(92vh, 860px);
  }

  @media (max-width: 767.98px) {
    .pix-charge-card {
      max-height: calc(100vh - 24px);
    }
  }
}


/* Contraste WCAG do filtro ativo de comandas. */
.order-filter-chip:hover,
.order-filter-chip.active {
  color: #5B4543;
}

.order-filter-chip:hover span,
.order-filter-chip.active span {
  color: #875154;
}
