.pdv-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.pdv-header h1{margin:6px 0}.pdv-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pdv-inline,.pdv-line{display:flex;align-items:center;gap:12px;justify-content:space-between}.pdv-line{padding:12px 0;border-bottom:1px solid #ddd}.pdv-inline input{flex:1;min-width:0}.pdv-payment{padding:18px;border:1px solid #ddd;border-radius:16px}.pdv-payment button{display:block;width:100%;margin-top:12px}.pdv-history{display:grid;gap:8px}.pdv-history>a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:16px;background:#f5f5f5;border-radius:10px}.pdv-check{display:flex;gap:12px;align-items:flex-start}.pdv-check input{width:auto;flex-shrink:0}.pdv-wrap{overflow-wrap:anywhere}.pdv-status{border-left:5px solid #ffda27}#pdv-cart{margin:20px 0}.pdv-columns fieldset{min-width:0}#pdv-service{margin:18px 0}@media(max-width:640px){.pdv-columns{grid-template-columns:1fr}.pdv-header,.pdv-line{align-items:stretch;flex-direction:column}.pdv-history>a{flex-direction:column}}
/* Counter workspace: inventory search on left and sale on right. */
.pdv-counter{max-width:1600px!important;margin-inline:auto}
.pdv-counter .pdv-header{margin-bottom:12px}
.pdv-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.pdv-shortcuts a{padding:10px 18px;border-radius:9px;text-decoration:none;background:#fff;border:1px solid #dedede;color:#222;font-weight:700}
.pdv-shortcuts a[aria-current]{background:#ffda27;border-color:#edbf00}
.pdv-workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:20px;align-items:start;margin-bottom:24px}
.pdv-workspace>.card{margin:0;min-width:0;padding:24px;border-radius:14px}
.pdv-products{min-height:480px}.pdv-products h2,.pdv-ticket h2{margin-top:0}
.pdv-products #pdv-catalog{margin:18px 0;max-height:58vh;overflow:auto;overscroll-behavior:contain}
.pdv-products details{border-top:1px solid #ddd;padding-top:16px}
.pdv-ticket{position:sticky;top:100px;border-top:5px solid #ffda27!important}
.pdv-ticket #pdv-cart{margin:0 0 20px}
.pdv-ticket #pdv-cart>p:last-child{display:flex;justify-content:space-between;background:#191c1e;color:#ffda27;border-radius:10px;padding:20px;font-size:1.65rem;font-weight:800}
.pdv-ticket .pdv-columns{grid-template-columns:1fr}
.pdv-ticket fieldset{padding:14px;border:1px solid #ddd;border-radius:10px}
.pdv-ticket .pdv-checkout{width:100%;font-size:1.1rem;min-height:54px;font-weight:800}
.pdv-counter .pdv-status{padding:14px 18px;margin-bottom:18px}
.pdv-counter .pdv-status p{margin:6px 0}
.pdv-counter .pdv-status .button{font-size:.85rem;padding:8px 12px;margin-right:8px}
.pdv-daily .pdv-columns{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.pdv-daily article{background:#f5f6f7;border-radius:10px;padding:16px}
.pdv-counter section{scroll-margin-top:100px}
@media(max-width:900px){.pdv-workspace{grid-template-columns:1fr}.pdv-ticket{position:static}.pdv-products{min-height:0}.pdv-products #pdv-catalog{max-height:360px}}
@media(max-width:480px){.pdv-workspace>.card{padding:16px}.pdv-inline{flex-wrap:wrap}.pdv-inline input{flex-basis:100%}.pdv-inline button{width:100%}.pdv-shortcuts a{flex:1;text-align:center;padding:10px}.pdv-ticket #pdv-cart>p:last-child{font-size:1.4rem}}

.pdv-classic .pdv-register{border:1px solid #bbb;border-radius:12px;overflow:hidden;background:#eceeef;margin-bottom:24px;box-shadow:0 8px 30px #00000012}
.pdv-register-top{display:flex;justify-content:space-between;gap:16px;padding:14px 22px;background:#fff;border-bottom:3px solid #ffda27;align-items:center}
.pdv-register-top strong{font-size:1.4rem}.pdv-register-top strong span{color:#8b6b00;margin-left:14px}
.pdv-product-title{background:#202426;color:#fff;padding:22px;text-align:center;font-size:clamp(1.2rem,2vw,2rem);font-weight:800;min-height:80px;display:grid;place-content:center;overflow-wrap:anywhere}
.pdv-register-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,.8fr) minmax(170px,.55fr);gap:16px;padding:18px}
.pdv-receipt{background:#fffedc;padding:20px;color:#202020;min-height:470px;font-family:ui-monospace,Consolas,monospace}
.pdv-receipt h2{text-align:center;margin:0 0 8px!important}.pdv-receipt>p,.pdv-receipt>strong{font-size:.8rem;text-align:center;display:block}
.pdv-receipt-columns{border-bottom:1px dashed #555;padding-bottom:10px}
.pdv-receipt #pdv-cart>h3{display:none}.pdv-receipt .pdv-line{font-size:.85rem;border-bottom:1px dashed #bbb;align-items:start}
.pdv-receipt .pdv-line button{font-size:.7rem;padding:5px 7px;min-height:28px}
.pdv-receipt #pdv-cart>p:last-child{border-top:2px dashed #555;padding-top:14px}
.pdv-entry #pdv-search label{font-weight:700}.pdv-entry .pdv-inline{flex-wrap:wrap}.pdv-entry .pdv-inline input{flex-basis:100%;width:100%}.pdv-entry .pdv-inline button{width:100%}
.pdv-entry #pdv-catalog{max-height:180px;overflow:auto;margin:10px 0}.pdv-entry #pdv-catalog .pdv-line{flex-direction:column;align-items:stretch;font-size:.8rem;gap:6px}
.pdv-item-metrics input{font-size:1.35rem!important;text-align:center;font-weight:800;background:#fff}
.pdv-item-metrics label{display:block;font-weight:700;margin:12px 0}
.pdv-register-actions{display:flex;flex-direction:column;gap:14px}.pdv-register-actions .button,.pdv-register-actions button{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:66px;margin:0;font-weight:800;white-space:normal}
.pdv-register-actions small{font-size:.7rem;font-weight:500;opacity:.8}
.pdv-register-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;background:#e0e3e5;padding:16px 18px;align-items:end}
.pdv-register-bottom>strong{background:#202426;color:#fff;padding:18px;text-align:center;font-size:1.8rem;border-radius:8px}
.pdv-register-bottom>div>span{display:block;font-weight:700}.pdv-register-bottom #pdv-grand-total{display:block;background:#202426;color:#ffda27;font-size:clamp(1.8rem,3vw,2.7rem);padding:12px 20px;border-radius:8px;text-align:right}
.pdv-checkout-area{margin:18px!important}.pdv-checkout-area summary{font-size:1.2rem;font-weight:800;cursor:pointer}.pdv-checkout-area form{margin-top:20px}.pdv-checkout-area .pdv-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1000px){.pdv-register-body{grid-template-columns:minmax(0,1fr) minmax(220px,.8fr)}.pdv-register-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.pdv-register-top{flex-direction:column;align-items:flex-start}.pdv-register-body{grid-template-columns:1fr;padding:12px}.pdv-receipt{min-height:240px}.pdv-entry{grid-row:1}.pdv-register-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.pdv-register-bottom{grid-template-columns:1fr;gap:8px}.pdv-register-bottom>strong{display:none}.pdv-checkout-area .pdv-columns{grid-template-columns:1fr}.pdv-checkout-area{margin:12px!important}}

/* Dedicated sale page, without the public website shell. */
body.pdv-fullpage{margin:0!important;background:#e8ebed;padding:0!important}
body.pdv-fullpage>.site-header,body.pdv-fullpage>header,body.pdv-fullpage>.site-footer,body.pdv-fullpage>footer,body.pdv-fullpage>#mobile-nav,body.pdv-fullpage>#more-menu,body.pdv-fullpage>.delivery-banner,body.pdv-fullpage .jp-skip,body.pdv-fullpage .jp-breadcrumb,body.pdv-fullpage #online-attendants,body.pdv-fullpage .online-attendants{display:none!important}
body.pdv-fullpage #main{width:100%!important;max-width:none!important;margin:0!important;padding:12px!important;min-height:100dvh;box-sizing:border-box}
body.pdv-fullpage #main>.pdv-header,body.pdv-fullpage #main>.pdv-status,body.pdv-fullpage #main>.pdv-daily{display:none!important}
body.pdv-fullpage #main.pdv-classic>section.card{display:none!important}
body.pdv-fullpage .pdv-register{min-height:calc(100dvh - 24px);margin:0!important;display:flex;flex-direction:column}
body.pdv-fullpage .pdv-register-body{flex:1}
body.pdv-fullpage .pdv-register-top{position:relative}
body.pdv-fullpage .pdv-exit{font-size:.85rem;font-weight:700;color:#222;text-decoration:underline;padding:8px}
body.pdv-fullpage .pdv-register .pdv-checkout-area{scroll-margin-top:12px}
@media(max-width:640px){body.pdv-fullpage #main{padding:6px!important}body.pdv-fullpage .pdv-register{min-height:calc(100dvh - 12px)}}

body.pdv-fullpage #jota-discord-chat,body.pdv-fullpage #jdc-panel,body.pdv-fullpage #jdc-toggle,body.pdv-fullpage #main.pdv-classic>nav{display:none!important}

.pdv-register-actions svg{width:42px;height:42px;flex-shrink:0}.pdv-register-actions .button,.pdv-register-actions button{min-height:104px;gap:5px;border-radius:12px;font-size:1rem}.pdv-register-actions small:empty{display:none}.pdv-classic .pdv-product-title{min-height:65px;padding:14px;font-size:clamp(1.1rem,2vw,1.7rem)}.pdv-classic .pdv-receipt>p:not(.pdv-receipt-columns){display:none}.pdv-classic .pdv-receipt{padding:16px}.pdv-classic .pdv-entry>.button{width:100%;margin:8px 0}.pdv-classic .pdv-register-bottom{position:sticky;bottom:0;z-index:3}.pdv-classic .pdv-register-top{padding:10px 18px}@media(max-width:640px){.pdv-register-actions svg{width:34px;height:34px}.pdv-register-actions .button,.pdv-register-actions button{min-height:88px}.pdv-classic .pdv-register-bottom{padding:8px 12px}.pdv-classic #pdv-grand-total{font-size:1.7rem;padding:8px 14px}}
