:root {
  --VerdeSeleccion02: #f3fdf8;
  --fondoheader: #dddfe4;
}

.woocommerce-checkout .main-content {
  width: 1137px;
  max-width: 100%;
  margin: 0 auto;
  margin-bottom: 130px;
  padding: 0 20px;
}

.woocommerce-checkout .checkout-header {
  border-bottom: 3px solid var(--Verde100);
  background: var(--fondoheader);
  padding: 27px 0;
  height: 112px;
}

@media (min-width: 768px) {
  .woocommerce-checkout .checkout-header {
    padding: 27px 10px;
    margin: 0 -60px;
  }
}

.woocommerce-checkout .fondoheader {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100vw;
  height: 112px;
  border-bottom: 3px solid var(--Verde100);
  background: var(--fondoheader);
}

.checkout-header > a {
  z-index: 2;
  position: absolute;
}

.woocommerce-checkout .wp-block-woocommerce-checkout {
  color: var(--Negro, #343434);
  font-family: var(--fuente-principal);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-top: 19px;
}

.woocommerce-checkout .titulocheckout {
  color: var(--Verde100);
  font-family: var(--fuente-principal);
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 170%;
  margin: 0;
  margin-top: 35px;
}

.woocommerce-checkout .wc-block-components-title.wc-block-components-title {
  color: var(--Verde100);
}

.woocommerce-checkout .wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option {
  border: 1px solid var(--Gris40);
  margin-bottom: 13px;
  border-radius: 4px;
}

.woocommerce-checkout .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.woocommerce-checkout .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
  box-shadow: inset 0 0 0 1.5px var(--Verde50) !important;
  background-color: var(--VerdeSeleccion02);
}

.edit-post-visual-editor .wc-block-checkout__shipping-method-option,
.wc-block-checkout__shipping-method-option {
  outline: 1px solid var(--Gris50);
}

.woocommerce-checkout .wc-block-checkout__shipping-method-option--selected {
  outline: 0 !important;
  background-color: var(--VerdeSeleccion02) !important;
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--Verde50) !important;
}

.woocommerce-checkout .wc-block-checkout__shipping-method-option--selected .wc-block-checkout__shipping-method-option-title {
  color: var(--Verde50);
}

.woocommerce-checkout .wc-block-checkout__shipping-method-option--selected svg path {
  fill: var(--Verde50);
}

@media (max-width: 969px) {
  .wc-block-checkout__shipping-method-option {
    flex-direction: column !important;
  }
}

.woocommerce-checkout #shipping-method > div:nth-child(1) span {
  font-size: 0;
}

@media (min-width: 768px) {
  .woocommerce-checkout .wc-block-components-radio-control__option {
    padding-left: 45px;
  }
}

.woocommerce-checkout #shipping-method > div:nth-child(1) > span > span:after {
  content: "Envio a domicilio";
  font-size: 16px;
}

.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
}

.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked {
  border: solid 6px var(--Verde50);
}

.woocommerce-checkout .wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before {
  display: none !important;
}

.wc-block-components-radio-control--highlight-checked:after {
  display: none !important;
}

.is-large .wc-block-checkout__sidebar {
  top: 40px !important;
}

/* lateral */
.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
  margin: 0 !important;
  border-bottom: 2px solid var(--GrisN_02, #cdd0d6) !important;
  background-color: var(--Verde01CK, #e7edea);
  padding: 17px 20px !important;
  border-radius: 4px 4px 0 0;
  width: 100%;
}

.woocommerce-checkout .wc-block-components-checkout-order-summary__title p {
  margin: 0 !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  color: var(--cre-c1f);
  font-family: var(--fuente-principal);
}

.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border-radius: 4px;
  border: 1px solid var(--Gris40, #c4c4c4) !important;
  background: #fff;
}

.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-coupon,
.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.woocommerce-checkout .wc-block-checkout__main .wp-block-woocommerce-checkout-order-summary-block {
  border: none !important;
}

/* btn finalizar */
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):focus {
  box-shadow: inset 0 0 0 1px #fff, 0 0 0 2px var(--Verde50) !important;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  width: 350px !important;
  border-radius: 32px;
  background: var(--Negro);
  box-shadow: 0px 4px 26px 0px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--fuente-principal);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0 10px !important;
  height: 48px !important;
  min-height: auto !important;
  /* display: flex !important;
    flex-direction: row;
    justify-content: center;
    align-items: center; */
  gap: 10px;
  margin: 0 auto;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:not(.wc-block-components-button--loading) > span > div::after {
  content: "";
  display: inline-block;
  width: 21px;
  height: 21px;
  background: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2221%22%20height%3D%2222%22%20viewBox%3D%220%200%2021%2022%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20d%3D%22M3.58008%2011H17.661%22%20stroke%3D%22white%22%20stroke-width%3D%221.28008%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M11.9004%205.23965L17.6607%2011L11.9004%2016.7604%22%20stroke%3D%22white%22%20stroke-width%3D%221.28008%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E) center / contain no-repeat;
  margin-left: 6px;
}

.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: var(--Verde50);
}

