/* HERO */
.config-hero {
  padding: 60px 0 30px;
  text-align: center;
}

.config-title {
  font-size: 36px;
  font-weight: 800;
}

.config-subtitle {
  color: #6b7280;
  max-width: 700px;
  margin: 10px auto 0;
  font-size: 18px;
}

/* WRAPPER */
.config-wrapper .container {
  display: flex;
}

/* LEFT SIDE */
.config-accessories {
  width: 70%;
}

/* TOTAL BOX */
.config-total-box {
  background: #fff;
  padding: 20px 25px;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.config-total-box h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
}

.config-total-price {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.config-wrapper .btn-add-cart,
.config-wrapper .btn-save-config {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px 0;
  border-radius: 10px;
  background: #0f66d7;
  color: #fff;
  border: none;
  font-weight: 700;
}

.btn-save-config {
  background: #374151;
}

/* TAB BUTTONS */
.config-categories {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.config-tab {
  padding: 10px 18px;
  background: #f3f4f6;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.config-tab.active {
  background: #0f66d7;
  color: #fff;
}

/* ACCESSORY GRID */
.accessory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ACCESSORY CARD */
.acc-card {
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 16px;
}

.acc-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.acc-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.acc-price {
  font-size: 18px;
  font-weight: 800;
  color: #0f66d7;
}

.acc-short {
  font-size: 14px;
  color: #6b7280;
  margin: 10px 0;
}

.acc-add-btn {
  background: #0f66d7;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* RIGHT SIDE SUMMARY */
.config-summary {
  width: 30%;
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.config-summary h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.summary-list {
  min-height: 140px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 20px;
}

.summary-footer .btn-add-cart {
  width: 100%;
}
.summary-remove {
  display: block;
  margin-bottom: 10px;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 5px;
  background: #374151;
  color: #fff;
  border: none;
}
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}
