.checkout-restyling-2025 {
  --accent: #AAA5FF;
  --accent-strong: #AAA5FF;
  --border: #AAA5FF;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.checkout-restyling-2025 h1, 
.checkout-restyling-2025 h2, 
.checkout-restyling-2025 h3 {
  color: var(--text);
  letter-spacing: .2px;
}

.checkout-restyling-2025 .entry-title,
.checkout-restyling-2025 .woocommerce-checkout h3,
.checkout-restyling-2025 #order_review_heading {
  font-weight: 800;
}

.checkout-restyling-2025 .woocommerce form .form-row input.input-text,
.checkout-restyling-2025 .woocommerce form .form-row textarea,
.checkout-restyling-2025 .select2-container--default .select2-selection--single,
body .select2-container--default .select2-selection--single {
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
}

.checkout-restyling-2025 .woocommerce form .form-row input.input-text:focus,
.checkout-restyling-2025 .woocommerce form .form-row textarea:focus,
.checkout-restyling-2025 .select2-container--default .select2-selection--single:focus,
.checkout-restyling-2025 .select2-container--default .select2-selection--single .select2-selection__rendered:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(155,140,255,.25);
}

.checkout-restyling-2025 label {
  color: var(--text);
  font-weight: 600;
}

.checkout-restyling-2025 a,
.checkout-restyling-2025 .woocommerce-info a {
  color: var(--accent-strong);
  text-decoration: none;
}

.checkout-restyling-2025 .woocommerce-info {
  border-top-color: var(--accent);
}

.checkout-restyling-2025 #order_review,
.checkout-restyling-2025 .woocommerce-checkout-review-order {
  border-radius: 14px;
}

.checkout-restyling-2025 .woocommerce-checkout-review-order-table th,
.checkout-restyling-2025 .woocommerce-checkout-review-order-table td {
  border-color: var(--border) !important;
}

.checkout-restyling-2025 .woocommerce form .form-row .input-checkbox:checked + label:before,
.checkout-restyling-2025 input[type=radio]:checked {
  accent-color: var(--accent);
}
.checkout-restyling-2025 .button,
.checkout-restyling-2025 button,
.checkout-restyling-2025 #place_order {
  background: var(--accent);
  border: none;
  color: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 800;
  transition: transform .06s ease, background .2s ease;
}
.checkout-restyling-2025 .button:hover,
.checkout-restyling-2025 #place_order:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}
.checkout-restyling-2025 .woocommerce-error,
.checkout-restyling-2025 .woocommerce-message,
.checkout-restyling-2025 .woocommerce-info {
  border-radius: 12px;
}

.checkout-restyling-2025 .woocommerce-terms-and-conditions-wrapper label {
  color: var(--text);
}
.woocommerce-billing-fields h3:before, 
h3#order_review_heading:before,
h3.metodo-pago:before, 
h3.envio-direccion:before{
    border: 0px !important;
}
.checkout-restyling-2025 #order_review .checkout_coupon {
  display: none !important;
}
.checkout-restyling-2025 #nutralie-coupon-wrap .checkout_coupon {
  display: flex !important;
}
.checkout-restyling-2025 #nutralie-coupon-wrap .form-row-first,
.checkout-restyling-2025 #nutralie-coupon-wrap .form-row-last {
  width: auto;
  float: none;
  margin: 0;
}
.checkout-restyling-2025 #nutralie-coupon-wrap .input-text {
  flex: 1;
  border: 2px solid var(--border);
  border-radius: 10px;
}
.checkout-restyling-2025 #nutralie-coupon-wrap .button {
  padding: 12px 18px;
  border-radius: 10px;
}
.checkout-restyling-2025 .accent {
  color: var(--accent);
  font-weight: 900;
}
.checkout-restyling-2025 .metodo-pago {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #000;
}
.checkout-restyling-2025 .metodo-pago .accent {
  color: #9B8CFF;
  font-weight: 900;
}
input#coupon_code{
  height: 100% !important;
}

/* === MODO BETA CHECKOUT === */
.checkout-restyling-2025 input[type="radio"],
.checkout-restyling-2025 input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #9B8CFF;
  border-radius: 2px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
  position: relative;
  background: #fff;
}