.woocommerce-page .wc-block-components-checkbox svg {
  fill: var(--Verde-Seleccin-CK, #1db56a) !important;
  width: 15px;
  height: 15px;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--NegroN_01, #0c031f);
  font-size: 18px;
  font-weight: bold !important;
}

/* TODO: PEDIDO FINALIZADO CON EXITO */
.woocommerce-order-received .titulocheckout {
  display: none;
}

.titulo-compra-exito p {
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--Verde100);
  text-align: center;
  font-family: var(--fuente-secundary);
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
  width: 282px;
  max-width: 100%;
  margin: 0 auto;
}

.titulo-compra-exito p::before {
  content: "";
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2267%22%20height%3D%2267%22%20viewBox%3D%220%200%2067%2067%22%20fill%3D%22none%22%3E%0A%20%20%3Cpath%20opacity%3D%220.2%22%20d%3D%22M33.5%2061.125C48.7569%2061.125%2061.125%2048.7569%2061.125%2033.5C61.125%2018.2431%2048.7569%205.875%2033.5%205.875C18.2431%205.875%205.875%2018.2431%205.875%2033.5C5.875%2048.7569%2018.2431%2061.125%2033.5%2061.125Z%22%20fill%3D%22%23268F5B%22%20stroke%3D%22%23268F5B%22%20stroke-width%3D%225%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M45.0156%2027.2188L29.6527%2041.875L21.9844%2034.5469%22%20stroke%3D%22%23268F5B%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M33.5%2058.625C47.3762%2058.625%2058.625%2047.3762%2058.625%2033.5C58.625%2019.6238%2047.3762%208.375%2033.5%208.375C19.6238%208.375%208.375%2019.6238%208.375%2033.5C8.375%2047.3762%2019.6238%2058.625%2033.5%2058.625Z%22%20stroke%3D%22%23268F5B%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E")
    center / contain no-repeat;
  width: 67px;
  height: 67px;
  display: inline-block;
  margin-bottom: 6px;
}

.contenedor-compra-exito,
.contenedor-compra-exito ~ p {
  color: var(--Negro);
  font-family: var(--fuente-principal);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  margin-bottom: 16px;
}

.woocommerce-checkout .woocommerce-order-details > .featured-boxes {
  border: 0 !important;
  padding: 0 !important;
}

.woocommerce-order-details {
  width: 600px !important;
  max-width: 100%;
  padding: 40px 20px;
  border-top: 1px solid #000;
  background: #f4f4f4;
  margin: 0 auto;
}

.order_details tfoot tr td {
  color: var(--Negro) !important;
}

.woocommerce-order-details .woocommerce-table--order-details tfoot .view.order-actions-button {
  font-size: 0 !important;
  border-radius: 100px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 0 0 auto;
}

.woocommerce-order-details .woocommerce-table--order-details tfoot .view.order-actions-button:after {
  content: "Ver en mi cuenta";
  font-size: 15px;
}

.woocommerce-checkout .woocommerce-customer-details {
  width: 600px !important;
  max-width: 100%;
  margin: 0 auto;
  margin-top: 3rem;
}

.btnfootercompra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btnfootercompra a {
  height: 48px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: var(--Negro);
  color: var(--White) !important;
  width: 200px;
  max-width: 100%;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  padding: 0 20px;
}

.btnfootercompra a.lineal {
  border: 1px solid var(--Negro, #343434);
  background: transparent;
  color: var(--Negro, #343434) !important;
}

.btnfootercompra a:hover {
  background: var(--porto-primary-color);
}

.btnfootercompra a.lineal:hover {
  background: transparent;
  color: var(--Verde50, #268f5b) !important;
  border-color: var(--Verde50, #268f5b);
}

.woocommerce-checkout .woocommerce-order-details h4.card-sub-title {
  color: var(--Negro);
  text-align: center;
  font-family: var(--fuente-secundary);
  font-size: 18px !important;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  text-transform: uppercase;
}

.woocommerce-checkout .woocommerce-customer-details .woocommerce-column__title,
.woocommerce-checkout .woocommerce-customer-details address,
.woocommerce-checkout .woocommerce-customer-details a.woocommerce-button {
  display: none;
}

@media (max-width: 767px) {
  .woocommerce-order-details {
    padding: 30px 5px;
  }
}

.order_details .product-name a {
  display: inline-block;
  width: calc(100% - 70px);
  vertical-align: middle;
  display: inline-block;
  width: calc(100% - 70px);
  vertical-align: middle;
  color: var(--Negro, #343434);
  font-family: var(--fuente-principal);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}

.order_details tfoot tr:last-child .amount,
.order_details tfoot tr:last-child h4 {
  color: var(--Verde100) !important;
  font-size: 18px !important;
  text-transform: uppercase;
}

.checkout-order-review .cart-subtotal,
.checkout-order-review tbody .amount,
.order_details tbody .amount {
  color: var(--Negro, #343434);
  font-weight: 700;
}

/* cupon descuento */
.woocommerce-checkout .wc-block-components-totals-coupon__button {
  background: var(--Negro, #343434) !important;
  color: white !important;
  border: 0px !important;
  border-radius: 100px !important;
}

.woocommerce-checkout .wc-block-components-totals-coupon__button:hover {
  background: var(--Verde50-CK, #268f5b) !important;
  color: white !important;
}

.woocommerce-table.woocommerce-table--order-details > tfoot:nth-child(3) {
  display: none !important;
}

.woocommerce-checkout .shop_table {
  background-color: transparent !important;
}
