/*BREAD CRUMB*/
#checkout-checkout .breadcrumb {
  background: transparent;
  padding: 18px 0 10px;
  margin: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

#checkout-checkout .breadcrumb > li + li:before {
  content: "›";
  color: #999;
  padding: 0 8px;
}

#checkout-checkout .breadcrumb a {
  color: #777;
  text-decoration: none;
}

#checkout-checkout .breadcrumb a:hover {
  color: #111;
}

/*H1 CHECKOUT*/
#checkout-checkout h1 {
  font-size: 34px;
  text-align: center;
  font-weight: 900;
  color: #111;
  margin: 34px 0 24px;
  letter-spacing: -0.8px;
}

@media (max-width: 767px) {
  #checkout-checkout .breadcrumb {
    text-align: left;
    font-size: 11px;
    padding-top: 12px;
  }

  #checkout-checkout h1 {
    font-size: 28px;
    margin: 24px 0 18px;
  }
}

/*CHECKOUT PAGE*/
.checkout-modern {
  max-width: 1120px;
  margin: 0 auto 60px;
}

.checkout-modern-step {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,.06);
  padding: 28px;
  margin-bottom: 18px;
}

.checkout-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.checkout-step-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.checkout-step-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.checkout-step-body {
  display: block;
}

.checkout-loading {
  color: #777;
  font-size: 14px;
}

.checkout-edit-address,
.checkout-edit-shipping,
.checkout-edit-payment {
  border: 1px solid #ddd;
  background: #f7f7f7;
  color: #222;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
}

.checkout-edit-address:hover,
.checkout-edit-shipping:hover,
.checkout-edit-payment:hover {
  background: #111;
  color: #fff;
}

.checkout-modern .form-horizontal .form-group {
  margin-left: 0;
  margin-right: 0;
}

.checkout-modern .form-horizontal .control-label {
  text-align: left;
}

@media (max-width: 767px) {
  .checkout-modern-step {
    padding: 18px;
    border-radius: 10px;
  }

  .checkout-step-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .checkout-step-head h3 {
    font-size: 19px;
  }
}

.checkout-review-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-review-product {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.checkout-review-info strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #111;
}

.checkout-review-info span {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 3px;
}

.checkout-review-total {
  font-weight: 800;
  color: #111;
  white-space: nowrap;
}

.checkout-review-totals {
  max-width: 360px;
  margin-left: auto;
  margin-top: 18px;
}

.checkout-review-totals div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

.checkout-review-totals .is-total {
  border-top: 1px solid #ddd;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
}

/*CONFIRM*/
.confirm-payment-summary {
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.confirm-payment-summary h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 14px;
  color: #111;
}

.confirm-total-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.confirm-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  color: #444;
}

.confirm-total-row strong {
  color: #111;
  font-weight: 800;
}

.confirm-total-row.is-total {
  border-top: 1px solid #ddd;
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
  color: #111;
}

.confirm-total-row.is-total strong {
  font-size: 20px;
}

/* força padrão visual no botão final */
#button-confirm {
  background: #05b83f !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 16px 34px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff !important;
  width: 100%;
  transition: all .2s ease;
}

#button-confirm:hover {
  background: #049a35 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

#button-confirm:active {
  transform: translateY(0);
  box-shadow: none;
}

.checkout-confirm-box,
#collapse-checkout-confirm {
  position: relative;
}

#collapse-checkout-confirm .buttons,
#collapse-checkout-confirm .pull-right {
  float: none !important;
  text-align: right;
  margin-top: 24px;
}

#button-confirm {
  display: inline-block !important;
  width: auto !important;
  min-width: 260px;
  background: #05b83f !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 15px 32px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  #button-confirm {
    width: 100% !important;
  }
}

/*PAYMENT ADDRESS*/
.checkout-address-choice {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

.checkout-existing-address {
  margin-bottom: 8px;
}

.checkout-address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.checkout-field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  color: #222;
  margin-bottom: 7px;
}

.checkout-field.required label:before {
  content: '* ';
  color: #d00;
}

