/* =====================================================================
   360 HOTEL SOLUTIONS — point-of-sale.css
   Page-specific styles for the Point Of Sale (POS) page.
   Reuses the global theme (tokens, header, footer, .flow-step, .why,
   .results, .final-cta). Responsive rules at the bottom.
   ===================================================================== */

/* ===== GENERIC SUB-PAGE SECTION ===== */
.pos-section{padding:90px 0;background:var(--white);}
.pos-section.tint-cyan{background:var(--tint-cyan);}
.pos-section.tint-purple{background:var(--tint-purple);}

/* ===== HERO — POS order / billing screen ===== */
.pos-hero .hero-sub{max-width:520px;}
.pos-hero .hero-pills{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:460px;}

.pos-visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:480px;padding:0 18px;}
.pos-panel{width:100%;max-width:404px;background:#0D1530;border-radius:20px;padding:13px;box-shadow:0 44px 90px -30px rgba(2,15,77,0.5);position:relative;z-index:2;}
.pos-bar{display:flex;gap:7px;padding:4px 8px 12px;}
.pos-bar span{width:10px;height:10px;border-radius:50%;display:block;}
.pos-bar .r{background:#FF5F57;} .pos-bar .y{background:#FEBC2E;} .pos-bar .g{background:#28C840;}
.pos-screen{background:#fff;border-radius:12px;overflow:hidden;}
.pos-head{padding:14px 16px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;}
.pos-outlet{font-size:14px;font-weight:800;}
.pos-table{font-size:11px;color:var(--cyan);font-weight:700;margin-top:2px;}
.pos-head .kot{font-size:9.5px;font-weight:800;color:var(--navy);background:var(--cyan);padding:4px 9px;border-radius:6px;}
.pos-items{padding:4px 16px;}
.pos-item{display:flex;align-items:center;gap:11px;padding:10px 0;border-bottom:1px solid var(--gray);}
.pos-item:last-child{border-bottom:none;}
.pos-item-qty{width:23px;height:23px;border-radius:6px;background:var(--tint-blue);color:var(--blue);font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pos-item-name{flex:1;font-size:12.5px;font-weight:600;color:var(--navy);}
.pos-item-price{font-size:12.5px;font-weight:700;color:var(--navy);}
.pos-totals{padding:12px 16px;background:var(--bg);border-top:1px solid var(--gray);}
.pos-trow{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:3px 0;}
.pos-trow.total{font-size:15.5px;font-weight:800;color:var(--navy);padding-top:8px;margin-top:4px;border-top:1px solid var(--gray);}
.pos-actions{display:flex;gap:8px;padding:14px 16px;}
.pos-btn{text-align:center;font-size:12px;font-weight:800;padding:11px 8px;border-radius:10px;}
.pos-btn.room{background:var(--grad);color:#fff;flex:1.7;display:flex;align-items:center;justify-content:center;gap:6px;}
.pos-btn.room svg{width:14px;height:14px;}
.pos-btn.alt{flex:1;background:#fff;border:1px solid var(--gray);color:var(--navy);}

/* floating stat badges */
.pos-badge{position:absolute;z-index:3;background:#fff;border-radius:14px;padding:10px 14px;box-shadow:0 16px 36px -12px rgba(2,15,77,0.26);display:flex;align-items:center;gap:9px;white-space:nowrap;opacity:0;animation:float-in .6s ease forwards;}
.pos-badge .i{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pos-badge .i svg{width:15px;height:15px;}
.pos-badge .num{font-size:14px;font-weight:800;line-height:1;}
.pos-badge .lbl{font-size:10px;color:var(--muted);font-weight:600;margin-top:2px;}
.pos-badge.b1{top:11%;left:-10px;animation-delay:.5s;} .pos-badge.b1 .i{background:rgba(14,99,255,0.1);color:var(--blue);}
.pos-badge.b2{bottom:10%;right:-10px;animation-delay:.9s;} .pos-badge.b2 .i{background:rgba(217,119,6,0.12);color:#D97706;}

/* ===== NAVY BAND — guest folio with outlet charges (reuses .why) ===== */
.pos-folio{background:rgba(255,255,255,0.05);border:1px solid rgba(255,255,255,0.1);border-radius:16px;padding:18px 20px;}
.pos-folio-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.pos-folio-title{color:#fff;font-size:14px;font-weight:800;}
.pos-folio-sub{font-size:10.5px;color:var(--muted-light);}
.pos-folio-row{display:flex;align-items:center;gap:13px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,0.08);}
.pos-folio-ico{width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,0.08);color:var(--cyan);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.pos-folio-ico svg{width:16px;height:16px;}
.pos-folio-name{flex:1;color:#fff;font-size:12.5px;font-weight:600;}
.pos-folio-name small{display:block;color:var(--muted-light);font-size:10px;font-weight:500;margin-top:1px;}
.pos-folio-amt{color:#fff;font-size:12.5px;font-weight:800;}
.pos-folio-total{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding-top:13px;border-top:1px solid rgba(255,255,255,0.14);}
.pos-folio-total .l{color:#fff;font-size:13px;font-weight:700;}
.pos-folio-total .v{font-size:19px;font-weight:800;color:#fff;}
.pos-folio-foot{font-size:11px;color:var(--cyan);font-weight:700;margin-top:9px;display:flex;align-items:center;gap:6px;}
.pos-folio-foot svg{width:13px;height:13px;}

/* ===== FEATURE GRID (reuses .flow-step card styling) ===== */
.pos-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media(max-width:920px){
  .pos-section{padding:56px 0;}
  .pos-visual{min-height:auto;padding:8px 0 0;}
  .pos-feature-grid{grid-template-columns:1fr 1fr;}
  .pos-badge.b1{left:-2px;} .pos-badge.b2{right:-2px;}
}

@media(max-width:640px){
  .pos-feature-grid{grid-template-columns:1fr;}
  .pos-badge{display:none;}
}
