/* Luckau Soft · UI refresh (out/2026)
   Camada final de layout: carregada por último no index.html.
   Regras: não cria cores novas — usa só os tokens do tema (--brown, --gold, --dark, --paper, --bg, --ink, --muted, --line…),
   então respeita a cor personalizada da rede e o tema escuro.
   Conteúdo:
   1. Painel  · menu lateral, barra superior, menu do usuário
   2. PDV     · tela inteira sem rolagem dupla (só a lista de produtos e os itens do pedido rolam)
   3. Tablet  · mesma grade compacta do PDV
   4. Totem   · grade de produtos uniforme, sem texto cortado
   5. Mobile  */

/* ============================================================================================
   1. PAINEL
   ============================================================================================ */

/* ---- menu lateral: todos os itens de primeiro nível com o mesmo peso visual ---- */
body .sidebar nav{padding:6px 0 10px;scrollbar-width:thin;scrollbar-color:#ffffff1f transparent}
body .sidebar nav::-webkit-scrollbar{width:6px}
body .sidebar nav::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:6px}
body .sidebar nav>.nav-link,
body .sidebar .nav-group>summary{
  margin:2px 12px;padding:0 12px;min-height:40px;border-radius:10px;gap:12px;
  font:500 12.5px/1.2 Poppins,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#dccab7;
}
body .sidebar nav>.nav-link{display:flex;align-items:center}
body .sidebar nav>.nav-link .icon,
body .sidebar .nav-group>summary>.icon:first-child{width:18px;height:18px;color:var(--gold);opacity:.9}
body .sidebar .nav-group{margin:0;border-radius:0}
body .sidebar .nav-group>summary>.icon:last-child{width:14px;height:14px;opacity:.55}
body .sidebar nav>.nav-link:hover,
body .sidebar .nav-group>summary:hover{background:#ffffff0d;color:#fff6ea}
body .sidebar .nav-group[open]>summary{background:transparent;color:#fff6ea}
body .sidebar .nav-group[open]>summary>.icon:last-child{opacity:.9}
/* submenu: linha-guia à esquerda, itens mais leves */
body .sidebar .nav-group>div{margin:0 12px 6px 30px;padding:2px 0 2px 10px;border-left:1px solid #ffffff17}
body .sidebar .nav-group .nav-link{margin:1px 0;padding:0 10px;min-height:34px;border-radius:8px;font:400 12px/1.25 Poppins,Arial,sans-serif;color:#cdb9a4;gap:10px}
body .sidebar .nav-group .nav-link .icon{width:15px;height:15px;opacity:.75}
body .sidebar .nav-group .nav-link:hover{background:#ffffff0b;color:#fff6ea}
/* item ativo (primeiro nível e submenu) */
body .sidebar .nav-link.active{background:color-mix(in srgb,var(--brown) 80%,#fff 6%);color:#fff6ea;box-shadow:0 6px 16px #0000002e}
body .sidebar .nav-link.active .icon{color:#fff1dc;opacity:1}
body .sidebar .nav-link.active:before{left:-12px;height:20px;top:50%;transform:translateY(-50%)}
body .sidebar .nav-group .nav-link.active:before{left:-11px;height:16px;width:2px}
/* grupo que contém a página aberta fica destacado mesmo recolhido */
body .sidebar .nav-group:has(.nav-link.active)>summary{color:#fff6ea}
body .sidebar .nav-group:has(.nav-link.active)>summary>.icon:first-child{opacity:1}
body .sidebar .nav-link .nav-count{font-size:10px;padding:2px 7px;border-radius:999px}
body .sidebar-brand{padding-block:6px}
body .sidebar-bottom{border-top:1px solid #ffffff12}

/* ---- barra superior ---- */
body .topbar{position:sticky;top:0;z-index:40;gap:14px;
  background:color-mix(in srgb,var(--paper) 88%,transparent);backdrop-filter:saturate(1.2) blur(10px);-webkit-backdrop-filter:saturate(1.2) blur(10px)}
body .topbar .global-search{flex:1 1 220px;max-width:420px;min-width:0;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--bg);gap:9px;transition:border-color .15s,box-shadow .15s}
body .topbar .global-search:focus-within{border-color:var(--gold);box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 22%,transparent)}
body .topbar .global-search .icon{position:static;transform:none;width:16px;height:16px;color:var(--muted)}
body .topbar .global-search input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:12px;color:var(--ink);padding:0}
body .topbar .global-search .key{font-size:10px;border-radius:6px}
body .topbar-right{gap:10px;min-width:0}
body .topbar-picks{gap:8px}
body .topbar-pick{gap:6px}
body .topbar-pick>span{font-size:10px;letter-spacing:.6px}
body .topbar-pick select{height:38px;border-radius:10px;font-size:11.5px}
body .topbar .notification{width:38px;height:38px;border-radius:10px;display:inline-grid;place-items:center;transition:background .15s}
body .topbar .notification:hover{background:color-mix(in srgb,var(--gold) 14%,transparent)}

/* ---- botão do usuário (abre o submenu) ---- */
body .topbar .profile{border-radius:12px;padding:5px 8px 5px 12px;margin-left:2px;gap:10px;transition:background .15s}
body .topbar .profile:hover,body .topbar .profile[aria-expanded="true"]{background:color-mix(in srgb,var(--gold) 13%,transparent)}
body .topbar .profile>.icon{transition:transform .2s;width:16px;height:16px}
body .topbar .profile[aria-expanded="true"]>.icon{transform:rotate(180deg)}
body .topbar .profile strong{font-size:12.5px;line-height:1.2;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
body .topbar .profile small{font-size:10.5px;display:block;white-space:nowrap}

/* ---- submenu do usuário ---- */
.lk-user-menu{position:fixed;z-index:120;width:290px;max-width:calc(100vw - 20px);
  background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:16px;
  box-shadow:0 22px 50px #2c1a1229,0 2px 8px #2c1a1214;padding:8px;transform-origin:top right;
  animation:lkMenuIn .16s ease-out}
@keyframes lkMenuIn{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
.lk-user-menu-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;align-items:center;padding:12px 12px 14px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.lk-user-menu-head .avatar{width:44px;height:44px;font-size:15px}
.lk-user-menu-head strong{display:block;font-size:13.5px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lk-user-menu-head small{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}
.lk-user-menu-head .lk-user-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.lk-user-menu-head .badge{font-size:9.5px;padding:3px 7px}
.lk-user-menu-item{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;
  padding:7px 10px 7px 7px;border-radius:10px;text-align:left;color:var(--ink);font-size:12.5px;line-height:1.25;transition:background .12s}
.lk-user-menu-item:hover,.lk-user-menu-item:focus-visible{background:color-mix(in srgb,var(--gold) 13%,transparent);outline:0}
.lk-user-menu-item .lk-ico{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--gold) 14%,transparent);color:var(--brand-text,var(--brown))}
.lk-user-menu-item .lk-ico .icon{width:17px;height:17px}
.lk-user-menu-item small{display:block;font-size:10.5px;margin-top:1px}
.lk-user-menu-item>.icon{width:14px;height:14px;color:var(--muted)}
.lk-user-menu-sep{height:1px;background:var(--line);margin:6px 4px}
.lk-user-menu-item.danger{color:var(--red)}
.lk-user-menu-item.danger .lk-ico{background:color-mix(in srgb,var(--red) 11%,transparent);color:var(--red)}
.lk-user-menu-foot{padding:8px 12px 4px;font-size:10px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}

/* ---- modal "Editar perfil" ---- */
.lk-profile-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--bg);margin-bottom:18px}
.lk-profile-card .avatar{width:64px;height:64px;font-size:22px}
.lk-profile-card h2{font:22px Quiche,Georgia,serif;line-height:1.2;overflow-wrap:anywhere}
.lk-profile-card small{display:block;margin-top:3px;overflow-wrap:anywhere}
.lk-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lk-profile-grid>div{border:1px solid var(--line);border-radius:12px;padding:11px 13px;min-width:0}
.lk-profile-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted)}
.lk-profile-grid strong{display:block;font-size:12.5px;margin-top:4px;overflow-wrap:anywhere}
.lk-profile-note{margin-top:16px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--gold) 12%,transparent);font-size:11.5px;line-height:1.55;display:flex;gap:10px;align-items:flex-start}
.lk-profile-note .icon{width:17px;height:17px;color:var(--brand-text,var(--brown));margin-top:1px}

/* ---- conteúdo do painel ---- */
body .workspace .card,body .workspace .stat,body .workspace .table-card{transition:box-shadow .18s,border-color .18s}
body .workspace .stat:not(.featured):hover,body .workspace .card:hover{box-shadow:0 10px 26px #3b24120d}

/* ============================================================================================
   2. PDV — tela inteira, sem rolagem da página
   ============================================================================================ */
@media (min-width:901px){
  body .commerce{height:100vh;height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  body .commerce-top{flex:0 0 auto;height:64px;padding:8px 18px;gap:14px}
  body .commerce-top .brand-logo{height:44px;width:72px}
  body .commerce-title{font-size:21px;padding-left:16px}
  body .commerce-meta{gap:10px;flex-wrap:nowrap}
  body .commerce-meta .btn.small{height:38px;padding:0 12px;border-radius:10px}
  body .commerce-meta .icon-btn,body .commerce-meta .fs-btn{width:38px;height:38px;border-radius:10px}
  body .commerce-content{flex:1 1 auto;min-height:0!important;height:auto;overflow:hidden;align-items:stretch}
  body .commerce-content>*{min-height:0;max-height:100%}

  /* trilho de categorias: compacto, cabe sem rolar na maioria das telas (se precisar, rola sem barra) */
  body .commerce .category-rail{height:100%;padding:12px 10px;gap:4px;overflow-y:auto;scrollbar-width:none}
  body .commerce .category-btn{min-height:42px;padding:6px 8px;gap:9px;border-radius:10px;font-size:11px;line-height:1.2}
  body .commerce .category-btn .product-photo{width:30px;height:30px;border-radius:8px;flex:none}
  body .commerce .category-btn>.icon{width:18px;height:18px;margin-inline:6px}

  /* produtos: a única área grande que rola */
  body .commerce .sale-products{height:100%;overflow-y:auto;overscroll-behavior:contain;padding:16px 18px 24px!important;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--gold) 45%,transparent) transparent}
  body .commerce .sale-products::-webkit-scrollbar{width:8px}
  body .commerce .sale-products::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--gold) 45%,transparent);border-radius:8px}
  body .commerce .sale-products .searchbox{position:sticky;top:-16px;z-index:5;margin:-16px -18px 10px;padding:14px 18px 10px;background:var(--bg)}
  body .commerce .sale-products .searchbox .icon{left:30px}
  body .commerce .sale-products .searchbox input{height:44px;border-radius:12px;padding-left:42px;font-size:13px}
  body .commerce .sale-products .card-head{margin:4px 0 12px}
  body .commerce .sale-products .card-head h2{font-size:19px}

  /* cards de produto compactos: foto menor, nome + preço + botão sem quebrar */
  body .commerce .sale-products .product-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr))!important;gap:12px}
  body .commerce .sale-products .product-card{border-radius:14px;transition:transform .15s,box-shadow .15s,border-color .15s}
  body .commerce .sale-products .product-card:hover{border-color:color-mix(in srgb,var(--gold) 55%,var(--line));box-shadow:0 10px 24px #3b241212;transform:translateY(-1px)}
  body .commerce .sale-products .product-card>.product-photo{height:auto!important;aspect-ratio:16/10}
  body .commerce .sale-products .product-card>.product-photo img{width:100%;height:100%;object-fit:cover}
  body .commerce .sale-products .product-info{padding:10px 12px 12px!important;gap:0}
  body .commerce .sale-products .product-info h3{font-size:12.5px;line-height:1.3;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  body .commerce .sale-products .product-info p{display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:10.5px;min-height:0;margin-top:3px}
  body .commerce .sale-products .product-info .between{flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px!important;margin-top:auto;padding-top:10px}
  body .commerce .sale-products .product-price{font-size:17px!important;margin:0!important;white-space:nowrap}
  body .commerce .sale-products .product-info .btn{width:auto!important;height:34px;padding:0 11px;border-radius:9px;font-size:11.5px;gap:6px}
  body .commerce .sale-products .product-info .btn .icon{width:15px;height:15px}

  /* ---- painel do pedido: cabeçalho e rodapé fixos, só os itens rolam ---- */
  body .commerce .order-panel{position:relative;top:auto;height:100%!important;overflow:hidden!important;padding:14px 16px 12px!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6px;row-gap:0;align-content:stretch;
    grid-template-areas:"head head" "club cpf" "seg seg" "items items" "upsell upsell" "coupon coupon" "sum sum" "pay pay" "fiscal fiscal" "go go" "foot foot";
    grid-template-rows:auto auto auto minmax(64px,1fr) auto auto auto auto auto auto auto}
  body .commerce .order-panel>*{grid-column:1/-1;min-width:0;margin:0 0 8px!important}
  body .commerce .order-panel>.between:first-child{grid-area:head}
  body .commerce .order-panel>.club-order-card{grid-area:club}
  body .commerce .order-panel>.btn[data-action="customer"]{grid-area:cpf}
  body .commerce .order-panel>.segmented{grid-area:seg}
  body .commerce .order-panel>.cart-items{grid-area:items}
  body .commerce .order-panel>.upsell{grid-area:upsell}
  body .commerce .order-panel>.coupon{grid-area:coupon}
  body .commerce .order-panel>.cart-summary{grid-area:sum}
  body .commerce .order-panel>.pay-choices{grid-area:pay}
  body .commerce .order-panel>.fiscal-toggle{grid-area:fiscal}
  body .commerce .order-panel>.btn.primary.wide{grid-area:go}
  body .commerce .order-panel>.commerce-bottom{grid-area:foot;margin:0!important}
  /* sem o cartão do clube (perfil sem clube), o botão de CPF ocupa a linha toda */
  body .commerce .order-panel:not(:has(>.club-order-card))>.btn[data-action="customer"]{grid-column:1/-1}
  body .commerce .order-panel>.between:first-child h2{font-size:21px}
  body .commerce .order-panel>.between:first-child .text-link{font-size:11.5px}
  /* clube + tipo de atendimento + CPF numa faixa compacta */
  body .commerce .order-panel .club-order-card{padding:6px 8px;min-height:46px;border-radius:12px;gap:8px;grid-template-columns:28px minmax(0,1fr);align-items:center;text-align:left}
  body .commerce .order-panel .club-order-card>.icon{display:none}
  body .commerce .order-panel .club-order-card .club-mini-mark{width:28px;height:28px}
  body .commerce .order-panel .club-order-card .club-mini-mark .icon{width:15px;height:15px}
  body .commerce .order-panel .club-order-card small{font-size:8.5px;letter-spacing:.4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .commerce .order-panel .club-order-card small:last-child{display:none}
  body .commerce .order-panel .club-order-card strong{font-size:11.5px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .commerce .order-panel .segmented{padding:3px;border-radius:10px}
  body .commerce .order-panel .segmented button{padding:7px 4px;font-size:11px!important;border-radius:8px}
  body .commerce .order-panel>.btn[data-action="customer"]{min-height:46px;height:auto;padding:5px 9px;font-size:11px;line-height:1.25;border-radius:12px;white-space:normal;text-align:left;justify-content:flex-start;gap:7px}
  body .commerce .order-panel>.btn[data-action="customer"] .icon{width:16px;height:16px}
  /* itens: a única parte do painel que rola */
  body .commerce .order-panel .cart-items{flex:1 1 0!important;min-height:64px!important;overflow-y:auto!important;margin:0 -6px!important;padding:0 6px;scrollbar-width:thin}
  body .commerce .order-panel .cart-items .empty{padding:14px 8px!important}
  body .commerce .order-panel .cart-item{display:grid!important;grid-template-columns:46px minmax(0,1fr)!important;gap:10px!important;padding:9px 0!important;align-items:start}
  body .commerce .order-panel .cart-item>.product-photo{width:46px!important;height:46px!important;border-radius:9px}
  body .commerce .order-panel .cart-item-content h3{font-size:12px!important;line-height:1.3}
  body .commerce .order-panel .item-chips{margin-top:4px!important;gap:4px!important}
  body .commerce .order-panel .item-chip{font-size:9.5px!important;padding:3px 7px!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body .commerce .order-panel .cart-item-content .between{display:flex!important;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px!important;margin-top:7px!important}
  body .commerce .order-panel .cart-actions{display:flex!important;width:auto!important;gap:6px!important;align-items:center}
  body .commerce .order-panel .cart-actions .qty{height:30px;width:auto!important;flex:none}
  body .commerce .order-panel .cart-actions .qty button{width:28px;height:28px}
  body .commerce .order-panel .cart-actions .btn.small{height:30px;padding:0 8px;font-size:10.5px;width:auto!important}
  @container pdv-order (max-width:330px){
    body .commerce .order-panel .cart-actions .btn.small{font-size:0;gap:0;padding:0 8px}
    body .commerce .order-panel .cart-actions .btn.small .icon{width:15px;height:15px}
    body .commerce .order-panel .coupon .btn[data-action="lk-manual-discount"]{font-size:0;gap:0}
    body .commerce .order-panel .coupon .btn[data-action="lk-manual-discount"] .icon{width:16px;height:16px}
    body .commerce .order-panel .pay-choices button{font-size:9px}
  }
  body .commerce .order-panel .cart-item-price{font-size:13px!important;white-space:nowrap}
  /* sugestão: discreta, uma linha com 2 itens lado a lado */
  body .commerce .order-panel .upsell{padding:8px 10px!important;border-radius:12px}
  body .commerce .order-panel .upsell-heading{gap:8px;margin:0 0 6px!important}
  body .commerce .order-panel .upsell-heading>span:first-child{width:22px;height:22px}
  body .commerce .order-panel .upsell-heading small{font-size:8.5px}
  body .commerce .order-panel .upsell-heading strong{font-size:11px}
  body .commerce .order-panel .upsell-items{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  body .commerce .order-panel .upsell-items article{grid-template-columns:30px minmax(0,1fr) 24px!important;gap:6px!important;padding:5px!important;min-height:0}
  body .commerce .order-panel .upsell-items .product-photo{width:30px!important;height:30px!important;border-radius:7px}
  body .commerce .order-panel .upsell-items strong{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body .commerce .order-panel .upsell-items small{font-size:9.5px}
  body .commerce .order-panel .upsell-items button{width:24px!important;height:24px!important}
  /* cupom numa linha só */
  body .commerce .order-panel .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px!important}
  body .commerce .order-panel .coupon .input{grid-column:auto!important;height:36px;font-size:11.5px;border-radius:10px;padding:0 11px}
  body .commerce .order-panel .coupon .btn{height:36px;padding:0 11px;border-radius:10px;font-size:11px;width:auto!important}
  /* totais */
  body .commerce .order-panel .cart-summary{padding:6px 0 0!important;border-top:1px solid var(--line)}
  body .commerce .order-panel .cart-summary>div{margin:3px 0!important;font-size:11.5px}
  body .commerce .order-panel .cart-summary .total{padding-top:6px!important;margin-top:4px!important;align-items:baseline;border-top:0}
  body .commerce .order-panel .cart-summary .total span{font-size:13px;font-weight:600}
  body .commerce .order-panel .cart-summary .total strong{font-size:26px!important;line-height:1.1}
  /* formas de pagamento: uma linha */
  body .commerce .order-panel .pay-choices{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:5px!important}
  body .commerce .order-panel .pay-choices button{padding:6px 2px!important;gap:2px!important;border-radius:10px;font-size:10px;min-height:52px;line-height:1.15}
  body .commerce .order-panel .pay-choices button .icon{width:17px;height:17px}
  body .commerce .order-panel .pay-choices button small{font-size:9px}
  /* NFC-e + finalizar */
  body .commerce .order-panel .fiscal-toggle{min-height:0;padding:7px 11px;border-radius:10px;font-size:11px}
  body .commerce .order-panel .btn.primary.wide{height:48px;border-radius:12px;font-size:14px;font-weight:600}
  body .commerce .order-panel .commerce-bottom{font-size:9.5px!important;margin:0!important;line-height:1.3}
  body .commerce:not(.tablet) .floating-cart{display:none}
}
/* telas baixas (ex.: 1366×768 com barra do Windows): enxuga o que é secundário */
@media (min-width:901px) and (max-height:820px){
  body .commerce .order-panel{padding-top:10px!important}
  body .commerce .order-panel>*{margin-bottom:6px!important}
  body .commerce .order-panel>.between:first-child h2{font-size:19px}
  body .commerce .order-panel .club-order-card,body .commerce .order-panel>.btn[data-action="customer"]{min-height:40px}
  body .commerce .order-panel .pay-choices button{min-height:46px;padding:5px 2px!important}
  body .commerce .order-panel .pay-choices button small{display:none}
  body .commerce .order-panel .btn.primary.wide{height:44px}
  body .commerce .order-panel .cart-summary .total strong{font-size:23px!important}
  body .commerce .order-panel .upsell-heading small{display:none}
}
/* telas muito baixas: o painel pode rolar inteiro (melhor do que esconder o botão de finalizar) */
@media (min-width:901px) and (max-height:600px){
  body .commerce .order-panel{overflow-y:auto!important;grid-template-rows:none;align-content:start}
  body .commerce .order-panel .cart-items{max-height:none;overflow:visible!important}
}
/* larguras intermediárias (notebook pequeno / tablet deitado) */
@media (min-width:901px) and (max-width:1180px){
  body .commerce{--rail:96px!important;--panel:320px!important}
  body .commerce .category-btn{flex-direction:column;justify-content:center;text-align:center;gap:4px;padding:7px 4px;font-size:10px;min-height:56px}
  body .commerce .category-btn>.icon{margin:0}
  body .commerce-meta .btn.small{padding:0 9px;font-size:11px}
  body .commerce-meta>span.row:not(.optional){display:none}
  body .commerce .sale-products .product-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))!important}
}
@media (min-width:1600px){
  body .commerce{--panel:400px!important}
  body .commerce .sale-products .product-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important}
}

/* ============================================================================================
   3. TABLET (atendimento) — mesma grade compacta, sem painel lateral
   ============================================================================================ */
@media (min-width:901px){
  body .commerce.tablet .sale-products{padding-bottom:96px!important}
  body .commerce.tablet .floating-cart{border-radius:14px;box-shadow:0 14px 34px #2c1a1238}
}

/* ============================================================================================
   4. TOTEM — produtos em grade uniforme
   ============================================================================================ */
body .kiosk .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch;grid-auto-rows:auto}
body .kiosk .product-grid .product-card{display:flex;flex-direction:column;height:100%;border-radius:22px;overflow:hidden;border:1px solid var(--line);background:var(--paper);box-shadow:0 8px 24px #3b24120a}
/* foto sempre no mesmo formato (com ou sem botão em volta) */
body .kiosk .product-grid .product-card>.lk-product-photo-button,
body .kiosk .product-grid .product-card>.product-photo{display:block;width:100%;height:auto!important;aspect-ratio:4/3;flex:none;padding:0;border:0;border-radius:0;overflow:hidden;background:var(--bg)}
body .kiosk .product-grid .product-card>.lk-product-photo-button>.product-photo{width:100%!important;height:100%!important;border-radius:0}
body .kiosk .product-grid .product-card .product-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
body .kiosk .product-grid .product-card:active .product-photo img{transform:scale(1.03)}
body .kiosk .product-grid .product-card .product-photo-empty{width:100%;height:100%}
/* texto: título até 2 linhas, descrição sempre 2 linhas reservadas → preço e botão alinhados entre os cards */
body .kiosk .product-grid .product-info{flex:1;display:flex;flex-direction:column;min-width:0;padding:18px 20px 20px!important}
body .kiosk .product-grid .product-info h3{font-size:24px!important;line-height:1.22;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
body .kiosk .product-grid .product-info p{font-size:16px!important;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em;margin-top:6px}
body .kiosk .product-grid .product-info .between{margin-top:auto;padding-top:14px;gap:10px;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between}
body .kiosk .product-grid .product-price{font-size:28px!important;white-space:nowrap;margin:0!important}
body .kiosk .product-grid .product-info .btn{flex:0 0 auto;height:60px;padding:0 22px;border-radius:16px;font-size:18px;justify-content:center;gap:8px}
body .kiosk .product-grid .product-info .btn .icon{width:20px;height:20px}
body .kiosk .category-rail{scrollbar-width:none}
body .kiosk .category-btn{transition:background .15s,transform .1s}
body .kiosk .category-btn:active,body .kiosk .product-card .btn:active{transform:scale(.97)}
body .kiosk .kiosk-products{scrollbar-width:none;overscroll-behavior:contain}
body .kiosk .kiosk-products::-webkit-scrollbar{display:none}

/* ============================================================================================
   5. MOBILE / TELAS ESTREITAS
   ============================================================================================ */
@media (max-width:900px){
  /* barra superior em duas linhas: ações em cima, perfil/loja embaixo — nada fica cortado */
  body .topbar{height:auto!important;min-height:60px;flex-wrap:wrap;padding:10px 14px!important;row-gap:8px;column-gap:8px}
  body .topbar .global-search{order:1;flex:1 1 120px;height:38px;max-width:none}
  body .topbar .global-search .key{display:none}
  body .topbar .mobile-menu{order:0;flex:none;width:38px;height:38px;border-radius:10px}
  body .topbar-right{display:contents}
  body .topbar-right>*{order:2}
  body .topbar .lk-help-btn,body .topbar .environment-pill{display:none}
  body .topbar .profile{order:3;padding:3px;margin:0;border-left:0}
  body .topbar .profile>div:not(.avatar),body .topbar .profile>.icon{display:none}
  body .topbar-picks{order:10;flex:1 1 100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;width:100%}
  body .topbar-pick{min-width:0}
  body .topbar-pick>span{display:none}
  body .topbar-pick select,body .topbar-picks .scope-select{width:100%;min-width:0;max-width:none}
  body .topbar .scope-select{max-width:none}

  /* PDV no celular/tablet em pé: uma única rolagem (a da página) */
  body .commerce .order-panel{position:static!important;height:auto!important;overflow:visible!important}
  body .commerce .order-panel .cart-items{overflow:visible!important;min-height:0!important}
  body .commerce .sale-products .product-card>.product-photo{height:auto!important;aspect-ratio:16/10}
  body .commerce .sale-products .product-card>.product-photo img{width:100%;height:100%;object-fit:cover}
  body .commerce .sale-products .product-info h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
}
@media (max-width:640px){
  .lk-user-menu{right:10px!important;left:10px!important;width:auto;top:auto!important;bottom:10px;border-radius:18px;transform-origin:bottom center;animation-name:lkSheetIn}
  @keyframes lkSheetIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  .lk-user-menu-item{padding-block:9px}
  .lk-profile-grid{grid-template-columns:1fr}
  body .commerce .category-rail{scrollbar-width:none}
}
.lk-user-menu-head .badge .icon{width:11px;height:11px}

/* ============================================================================================
   6. IMAGENS PADRONIZADAS + CARD TOCÁVEL + SELO "NO PEDIDO"
   ============================================================================================ */
/* toda foto de produto preenche o quadro sem distorcer, no mesmo enquadramento */
body :is(.kiosk,.commerce) .product-photo{position:relative;overflow:hidden;background-color:var(--bg)}
body :is(.kiosk,.commerce) .product-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
/* miniaturas das categorias: quadradas e do mesmo tamanho, inclusive "foto em breve" */
body :is(.kiosk,.commerce) .category-btn .product-photo{aspect-ratio:1/1;flex:none;border-radius:10px}
body .kiosk .category-btn .product-photo{width:76px!important;height:76px!important;border-radius:16px}
body :is(.kiosk,.commerce) .category-btn .product-photo-empty{display:grid;place-items:center;font-size:0;border:1px dashed color-mix(in srgb,var(--gold) 45%,transparent)}
body :is(.kiosk,.commerce) .category-btn .product-photo-empty .icon{width:40%;height:40%;color:var(--gold)}
body :is(.kiosk,.commerce) .category-btn .product-photo-empty span{display:none}
/* "foto em breve" nos cards: mesmo quadro das outras fotos */
body :is(.kiosk,.commerce) .product-card .product-photo-empty{display:grid;place-content:center;justify-items:center;gap:8px;color:var(--gold)}
body :is(.kiosk,.commerce) .product-card .product-photo-empty .icon{width:42px;height:42px}
/* itens do pedido e sugestões: miniaturas quadradas */
body :is(.kiosk,.commerce,.modal) .cart-item>.product-photo{aspect-ratio:1/1;height:auto!important}
body :is(.kiosk,.commerce) .upsell .product-photo{aspect-ratio:1/1}

/* card inteiro tocável */
body :is(.kiosk,.commerce) .product-card{position:relative;cursor:pointer;-webkit-user-select:none;user-select:none}
body :is(.kiosk,.commerce) .product-card.lk-tap{animation:lkTap .28s ease-out}
@keyframes lkTap{0%{transform:scale(1)}40%{transform:scale(.975)}100%{transform:scale(1)}}
body :is(.kiosk,.commerce) .product-card.lk-has-cart{border-color:color-mix(in srgb,var(--green) 55%,var(--line))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--green) 22%,transparent)}
body :is(.kiosk,.commerce) .lk-incart{position:absolute;z-index:3;top:10px;left:10px;display:inline-flex;align-items:center;gap:5px;
  padding:5px 10px 5px 7px;border-radius:999px;background:var(--green);color:#fff;font-size:11px;font-weight:600;line-height:1;box-shadow:0 6px 16px #0000002e;pointer-events:none}
body :is(.kiosk,.commerce) .lk-incart .icon{width:14px;height:14px;stroke-width:2.4}
body .kiosk .lk-incart{top:16px;left:16px;padding:9px 16px 9px 11px;font-size:18px;gap:7px}
body .kiosk .lk-incart .icon{width:20px;height:20px}
body :is(.kiosk,.commerce) .lk-incart.lk-pop{animation:lkPop .35s cubic-bezier(.2,1.6,.4,1)}
@keyframes lkPop{0%{transform:scale(.6);opacity:0}100%{transform:scale(1);opacity:1}}
@media (prefers-reduced-motion:reduce){body :is(.kiosk,.commerce) .product-card.lk-tap,body :is(.kiosk,.commerce) .lk-incart.lk-pop{animation:none}}

/* ============================================================================================
   7. TOTEM · "MONTE SEU PRODUTO" — foto em faixa no topo, opções grandes e fáceis de tocar
   ============================================================================================ */
body .kiosk .custom-content{scrollbar-width:none}
body .kiosk .custom-content::-webkit-scrollbar{display:none}
body .kiosk .custom-body{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;align-content:start!important;gap:22px!important;align-items:start!important}
body .kiosk .custom-preview{width:100%;height:340px!important;min-height:0!important;max-height:340px!important;aspect-ratio:auto;flex:none;border-radius:22px;overflow:hidden}
body .kiosk .custom-preview .product-photo{width:100%!important;height:100%!important;border-radius:0}
body .kiosk .custom-preview img{width:100%;height:100%;object-fit:cover}
body .kiosk .custom-choice{gap:6px}
body .kiosk .custom-choice>h3{font-size:30px}
body .kiosk .custom-choice .choice-hint{font-size:18px;margin-bottom:8px}
body .kiosk .option-grid.extras{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body .kiosk .custom-option.extra{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px;
  min-height:120px;padding:18px 18px 18px 22px!important;border-radius:20px;border-width:2px;cursor:pointer;text-align:left}
body .kiosk .custom-option.extra .extra-info{min-width:0}
body .kiosk .custom-option.extra .extra-info strong,body .kiosk .custom-option.extra .extra-info b{font-size:21px;line-height:1.2}
body .kiosk .custom-option.extra .extra-info small{font-size:15px}
body .kiosk .extra-qty{flex:none;gap:4px;padding:4px;border-radius:16px}
body .kiosk .extra-qty button{width:54px;height:54px;border-radius:13px;display:grid;place-items:center}
body .kiosk .extra-qty button:not(:disabled):active{transform:scale(.92)}
body .kiosk .extra-qty span{min-width:30px;font-size:24px}
body .kiosk .custom-option.extra.lk-chosen{border-color:var(--brown);background:color-mix(in srgb,var(--gold) 10%,var(--paper))}
body .kiosk .custom-total{border-radius:20px}
/* opções do tipo "escolha uma" (tamanho, base…) também maiores */
body .kiosk .option-grid:not(.extras) .custom-option{min-height:150px;border-radius:20px;border-width:2px}
/* aviso (toast) legível no totem */
body.lk-kiosk #toast,body:has(.kiosk) #toast{font-size:20px!important;padding:18px 28px!important;border-radius:16px!important;max-width:min(86vw,760px)}

/* ============================================================================================
   8. FINALIZAÇÃO DE PAGAMENTO — totem e PDV (animações + leitura fácil)
   ============================================================================================ */
/* ---- modais no totem: grandes, para tocar com o dedo ---- */
body:has(.kiosk) .modal{width:min(880px,92vw)!important;max-width:none!important;padding:36px 40px 32px!important;border-radius:28px!important;animation:lkModalUp .32s cubic-bezier(.2,.9,.3,1.15)}
body:has(.kiosk) .modal .modal-header h2{font-size:34px}
body:has(.kiosk) .modal .modal-footer .btn.primary{flex-grow:1.6}
body:has(.kiosk) .modal .modal-copy{font-size:20px;line-height:1.5}
body:has(.kiosk) .modal .icon-btn{width:56px;height:56px;border-radius:16px}
body:has(.kiosk) .modal .modal-footer{gap:14px;display:flex;padding-top:22px}
body:has(.kiosk) .modal .modal-footer .btn{flex:1 1 0;min-height:84px;font-size:22px;border-radius:20px;gap:12px;white-space:normal}
body:has(.kiosk) .modal .modal-footer .btn .icon{width:26px;height:26px}
@keyframes lkModalUp{from{opacity:0;transform:translateY(40px) scale(.97)}to{opacity:1;transform:none}}

/* ---- tela de pagamento (valor, QR Code, maquininha) ---- */
body:has(.kiosk) .payment-simulation{padding:8px 0 4px}
body:has(.kiosk) .payment-simulation .badge{font-size:14px;padding:7px 14px;border-radius:999px}
body:has(.kiosk) .payment-simulation h2{font:500 72px/1.05 Quiche,Georgia,serif;color:var(--brand-text,var(--brown));margin:18px 0 6px;animation:lkAmount .5s .1s both}
body:has(.kiosk) .payment-simulation p{font-size:20px!important;line-height:1.45;margin:10px auto 18px!important;max-width:620px}
body:has(.kiosk) .payment-simulation :is(svg:not(.icon),canvas,img,.qr,.lk-qr){width:300px!important;height:300px!important;margin-inline:auto;padding:14px;border-radius:22px;background:#fff;box-shadow:0 14px 40px #3b241214;animation:lkQr .6s .15s both}
body:has(.kiosk) .payment-simulation .qr-demo{transform:scale(1.55);margin:62px auto!important;animation:none}
@keyframes lkAmount{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
@keyframes lkQr{from{opacity:0;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
/* aguardando: anel pulsando em volta do carregador + texto grande */
#payment-feedback{min-height:0}
#payment-feedback:not(:empty){position:relative;display:grid;justify-items:center;gap:6px;padding:10px 0 4px;animation:lkFade .3s both}
#payment-feedback .spinner{position:relative;border-width:4px;border-color:color-mix(in srgb,var(--gold) 28%,transparent);border-top-color:var(--brown);margin:14px auto 8px}
#payment-feedback .spinner::after{content:'';position:absolute;inset:-14px;border-radius:50%;border:2px solid color-mix(in srgb,var(--gold) 55%,transparent);animation:lkRing 1.6s ease-out infinite}
body:has(.kiosk) #payment-feedback .spinner{width:84px;height:84px;border-width:6px}
body:has(.kiosk) #payment-feedback p{font-size:22px;color:var(--ink);font-weight:500}
@keyframes lkRing{0%{transform:scale(.85);opacity:.9}100%{transform:scale(1.35);opacity:0}}
@keyframes lkFade{from{opacity:0}to{opacity:1}}

/* ---- pedido concluído (totem): check desenhado, ondas, confete e senha em destaque ---- */
body .kiosk .success{position:relative;overflow-x:hidden}
body :is(.kiosk,.modal) .success-mark{position:relative;animation:lkMarkIn .55s cubic-bezier(.2,1.5,.4,1) both;box-shadow:0 0 0 0 color-mix(in srgb,var(--green) 30%,transparent)}
body :is(.kiosk,.modal) .success-mark::before,
body :is(.kiosk,.modal) .success-mark::after{content:'';position:absolute;inset:0;border-radius:50%;border:3px solid color-mix(in srgb,var(--green) 45%,transparent);animation:lkWave 1.8s .45s ease-out infinite;pointer-events:none}
body :is(.kiosk,.modal) .success-mark::after{animation-delay:1.05s}
body :is(.kiosk,.modal) .success-mark .icon path{stroke-dasharray:26;stroke-dashoffset:26;animation:lkDraw .5s .4s ease-out forwards}
@keyframes lkMarkIn{0%{transform:scale(.3);opacity:0}100%{transform:scale(1);opacity:1}}
@keyframes lkWave{0%{transform:scale(1);opacity:.9}100%{transform:scale(1.7);opacity:0}}
@keyframes lkDraw{to{stroke-dashoffset:0}}
/* confete (só cores do tema) */
body .kiosk .success::before{content:'';position:absolute;left:50%;top:150px;width:12px;height:12px;margin-left:-6px;border-radius:50%;pointer-events:none;z-index:0;
  background:var(--gold);
  box-shadow:-260px -40px 0 var(--brown),-200px -150px 0 var(--green),-120px -230px 0 var(--gold),-30px -260px 0 var(--brown),70px -240px 0 var(--green),
    160px -190px 0 var(--gold),240px -90px 0 var(--brown),280px 20px 0 var(--green),-290px 60px 0 var(--gold),-180px 120px 0 var(--green),
    190px 130px 0 var(--brown),300px -160px 0 var(--gold),-310px -120px 0 var(--green),110px -300px 0 var(--brown),-90px 170px 0 var(--gold);
  animation:lkConfetti 1.6s .35s cubic-bezier(.1,.8,.3,1) both}
@keyframes lkConfetti{0%{transform:scale(.1);opacity:0}15%{opacity:1}100%{transform:scale(1.15) translateY(70px);opacity:0}}
body .kiosk .success>*{position:relative;z-index:1}
body .kiosk .success>h1{animation:lkUp .5s .35s both}
body .kiosk .success>p{animation:lkUp .5s .45s both}
body .kiosk .success>.order-number{animation:lkTicket .6s .55s cubic-bezier(.2,1.4,.4,1) both;box-shadow:0 18px 40px #3b24121a;border:2px dashed color-mix(in srgb,var(--gold) 55%,transparent)}
body .kiosk .success>.order-number strong{font-size:84px!important;letter-spacing:2px;display:inline-block;animation:lkNumber .5s .8s cubic-bezier(.2,1.6,.4,1) both}
body .kiosk .success>.order-number small{font-size:22px!important}
body .kiosk .success>.btn{animation:lkUp .45s both}
body .kiosk .success>.btn:nth-of-type(1){animation-delay:.75s}
body .kiosk .success>.btn:nth-of-type(2){animation-delay:.82s}
body .kiosk .success>.btn:nth-of-type(3){animation-delay:.89s}
body .kiosk .success>.auto-return,body .kiosk .success>.success-signature,body .kiosk .success>.club-earned{animation:lkUp .45s 1s both}
@keyframes lkUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes lkTicket{0%{opacity:0;transform:scale(.7) rotate(-3deg)}100%{opacity:1;transform:none}}
@keyframes lkNumber{0%{transform:scale(.4);opacity:0}100%{transform:scale(1);opacity:1}}
/* aviso da impressora e "reimprimir": discretos e centralizados, abaixo da tela de sucesso */
body .kiosk .success~#lk-print-status:empty{display:none}
body .kiosk .success~#lk-print-status{margin:0 auto 8px;max-width:86%;text-align:center;font-size:15px;line-height:1.4;color:var(--muted);padding:10px 18px;border-radius:14px;background:color-mix(in srgb,var(--gold) 10%,transparent)}
body .kiosk .success~.btn[data-action="lk-print-order"]{align-self:center;margin:0 auto 18px;min-height:56px;padding:0 26px;border-radius:16px;font-size:16px;background:transparent}
body .kiosk .success~.modal-copy{text-align:center;font-size:15px;color:var(--muted)}

/* ---- PDV: venda concluída ---- */
body .modal .lk-done{animation:lkFade .25s both}
body .modal .lk-done-check{position:relative;width:52px;height:52px;animation:lkMarkIn .5s cubic-bezier(.2,1.5,.4,1) both}
body .modal .lk-done-check .icon{width:26px;height:26px}
body .modal .lk-done-check .icon path{stroke-dasharray:26;stroke-dashoffset:26;animation:lkDraw .45s .3s ease-out forwards}
body .modal .lk-done-check::after{content:'';position:absolute;inset:0;border-radius:50%;border:2px solid color-mix(in srgb,var(--green) 45%,transparent);animation:lkWave 1.6s .4s ease-out 2}
body .modal .lk-done-amount{animation:lkUp .45s .2s both}
body .modal .lk-done-amount strong{display:inline-block;animation:lkNumber .5s .35s cubic-bezier(.2,1.6,.4,1) both}
body .modal .lk-done-amount.change{box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 35%,transparent)}
body .modal .lk-done-pays,body .modal .lk-done-fiscal,body .modal .lk-done-note,body .modal .lk-done-hint{animation:lkUp .4s .45s both}
body .modal .success .order-number{animation:lkTicket .55s .3s cubic-bezier(.2,1.4,.4,1) both}

@media (prefers-reduced-motion:reduce){
  body :is(.kiosk,.modal) .success-mark,body :is(.kiosk,.modal) .success-mark::before,body :is(.kiosk,.modal) .success-mark::after,
  body .kiosk .success::before,body .kiosk .success>*,body .modal .lk-done *,#payment-feedback .spinner::after,body:has(.kiosk) .modal{animation:none!important}
  body :is(.kiosk,.modal) .success-mark .icon path,body .modal .lk-done-check .icon path{stroke-dashoffset:0}
}
/* ---- PDV: modal de pagamento ---- */
body .commerce~* .modal .payment-simulation>h2,body .modal .payment-simulation>h2{font:500 44px/1.1 Quiche,Georgia,serif;color:var(--brand-text,var(--brown));animation:lkAmount .45s both}
body .modal #f-received{height:56px;font-size:24px;font-weight:600;border-radius:14px;text-align:center}
body .modal #change-value{font-size:16px;font-weight:600;color:var(--green);text-align:center;margin-top:10px;transition:transform .2s}
.lk-quick-cash{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px;margin-top:10px}
.lk-quick-cash button{height:46px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:14px;font-weight:600;color:var(--ink);transition:background .12s,border-color .12s,transform .1s}
.lk-quick-cash button:hover{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 10%,var(--paper))}
.lk-quick-cash button:active{transform:scale(.96)}
.lk-quick-cash button.on{background:var(--brown);border-color:var(--brown);color:#fff8f0}
body .modal .modal-footer .btn.primary[data-action="approve-pdv"]{min-height:48px;padding-inline:22px;font-size:14px;font-weight:600}
/* PDV no celular: topo sem sobreposição — botões viram ícones */
@media (max-width:640px){
  body .commerce-top{height:auto!important;min-height:60px;padding:8px 10px!important;gap:8px!important}
  body .commerce-top>.row:first-child{gap:8px;min-width:0;flex:0 1 auto}
  body .commerce-top .commerce-title{font-size:16px;padding-left:8px;white-space:nowrap}
  body .commerce-meta{gap:6px!important;flex:0 0 auto;flex-wrap:nowrap!important}
  body .commerce-meta>span.row{display:none!important}
  body .commerce-meta .btn.small{font-size:0!important;gap:0!important;width:40px;height:40px;padding:0!important;border-radius:10px;justify-content:center}
  body .commerce-meta .btn.small .icon{width:18px;height:18px}
  body .commerce-meta :is(.icon-btn,.fs-btn){width:40px;height:40px;flex:none}
}

/* Resumo no modal (ex.: "Turno encerrado"): escala compacta e adaptativa; o tamanho de quiosque fica só no totem */
body .modal .success{padding:clamp(14px,3vh,28px) clamp(12px,3vw,24px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:clamp(6px,1.4vh,12px)}
body .modal .success .success-mark{width:clamp(64px,13vh,96px);height:clamp(64px,13vh,96px);margin:0}
body .modal .success .success-mark .icon{width:clamp(30px,6vh,46px);height:clamp(30px,6vh,46px)}
body .modal .success h1{font-size:clamp(24px,4.2vw + 8px,38px);line-height:1.15;margin:0;max-width:none}
body .modal .success p{font-size:clamp(14px,1.6vw + 8px,18px);line-height:1.5;margin:0;max-width:none}
body .modal .success .order-number{min-width:0;width:min(100%,360px);padding:clamp(12px,2.2vh,20px);border-radius:16px;margin:clamp(6px,1.6vh,14px) 0 0}
body .modal .success .order-number small{font-size:clamp(12px,1.2vw + 8px,14px)}
body .modal .success .order-number strong{font-size:clamp(26px,3.4vw + 10px,38px);overflow-wrap:anywhere}
body .modal .success .btn{max-width:none;padding:12px 20px;font-size:15px;border-radius:12px}
body .modal .success .btn .icon{width:18px;height:18px}
@media(max-height:560px){body .modal .success .success-mark{display:none}}