.checkout-restyling-2025 input[type="radio"]:checked,
.checkout-restyling-2025 input[type="checkbox"]:checked {
  background-color: #9B8CFF;
  box-shadow: inset 0 0 0 3px #fff;
}

.checkout-restyling-2025 input[type="radio"]:hover,
.checkout-restyling-2025 input[type="checkbox"]:hover {
  border-color: #7c6fe7;
}

.checkout-restyling-2025 label {
  cursor: pointer;
  font-size: 15px;
  color: #000;
}

.checkout-restyling-2025 label a {
  color: #9B8CFF;
  font-weight: 600;
  text-decoration: none;
}

.checkout-restyling-2025 label a:hover {
  text-decoration: underline;
}
label .mollie-gateway-icon{
    padding: 0px 11px !important;
}
.mkdf-woocommerce-page .woocommerce-checkout .woocommerce-checkout-payment ul li{
    border-bottom: 0px ;
}
body .nutralie-coupon-row{
    display: block !important
}
.woocommerce-shipping-fields .woocommerce-form__label-for-checkbox.checkbox {
    color: var(--accent) !important;
}
body.woocommerce-checkout .woocommerce-form-coupon-toggle{
    margin-top:0px !important;
}
.mkdf-woocommerce-page .woocommerce-checkout table tfoot th {
    font-size: 16px !important;
    font-weight: 800 !important;
}
body .woocommerce-message{
    border: 0px !important;
}
body.woocommerce-checkout .woocommerce-message{
  margin-top:0px !important
}
.mkdf-woocommerce-page .woocommerce-info .showcoupon{
  display: none !important;
}
.woocommerce-form-coupon-toggle .woocommerce-info{
  padding: 0px !important;
  border: 0px !important;
  margin: 0px 0 15px;
}
.cart_item {
    border: 0px !important;
}
.checkout-restyling-2025 #nutralie-coupon-wrap .button{
  background-color: #9B8CFF !important;
  border: 0px !important;
  border-radius: 0px !important;
  width: 100% !important;
}
.checkout-restyling-2025 #nutralie-coupon-wrap .input-text{
  border-radius: 0px !important;
}
#nutralie-coupon-wrap .form-row-first {
    width: 70% !important;
}
#nutralie-coupon-wrap .form-row-last {
    width: 30% !important;
}
.checkout-restyling-2025 .nutralie-checkout-title h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 16px;
  color: #bbb; 
}
.checkout-restyling-2025 .nutralie-checkout-title .accent {
  color: var(--accent);
  font-weight: 900;
}
.woocommerce-checkout-review-order-table tfoot td {
    text-align: end !important;
}


.woocommerce-checkout-review-order-table .nutralie-coupon-row { 
  display: table-row !important;
}
.woocommerce-checkout-review-order-table .nutralie-coupon-row td { 
  display: table-cell !important;
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
}

.woocommerce-checkout-review-order-table .nutralie-coupon-row td::before {
  content: none !important;
}
.woocommerce-checkout-review-order-table .nutralie-coupon-row td {
  padding-left: 0 !important;
}

/* El formulario que realmente ocupe el ancho */
#nutralie-coupon-wrap,
.woocommerce form.checkout_coupon,
.woocommerce .checkout_coupon {
  width: 100% !important;
  box-sizing: border-box;
}
.accent {
  color: var(--accent) !important; 
  font-weight: 600;
}
.aviso-canarias{
  color: var(--accent) !important;
}
.mkdf-title-holder{
      margin-bottom: 0px;
}
.mkdf-content .mkdf-content-inner>.mkdf-container>.mkdf-container-inner{
  padding-top: 40px !important;
}
.envio-direccion {
    display: none !important;
}
  form.checkout.woocommerce-checkout h3{
    margin: 22px 0 20px !important;
  }
.woocommerce-billing-fields__field-wrapper{
  padding-top: 6px !important;
}
.checkout-restyling-2025 .woocommerce-checkout-review-order-table {
  border-collapse: separate;
  width: 100%;
  margin-bottom: 80px !important;
}
.mkdf-woocommerce-page .woocommerce-checkout table td *{
  line-height: 30px !important;
}

