* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: #f8f3ef;
  color: #222;
  padding: 10px;
}

/* ===== TOP BAR ===== */
.announce-bar {
  background: #ffd84a;
  color: #3a2800;
  font-size: 14px;
  text-align: center;
  padding: 8px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

/* ===== HEADER ===== */
.header {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ✅ LOGO SIZE MID */
.logo {
  width: 85px;
  height: 85px;
  border-radius: 14px;
  object-fit: contain;
  border: 2px solid #ff8a3c;
  background: #fff;
  padding: 6px;
}

.brand-text h1 {
  font-size: 23px;
  margin-bottom: 2px;
  font-weight: 800;
}

.brand-text p {
  font-size: 13px;
  font-weight: 700;
  color: #ff7a00;
  letter-spacing: 0.5px;
}

/* ===== CUSTOMER BOX ===== */
.customer-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  margin-bottom: 10px;
}

.customer-box h2 {
  font-size: 17px;
  margin-bottom: 8px;
}

.customer-box input,
.customer-box textarea {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid #ddd;
  font-size: 14px;
  margin-bottom: 7px;
}

.note {
  font-size: 11px;
  color: #777;
}

/* ===== ADMIN PANEL ===== */
.admin-box {
  background: #fff7e6;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 12px;
  border: 2px dashed #ff8a3c;
}

.admin-box h2 {
  font-size: 17px;
  margin-bottom: 6px;
}

.admin-note {
  font-size: 12px;
  margin-bottom: 8px;
  color: #444;
}

.admin-box input {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-bottom: 7px;
}

.admin-checkbox {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 10px;
}

/* ===== ADMIN BUTTONS ===== */
.admin-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===== SEARCH ===== */
.controls {
  margin-bottom: 10px;
}

.controls input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* ===== PRODUCTS ===== */
.section-title {
  font-size: 20px;
  margin: 6px 0 10px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

/* ✅ PRODUCT CARD */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 8px;
}

.product-card h2 {
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 800;
}

.weight {
  font-size: 12px;
  color: #666;
  margin-bottom: 6px;
}

.price-line {
  margin-bottom: 6px;
}

/* OLD MRP STYLE */
.mrp {
  text-decoration: line-through;
  margin-right: 6px;
  color: #888;
  font-size: 13px;
}

/* ✅ NEW LABELS – MARKET / OFFER PRICE */
.mrp-label {
  font-size: 12px;
  color: #666;
  margin-right: 4px;
  font-weight: 500;
}

.price-label {
  font-size: 12px;
  color: #ff7a00;
  margin-right: 4px;
  font-weight: 700;
}

.price {
  font-weight: bold;
  font-size: 17px;
}

.tag {
  font-size: 12px;
  margin-bottom: 6px;
  color: #0c7a03;
  font-weight: 700;
}

/* ✅ MINIMUM ORDER TEXT */
.min-order {
  font-size: 12px;
  margin-bottom: 8px;
  color: #444;
  font-weight: 600;
}

/* ===== QTY ROW ===== */
.qty-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.qty-input {
  width: 44px;
  text-align: center;
  padding: 6px 0;
  border-radius: 9px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ff8a3c;
  background: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.btn-whatsapp {
  background: #0c7a03;
  color: #fff;
}

.btn-disabled {
  background: #b3b3b3;
  color: #fff;
}

.admin-btn {
  background: #ff8a3c;
  color: #fff;
}

.admin-secondary-btn {
  background: #f0f0f0;
  color: #333;
}

.btn:active {
  transform: scale(0.96);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  margin-top: 18px;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

/* ===== SMALL SCREEN FIX ===== */
@media (max-width: 400px) {
  .logo {
    width: 75px;
    height: 75px;
  }
}
/* ✅ FORCE MOBILE GRID FIX */
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
}

/* ✅ MARKET & OFFER PRICE CLEAR */
.mrp-label {
  display: inline-block;
  font-size: 12px;
  color: #999;
  font-weight: 700;
}

.price-label {
  display: inline-block;
  font-size: 12px;
  color: #0c7a03;
  font-weight: 800;
  margin-top: 2px;
}

/* ✅ PRICE SIZE BIGGER */
.price {
  font-size: 20px !important;
}

/* ✅ CARD WIDTH FIX */
.product-card {
  width: 100% !important;
}

/* ✅ CUSTOMER KE LIYE ADMIN LOGIN HIDE */
.admin-login-wrapper {
  display: none !important;
}