.checkout-field .form-control {
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: none;
}
.checkout-field .input-group .btn {
  padding: 12px 16px !important;
}
.checkout-field-wide {
  grid-column: span 2;
}

.checkout-actions {
  margin-top: 24px;
  text-align: right;
}

.checkout-main-btn {
  background: #111;
  border: 0;
  border-radius: 8px;
  padding: 13px 28px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .checkout-address-grid {
    grid-template-columns: 1fr;
  }

  .checkout-field-wide {
    grid-column: span 1;
  }

  .checkout-actions {
    text-align: stretch;
  }

  .checkout-main-btn {
    width: 100%;
  }
}

/*PAYMENT METHODS*/
.checkout-payment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-card {
  display: block;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}

.payment-card:hover {
  border-color: #05b83f;
  background: #f9fff9;
}

.payment-card input {
  position: absolute;
  opacity: 0;
}

.payment-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.payment-card-terms {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.payment-card input:checked + .payment-card-content {
  border-left: 4px solid #05b83f;
  padding-left: 12px;
}

.checkout-agree {
  margin-top: 18px;
  font-size: 13px;
}

.checkout-agree label {
  font-weight: 400;
}

/*SHIPPING METHODS*/
.checkout-shipping-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-shipping-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-shipping-title {
  font-weight: 800;
  font-size: 15px;
  color: #111;
}

.shipping-card {
  display: block;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
}

.shipping-card:hover {
  border-color: #05b83f;
  background: #f9fff9;
}

.shipping-card input {
  position: absolute;
  opacity: 0;
}

.shipping-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shipping-card-name {
  font-weight: 700;
  color: #111;
}

.shipping-card-price {
  font-weight: 800;
  color: #05b83f;
}

.shipping-card input:checked + .shipping-card-content {
  border-left: 4px solid #05b83f;
  padding-left: 10px;
}

.checkout-comment {
  margin-top: 20px;
}

.checkout-comment label {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.checkout-comment textarea {
  border-radius: 8px;
  border: 1px solid #ddd;
}

.checkout-actions {
  margin-top: 20px;
  text-align: right;
}

.checkout-main-btn {
  background: #05b83f;
  border: 0;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  transition: all .2s ease;
}

.checkout-main-btn:hover {
  background: #049a35;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.checkout-main-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.checkout-main-btn:focus {
  outline: none;
  box-shadow: none;
}

/* mobile */
@media (max-width: 767px) {
  .checkout-main-btn {
    width: 100%;
  }
}

/*BOTAO REMOVER*/
.checkout-review-product {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.checkout-review-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-remove-item {
  background: #f1f1f1;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 16px;
}

.checkout-remove-item:hover {
  background: #e74c3c;
  color: #fff;
}

/*LOGIN*/
.checkout-login-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.checkout-login-card {
  border: 1px solid #eee;
  background: #fafafa;
  border-radius: 12px;
  padding: 24px;
}

.checkout-login-card h4 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  color: #111;
}

.checkout-login-card p {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.checkout-login-note {
  margin-top: 14px;
}

.checkout-forgotten {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .checkout-login-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-login-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.checkout-login-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
}

.checkout-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-option-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
}

.checkout-option-card:hover {
  border-color: #05b83f;
}

.checkout-login-note {
  margin: 15px 0;
  font-size: 13px;
  color: #666;
}

.checkout-forgotten {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
}

@media (max-width: 767px) {
  .checkout-login-grid {
    grid-template-columns: 1fr;
  }
}

.checkout-password-wrap {
  position: relative;
}

.checkout-password-wrap input {
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #999;
  font-size: 16px;
}

.toggle-password:hover {
  color: #333;
}
/*REGISTER*/
.checkout-register-section {
  margin-bottom: 30px;
}

.checkout-register-section h4 {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 18px;
  color: #111;
}

.checkout-register-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.checkout-register-options label {
  font-weight: 500;
}

.checkout-agree {
  margin-top: 16px;
  font-size: 13px;
}

.checkout-agree label {
  font-weight: 400;
}