* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #eef7f0, #ffffff);
  font-family: "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  padding: 40px;
}

/* 🔹 Wider card */
.container {
  width: 520px;
  background: white;
  padding: 28px;
  border-radius: 8px; /* ⬅️ reduced */
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

h2 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 4px;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.box {
  border: 1.5px solid #ddd;
  padding: 18px;
  border-radius: 6px; /* ⬅️ reduced */
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.box:hover {
  border-color: #66bb6a;
}

.box.active {
  border-color: #2e7d32;
  background: #f4fbf6;
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 600;
  color: #2e7d32;
}

.price del {
  font-size: 12px;
  color: #aaa;
}

.tag {
  background: #43a047;
  color: white;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 3px;
  margin-left: 6px;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #2e7d32;
  color: white;
  padding: 4px 8px;
  font-size: 11px;
  border-radius: 4px;
}

.box-content {
  display: none;
  margin-top: 14px;
}

.box.active .box-content {
  display: block;
}

.option-row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

.option-row label {
  font-size: 13px;
  color: #555;
}

select {
  padding: 7px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.summary {
  display: flex;
  justify-content: space-between;
  margin: 22px 0;
}

.delivery {
  color: #43a047;
  font-weight: 500;
}

.total {
  font-weight: 600;
}

.cta {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #43a047, #66bb6a);
  border: none;
  color: white;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

.cta:hover {
  opacity: 0.95;
}

.footer {
  text-align: center;
  font-size: 12px;
  color: #777;
  margin-top: 14px;
}

/* ================================
   📱 Mobile Responsive Styles
   ================================ */

@media (max-width: 600px) {
  body {
    padding: 16px;
  }

  .container {
    width: 100%;
    padding: 18px;
  }

  h2 {
    font-size: 20px;
  }

  .subtitle {
    font-size: 13px;
  }

  .box {
    padding: 14px;
  }

  .box-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .price {
    align-self: flex-end;
    font-size: 14px;
  }

  .option-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .option-row label {
    font-size: 12px;
  }

  select {
    width: 100%;
    font-size: 14px;
  }

  .summary {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .cta {
    padding: 14px;
    font-size: 15px;
  }

  .badge {
    top: -8px;
    right: -6px;
    font-size: 10px;
  }
}
