body1 {
  font-family: 'Montserrat', sans-serif;
  background: #f5f7fa;
  padding: 2rem;
}

.container1 {
  max-width: 1000px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.section-title1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.75rem;
  color: #0078C8;
}

form label {
  display: block;
  margin: 10px 0;
  font-weight: 500;
}

.flex-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.kitchen-group {
  display: flex;
  gap: 2rem;
  margin: 1rem 0;
  overflow: hidden;
  
}
.kitchen-group-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #005a99;
  border-radius: 12px;
  padding: 10px;
  background-color: #f9f9f9;
   font-size: 0.95rem;
}
.kitchen-group-item input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.kitchen-group-item:has(input[type="radio"]:checked){
background: #0078C8;
}



fieldset {
  margin: 20px 0;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 10px;
}

legend {
  font-weight: 600;
  margin-bottom: 10px;
  color: #2D3748;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}


.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #005a99;
  border-radius: 12px;
  padding: 10px;
  background-color: #f9f9f9;
  font-size: 0.95rem;
  
  
}
.service-item input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


.service-item:has(input[type="checkbox"]:checked) {
  background-color: #0078C8;
  color: #FFFFFF;
}


.service-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
}

.badge {
  margin-top: 4px;
  padding: 4px 8px;
  background-color: #FFB400;
  color: white;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.8rem;
}

input[type="number"],
select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
  width: 60px;
}
input[type="date"] {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 5px;
  width: 100px;
}
.btn {
  display: inline-block;
  background: #0078C8;
  color: white;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
}

.btn:hover {
  background-color: #005a99;
}

.price-display {
  text-align: center;
  margin-top: 20px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #2D3748;
}
.expandable summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

.grid-furniture {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.furniture-item {
  background: #f9f9f9;
  border: 1px solid #005a99;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  align-items: center;
  place-items: center;
}

.furniture-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
  place-items: center;

}

.furniture-item p {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.furniture-item input[type="number"] {
  width: 60px;
  padding: 4px;
  text-align: center;
  margin-top: 5px;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.form-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.form-flex label {
  flex: 1 1 calc(50% - 20px); 
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.form-flex input {
  margin-top: 6px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-flex input:focus {
  border-color: #FFB400;
  outline: none;
}

#confirmationMessage {
  padding: 20px;
  background-color: #e6f9e6;
  border: 2px solid #005a99;
  border-radius: 8px;
  font-size: 1.2em;
  color: #106410;
  text-align: center;
  margin-top: 30px;
}

.note {
  color: #555; 
  font-size: 0.9em; 
  margin-top: 10px;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



@media (max-width: 768px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-flex label {
    flex: 1 1 100%;
  }

}
