* { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'Poppins','Segoe UI',sans-serif; background: #fafafa; color: #2c3e50; }

    header {
      background: white;
      padding: 20px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .logo {
      font-size: 28px;
      font-weight: 800;
      background: linear-gradient(135deg, #d4a5a5, #a97878);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -1px;
      cursor: pointer;
    }
    
.logo{ display:flex; align-items:center; }
.logo img{ height:56px; width:auto; display:block; }
nav { display:flex; gap: 26px; align-items: center; }
    nav a { text-decoration:none; color:#555; font-weight: 600; font-size: 15px; cursor:pointer; }
    nav a:hover { color:#a97878; }

    .btn {
      padding: 12px 28px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 700;
      font-size: 14px;
      transition: all 0.3s;
      text-decoration: none;
      display: inline-block;
    }
    .btn-primary { background: linear-gradient(135deg, #d4a5a5, #a97878); color: white; }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(169, 120, 120, 0.3); }
    .btn-ghost { background: #fff; border: 2px solid #a97878; color: #a97878; }
    .btn-ghost:hover { background:#a97878; color:#fff; transform: translateY(-2px); }

    .wrap { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
    .title { font-size: 42px; font-weight: 800; margin-bottom: 20px; }

    .card {
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.08);
      overflow: hidden;
    }

    table { width: 100%; border-collapse: collapse; }
    th, td { padding: 16px; border-bottom: 1px solid #eee; text-align: left; }
    thead { background: #f0e5e5; }
    th { font-weight: 800; color:#2c3e50; }

    .pimg {
      width: 70px; height: 70px;
      border-radius: 12px;
      background: linear-gradient(135deg, #f0e5e5, #e8d5d5);
      display:flex; align-items:center; justify-content:center;
      overflow: hidden;
      font-size: 34px;
    }
    .pimg img { width:100%; height:100%; object-fit: cover; }

    .qty { width: 90px; padding: 10px; border: 2px solid #ddd; border-radius: 10px; font-weight: 700; }

    .summary {
      display:flex; justify-content: space-between; align-items: center;
      padding: 18px 16px;
    }
    .total { font-size: 22px; font-weight: 900; color:#a97878; }

    .empty {
      padding: 40px;
      text-align:center;
      color:#777;
    }


/* Mobile header */
@media (max-width: 640px){
  header{ padding: 14px 16px; flex-wrap: wrap; gap: 10px; }
  nav{ gap: 14px; flex-wrap: wrap; justify-content: center; }
  .logo img{ height: 56px; }
}


.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling: touch; }
.table-wrap table{ min-width: 720px; }

@media (max-width: 480px){
  .logo img{ height:44px; }
}
