/* Scope all styles to plugin wrapper only */
.bindia-wrap * {
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.bindia-wrap {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

/* LEFT SECTION */
.bindia-main {
  background: #ffffff;
  color: #222;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

/* RIGHT CART */
.bindia-cart {
  background: #f5f5f5;
  color: #222;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  height: fit-content;
  position: sticky;
  top: 20px;
}

.bindia-cart h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #111;
  border-bottom: 2px solid #111;
  padding-bottom: 12px;
}

/* MENU TABS */
.menu-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.menu-tabs button {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  background: #fff;
  color: #222;
  border: 2px solid #d0d0d0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.menu-tabs button:hover {
  border-color: #111;
  color: #111;
}

.menu-tabs button.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* MENU IMAGE */
.menu-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

/* MENU CONTENT */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.menu-block {
  background: #f5f5f5;
  padding: 18px;
  border-radius: 6px;
  border-left: 3px solid #111;
}

.menu-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: #111;
  font-weight: 600;
}

.menu-block p {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* PRICE */
.price {
  grid-column: span 2;
  font-size: 24px;
  font-weight: 600;
  color: #111;
  margin: 15px 0;
  text-align: center;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 6px;
  border: 2px solid #111;
}

/* FORMS */
.bindia-wrap label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #222;
}

.bindia-wrap select,
.bindia-wrap input,
.bindia-wrap textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 12px;
  font-size: 14px;
}

.bindia-wrap input:focus,
.bindia-wrap select:focus,
.bindia-wrap textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}

#cvrField {
  display: none;
}

/* DELIVERY */
.delivery {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.delivery-box {
  flex: 1;
  padding: 14px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
}

.delivery-box.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.delivery-box.active:after {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 12px;
}

/* BUTTONS */
.bindia-wrap .cta {
  width: 100%;
  padding: 14px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.bindia-wrap .cta:hover {
  background: #000;
}

.bindia-wrap .edit {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #555;
  font-weight: 500;
}

.bindia-wrap .edit:hover {
  color: #111;
  text-decoration: underline;
}

/* SUCCESS */
.bindia-wrap .success-message {
  background: #fff;
  border: 2px solid #111;
  padding: 60px 40px;
  text-align: center;
  border-radius: 8px;
}

.bindia-wrap .success-message h2 {
  color: #111;
}

/* LOADING */
.bindia-wrap .loading:after {
  border: 4px solid #111;
  border-top-color: transparent;
}