.checkout-restyling-2025 .woocommerce-checkout-review-order-table thead th {
  border-bottom: 1px solid var(--border) !important;
  padding-top: 6px;
  padding-bottom: 8px;
}

.checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item {
  border-bottom: 1px solid #DDD2FF; 
}
.checkout-restyling-2025 input[type="radio"] {
    margin-right: 10px !important;
}
@media (max-width: 768px) {
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name {
    display: grid;
    grid-template-columns: 64px 1fr;      
    grid-template-areas:
      "thumb name"
      "thumb qty";
    gap: 6px 10px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name img {
    grid-area: thumb;
    width: 64px; height: 64px; object-fit: cover; border-radius: 8px;
    display: block;
  }

  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name > a,
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name > span,
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name .wc-item-meta ~ *:not(img):not(.product-quantity) {
    grid-area: name;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
  }

  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name .product-quantity {
    grid-area: qty;
    color: #6b6b6b;
    font-size: 13px;
    margin-top: 2px;
    display: inline-block;
  }

  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-total {
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
  }

  .checkout-restyling-2025 .woocommerce-checkout-review-order-table td::before {
    content: none !important;
  }
}

/* ===== Fila de cupón dentro del resumen ===== */

.checkout-restyling-2025 .woocommerce-checkout-review-order-table .nutralie-coupon-row {
  display: table-row !important;
}
.checkout-restyling-2025 .woocommerce-checkout-review-order-table .nutralie-coupon-row td {
  display: table-cell !important;
  padding: 10px 0 !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  #nutralie-coupon-wrap {
    width: 100% !important;
  }
  #nutralie-coupon-wrap .form-row-first,
  #nutralie-coupon-wrap .form-row-last {
    float: none !important;
    margin: 0 !important;
  }
  #nutralie-coupon-wrap .form-row-first { width: 70% !important; }
  #nutralie-coupon-wrap .form-row-last  { width: 30% !important; }

  #nutralie-coupon-wrap .input-text {
    height: 42px;
    border: 2px solid var(--border);
    border-radius: 10px !important;
  }
  #nutralie-coupon-wrap .button {
    height: 42px;
    border-radius: 10px !important;
    font-weight: 800;
    line-height: normal !important;
  }
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name{
    grid-template-columns: 88px 1fr; 
  }
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table .cart_item td.product-name img{
    width: 88px; height: 88px; object-fit: cover; 
  }
  .mkdf-woocommerce-page .woocommerce-checkout table th, 
  .mkdf-woocommerce-page .woocommerce-checkout table th * {
      font-size:15px !important;
  }
  .mkdf-woocommerce-page .woocommerce-checkout table tfoot th{
      font-size: 16px !important;
      padding-right: 10px !important;
  }
  #nutralie-coupon-wrap .form-row-last {
    width: auto !important;
  }
  .checkout-restyling-2025 #nutralie-coupon-wrap .button{
    padding: 8px 8px !important;
  }
  input#coupon_code{
    padding: 10px 10px !important;
  }
  form.checkout.woocommerce-checkout h3{
    font-size:17px !important;
    margin: 15px 0 15px !important;
  }
  .woocommerce-checkout table tr{
    display: flex;
    justify-content: space-between;
  }
  .mkdf-woocommerce-page .woocommerce-checkout table td *{
    line-height: normal !important;
  }
  .checkout-restyling-2025 label {
    font-size: 13px;
  }
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table tfoot th{
    border: 0px !important;
  }
  .cabecera-checkout > tr  + th{
    display: none !important;
  }
  .mkdf-woocommerce-page .woocommerce-checkout table tr{
    border-bottom: 2px solid #AAA5FF;
  }
  .checkout-restyling-2025 .woocommerce-checkout-review-order-table thead th{
    border-bottom: 0px !important;
  }
  .cabecera-checkout th:first-child{
    display: none !important;
  }
  .slider a.button{
    border: 0px !important;
  }
}

.checkout-restyling-2025 .woocommerce-checkout-review-order-table tfoot .order-total th,
.checkout-restyling-2025 .woocommerce-checkout-review-order-table tfoot .order-total td {
  font-weight: 800 !important;
}


