body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    list-style: none;
}

.checkout-container {
    width: 60%;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.progress-bar {
    display: flex;
    align-items: center;
}

.step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-weight: bold;
    color: #000;
}

.step.completed {
    background-color: #81312f;
}

.step.current {
    background-color: #81312f;
    font-weight: bold;
    color: white;
}

.close-btn {
    border: none;
    background-color: transparent;
    font-size: 16px;
    cursor: pointer;
    color: #81312f;
    text-decoration: none;
}

.delivery-section h2 {
    color: #81312f;
    margin-bottom: 20px;
}

.delivery-form .form-group {
    margin-bottom: 20px;
}

#cep {
    border-radius: 8px 0px 0px 8px;
}

.cep-input {
    display: flex;
    align-items: center;
}

.cep-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
}

.search-btn {
    background-color: #81312f;
    border: none;
    padding: 10px 15px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
}

.search-btn img {
    width: 16px;
    filter: invert(1)
}

.form-row {
    display: flex;
    gap: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.checkout-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.summary p,
.summary h3 {
    margin: 5px 0;
}

.back-btn,
.review-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}

.footer-buttons {
    display: flex;
}

.back-btn {
    background-color: #fff;
    color: #81312f;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.review-btn {
    background-color: #81312f;
    color: #fff;
}

@media (max-width: 600px) {
    .footer-buttons {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .checkout-footer {
        gap: 10px;
    }
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}

/* From Uiverse.io by aboalsim114 */ 
/* Hide the default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.container {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}


/* Create a custom checkbox */
.checkmark {
  position: relative;
  box-shadow: rgb(255, 84, 0) 0px 0px 0px 2px;
  background-color: rgba(16, 16, 16, 0.5);
  height: 20px;
  width: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: -1px;
  transition: all 0.2s ease 0s;
  cursor: pointer;
  transform-origin: 0px 10px;
  border-radius: 4px;
  margin: -1px 10px 0px 0px;
  padding: 0px;
  box-sizing: border-box;

}

.container:nth-child(2) .checkmark:nth-child(2) {
  margin-left: 11.5px;  
}

.container input:checked ~ .checkmark {
  box-shadow: rgb(255, 84, 0) 0px 0px 0px 2px;
  background-color: rgba(245, 24, 24, 0.5);
  height: 20px;
  width: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  margin-top: -1px;
  transition: all 0.2s ease 0s;
  cursor: pointer;
  transform-origin: 0px 10px;
  border-radius: 4px;
  margin: -1px 10px 0px 0px;
  padding: 0px;
  box-sizing: border-box;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 0.45em;
  top: 0.25em;
  width: 0.25em;
  height: 0.5em;
  border: solid white;
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
  transition: all 500ms ease-in-out;
}