:root{
  --brand-blue: #0a6fb4;
  --brand-red: #c21807;
  --brand-green: #0b7a2d;
  --text: #111;
  --border-color: rgba(0,0,0,0.13); /* nhẹ hơn, tối ưu khi chụp hình */
}

/* reset */
* { box-sizing: border-box; }
html,body { margin:0; padding:0; height:100%; -webkit-text-size-adjust:100%; }
body {
  font-family:
    'SF Pro Display',
    'SF Pro Text',
    'San Francisco',
    'Segoe UI',
    'Roboto',
    Arial,
    Helvetica,
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 400;
}

/* page wrapper */
.page { width:100%; max-width:920px; margin:0 auto; padding:6px; }

/* Banner */
.banner { border:0.7px solid var(--border-color); background:#fff; padding:6px; }
.banner-inner { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.banner-left, .banner-right { flex:0 0 72px; display:flex; align-items:center; justify-content:center; }
.banner-center { flex:1 1 auto; text-align:center; padding:4px 6px; }
.logo{ width:72px; height:auto; display:block; }
.qr{ width:72px; height:auto; display:block; }
.company-line { color: var(--brand-blue); font-weight: 700; font-size: 11px; }
.brand { color: var(--brand-red); font-size: 20px; font-weight: 700; margin: 4px 0 4px 0; }
.meta-line { color: var(--brand-blue); font-weight: 600; font-size: 8px; margin: 2px 0 2px 0; }
.meta-highlight { color: var(--brand-red); }
.bank { margin-top: 6px; font-size: 12px; }

/* Intro/title */
.intro { 
  border-left:0.7px solid var(--border-color); 
  border-right:0.7px solid var(--border-color); 
  border-bottom:0.7px solid var(--border-color);
  border-top:0; 
  padding:3px 3px; 
  text-align:center; 
  background:#fff; 
}
.intro-text{ font-size:8.5px; line-height:1.25; margin:1 0 1px; }
.sheet-title{ color:var(--brand-green); font-size: 13px; font-weight: 700; vertical-align: middle; margin: 0px 0 0px; }

/* Table container */
.table-wrap { 
  border-left:0.7px solid var(--border-color); 
  border-right:0.7px solid var(--border-color); 
  border-bottom:0.7px solid var(--border-color); 
  overflow-x:auto; 
  -webkit-overflow-scrolling:touch; 
  background:#fff; 
  padding:0; 
}

/* Table */
.price-table{ 
  width:100%; 
  border-collapse: collapse;
  border-spacing:0; 
  table-layout:fixed; 
  min-width:100%; 
}
.price-table th, .price-table td {
  border:0.7px solid var(--border-color);
  padding:8px 6px;
  text-align:center;
  vertical-align:middle;
  background: #fff;
  word-wrap:break-word;
  overflow-wrap:break-word;
}

/* header (compact & bold) */
.head-top th {
  padding:6px 6px;
  font-size: 80%;
  line-height: 1;
  font-weight: 700;
}
.head-sub th {
  font-size: 80%;
  padding:5px 4px;
  line-height: 1;
  font-weight: 700;
}



/* Column widths */
.col-stt { width:6.3%; }
.col-name { width:18.225%; }
.col-img  { width:18.225%; }
.col-price { width:14.3125% !important; }

/* ID column font-size */
.price-table thead th.col-stt {
  font-size: 80% !important;
  line-height: 1;
  padding:6px 6px;
  font-weight: 700;
}
.price-table tbody td.col-stt {
  font-size: 80%;
  font-weight: normal;
  line-height: 1;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Product text */
.prod-name{
  font-weight:700;
  font-size: 100%;
  margin: 0;
  text-align: center;
}
.prod-desc{
  color:var(--brand-red);
  font-weight:600;
  margin:4px 0 0;
  font-size: 80%;
  text-align: center;
  line-height: 1.1;
}

/* Image cell */
.img-cell {
  padding:5px;
  vertical-align: middle;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Product image */
.prod-img{
  display:block;
  width:100%;
  height:auto;
  max-height:160px;
  object-fit:contain;
  padding:0;
  margin:0;
}

/* Price columns: ensure normal weight and slightly smaller than base */
.col-price,
.col-price .price-text,
.col-price .price-btn {
  font-weight: normal !important;
  font-size: 88% !important;
  line-height: 1;
}

.qty-200 .price-btn,
.qty-100 .price-btn,
.qty-50  .price-btn,
.qty-10  .price-btn {
  font-size: inherit;
  font-weight: normal;
  white-space: nowrap;
  line-height: 1.05;
  padding: 0;
  vertical-align: middle;
}

.col-price { cursor: default; text-align:center; vertical-align:middle; }
.col-price:focus { outline: none; }
.col-price:hover { background: transparent; }

.price-table thead th.col-stt { font-size:80%; }

/* Responsive tweaks */
@media (max-width:420px) {
  .head-top th { font-size: 85%; padding:6px 4px; }
  .head-sub th { font-size: 85%; padding:5px 3px; }
  .col-stt { width:7%; }
  .col-name { width:24%; }
  .col-img  { width:24%; }
  .col-price { width:11.75% !important; }
  .prod-name{ font-size: 100%; }
  .prod-desc{ font-size:80%; }
  .prod-img{ width:100%; max-height:140px; object-fit:contain; }
  .col-price, .col-price .price-btn, .col-price .price-text { font-size: 88% !important; }
  .price-table th, .price-table td { padding:6px 4px; }
    .price-table tfoot tr#order-total-row td {
    border: 0.7px solid var(--border-color) !important;
  }
}


/* focus */
.price-btn:focus, .btn:focus { outline: 2px solid rgba(11,122,45,0.18); outline-offset:2px; }


/* ===========================================================
   Desktop landscape: increase font sizes by ~30%
   - Targets wider screens in landscape orientation (desktop/laptop)
   - Mobile (max-width:420px) unchanged (keeps your original mobile sizing)
   =========================================================== */
@media (min-width: 1000px) and (orientation: landscape) {

  /* base scaling: 10px -> 13px (approx +30%) */
  body { font-size: 12px; }

  /* Increase all header content (company info, brand, meta, bank) by ~30% */
  .company-line { font-size: 18px; }  /* 11px * 1.3 */
  .brand { font-size: 26px; }           /* 20px * 1.3 */
  .meta-line { font-size: 14px; }     /* 8px * 1.3 */
  .bank { font-size: 16px; }          /* 12px * 1.3 */

  /* Intro/title */
  .intro-text { font-size: 14px; }   /* 8.5px * 1.3 */
  .sheet-title { font-size: 18px; }   /* 13px * 1.3 */

  /* Table cells: slightly increase padding for readability on larger screens */
  .price-table th, .price-table td {
    padding: 10px 8px;
  }

  /* Product text: scale up to remain prominent */
  .prod-name { font-size: 115%; } /* ~1.3x */
  .prod-desc { font-size: 100%; }

  /* Price columns: increase so numbers are easier to read */
  .col-price,
  .col-price .price-text,
  .col-price .price-btn {
    font-size: 100% !important; /* ~1.14x of their normal size */
  }

  /* allow images slightly taller on desktop */
  .prod-img { max-height: 200px; }

}

.list-stock-badge { display: none !important; }