.mp-servicios-box {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
  max-width: 100%;
  clear: both;
}

.mp-servicios-service,
.mp-servicios-products {
  padding: 10px 12px;
  border: 1px solid #c8cdd3;
  border-radius: 6px;
  background: #fff;
}

.mp-servicios-products {
  margin-top: 10px;
}

.mp-servicios-kicker {
  margin: 0 0 8px;
  color: #e6007e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mp-servicios-box.is-on .mp-servicios-service {
  border-color: #1f6b3a;
}

.mp-servicios-card {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #f3c1dc;
  border-left: 3px solid #e6007e;
  border-radius: 6px;
  background: #fff;
}

.mp-servicios-card:last-child {
  margin-bottom: 0;
}

.mp-servicios-card.is-chosen {
  background: #fff5fa;
}

.mp-servicios-card .mp-servicios-canarias {
  margin-bottom: 0;
}

.mp-servicios-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mp-servicios-service .mp-servicios-row + .mp-servicios-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e6e9ed;
}

.mp-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.mp-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff5fa;
  color: #e6007e;
  border: 1px solid #e6007e;
  font-size: 13px;
  line-height: 1.3;
}

.mp-tag.is-carrier {
  background: #e6007e;
  color: #fff;
}

.mp-tag.is-off {
  background: #f4f4f4;
  color: #777;
  border-color: #ccc;
}

.mp-admin-note {
  margin: 8px 0 14px;
  padding: 10px 14px 10px 28px;
  border: 1px solid #f3c1dc;
  border-radius: 8px;
  background: #fff5fa;
  color: #363a41;
}

.mp-admin-note li {
  margin: 4px 0;
}

.mp-field-hint {
  margin: 2px 0 6px;
  color: #666;
  font-size: 12px;
}

.mp-admin-inline {
  display: inline-block;
  margin: 0 4px 6px 0;
}

.mp-tag-count {
  margin: 4px 0 8px;
  color: #363a41;
  font-weight: 700;
}

.mp-admin-num {
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-right: 6px;
  border-radius: 50%;
  background: #e6007e;
  color: #fff;
  font-size: 14px;
  line-height: 26px;
  text-align: center;
  vertical-align: middle;
}

.mp-admin-lead {
  max-width: 760px;
  color: #363a41;
}

.mp-admin-step {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #d5dbe3;
  border-radius: 6px;
  background: #fff;
}

.mp-admin-step h4 {
  margin: 0 0 8px;
  color: #e6007e;
  font-weight: 700;
}

.mp-admin-step.is-done {
  border-color: #b7dfc4;
  background: #f4fbf6;
}

.mp-ready {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  border: 1px solid #e0b4c8;
  background: #fff5fa;
}

.mp-ready strong {
  display: block;
  margin-bottom: 4px;
  color: #e6007e;
  font-size: 16px;
}

.mp-ready p {
  margin: 0;
}

.mp-ready.is-ready {
  border-color: #b7dfc4;
  background: #f4fbf6;
}

.mp-ready.is-ready strong {
  color: #1e7a3a;
}

.mp-ready.is-setup strong {
  color: #8a5a00;
}

.mp-admin-card,
.mp-admin-add {
  margin: 0 0 12px;
  padding: 14px;
  border-radius: 6px;
}

.mp-admin-card {
  border: 1px solid #e6e9ed;
  background: #fafbfc;
}

.mp-admin-add {
  border: 1px dashed #e6007e;
  background: #fff;
}

.mp-admin-add h4 {
  margin-top: 0;
}

.mp-admin-card-title {
  margin-bottom: 4px;
  color: #363a41;
  font-size: 18px;
  font-weight: 700;
}

.mp-role {
  margin: 0 0 4px;
  color: #e6007e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mp-calc-box {
  margin: 8px 0 12px;
  padding: 8px 12px;
  border: 1px solid #e6e9ed;
  border-radius: 6px;
  background: #fff;
}

.mp-calc-box summary {
  cursor: pointer;
  font-weight: 700;
}

.mp-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 8px;
  padding: 12px 14px;
  border: 1px solid #d5dbe3;
  border-radius: 8px;
  background: #fff;
}

.mp-choice.is-on {
  border-color: #1f6b3a;
  background: #f4fbf6;
}

.mp-choice-mark {
  width: 22px;
  height: 22px;
  border: 2px solid #b0b6be;
  border-radius: 4px;
  background: #fff;
  flex: 0 0 auto;
}

.mp-choice.is-on .mp-choice-mark {
  border-color: #1f6b3a;
  background: #1f6b3a;
  box-shadow: inset 0 0 0 3px #f4fbf6;
}

.mp-choice-body {
  flex: 1 1 auto;
}

.mp-choice-body strong {
  display: block;
}

.mp-admin-card[id],
.mp-catalog-item {
  scroll-margin-top: 72px;
}

.mp-catalog-item {
  margin: 0 0 8px;
}

.mp-catalog-item > summary {
  list-style: none;
  cursor: pointer;
}

.mp-catalog-item > summary::-webkit-details-marker {
  display: none;
}

.mp-catalog-item > summary.mp-choice {
  margin: 0;
}

.mp-choice-body span {
  display: block;
  color: #363a41;
}

.mp-edit-label {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 4px;
  background: #e6007e;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.mp-catalog-item > summary .mp-edit-label::before {
  content: "Editar";
}

.mp-catalog-item[open] > summary .mp-edit-label::before {
  content: "Cerrar";
}

.mp-catalog-item.is-create > summary .mp-edit-label::before {
  content: "Crear";
}

.mp-catalog-item.is-create[open] > summary .mp-edit-label::before {
  content: "Cerrar";
}

.mp-catalog-body {
  padding: 12px 14px 4px;
  border: 1px solid #d5dbe3;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

.mp-catalog-item[open] > summary.mp-choice {
  border-radius: 8px 8px 0 0;
}

.mp-admin-card .mp-servicios-state,
.mp-admin-add .mp-servicios-state {
  margin-left: 8px;
}

.mp-service-form {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #d5dbe3;
}

.mp-service-form h4 {
  margin-top: 0;
}

.mp-servicios-product {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #e6e9ed;
  border-radius: 6px;
  background: #fafbfc;
  text-align: left;
}

.mp-servicios-product > img,
.mp-part-image {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e6e9ed;
  border-radius: 4px;
}

.mp-servicios-product-name,
.mp-servicios-choice,
.mp-servicios-choice span,
.mp-servicios-kicker,
.mp-part-card-text {
  text-align: left;
}

.mp-servicios-product-name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  display: block;
  text-align: left !important;
}

.mp-servicios-reference,
.mp-servicios-extra-note {
  display: block;
  color: #5c6770;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.mp-servicios-extra-note {
  font-size: 11px;
}

.mp-servicios-qty {
  flex: 0 0 92px;
  width: 92px;
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.mp-servicios-qty .bootstrap-touchspin,
.mp-servicios-qty .mp-servicios-qty-input {
  width: 100%;
}

.mp-servicios-state {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.mp-servicios-state.is-active {
  color: #1f6b3a;
  background: #e5f6ea;
}

.mp-servicios-state.is-inactive,
.mp-servicios-part-row.is-inactive {
  color: #8a4b08;
}

.mp-servicios-state.is-inactive {
  background: #f8ead6;
}

.mp-part-search-line {
  display: flex;
  gap: 8px;
  align-items: center;
}

.mp-part-search-line .form-control {
  flex: 1 1 auto;
}

.mp-part-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #d5dbe3;
  border-radius: 4px;
}

.mp-part-card-text {
  flex: 1 1 auto;
}

.mp-part-qty-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.mp-admin-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
}

.mp-admin-toggle form {
  margin: 0;
}

.mp-admin-anchor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.mp-admin-anchor .form-control {
  width: auto;
  min-width: 280px;
  flex: 1 1 280px;
}

.mp-admin-qty,
.mp-admin-stock {
  margin: 6px 0 0;
  font-weight: 700;
}

.mp-qty-control {
  display: inline-flex;
  align-items: center;
}

.mp-qty-control .form-control {
  width: 48px;
  text-align: center;
}

.mp-part-qty-form input[type="number"] {
  width: 72px;
}

.mp-servicios-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  flex: 1 1 auto;
  min-width: 0;
}

.mp-servicios-amount {
  margin-left: auto;
  color: #e6007e;
  font-weight: 700;
  white-space: nowrap;
}

.mp-servicios-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  text-align: right;
}

.mp-servicios-prices .mp-servicios-amount {
  margin-left: 0;
}

.product-prices .product-discount,
.product-prices .product-discount .regular-price,
.product-line-grid .product-discount,
.product-line-grid .product-discount .regular-price {
  color: #777777;
}

.mp-servicios-regular {
  color: #8a93a0;
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
  white-space: nowrap;
}

.mp-servicios-discount {
  color: #e6007e;
  font-size: 12px;
  font-weight: 700;
}

.mp-part-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.mp-part-final {
  font-weight: 700;
}

.mp-servicios-product > input[type="checkbox"],
.mp-servicios-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 auto;
}

.mp-servicios-row.is-verify .mp-servicios-check {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mp-servicios-row.is-verify .mp-servicios-calc-open {
  margin-left: auto;
}

.mp-servicios-canarias {
  margin: 4px 0 0;
  color: #5c6770;
  font-size: 12px;
}

.mp-servicios-calc-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.mp-servicios-calc-line p {
  flex: 1 1 auto;
  margin: 0;
  color: #243040;
  font-size: 14px;
}

.mp-servicios-help.mp-servicios-calc-open {
  width: auto;
  height: auto;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: #e6007e;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.mp-servicios-help.mp-servicios-calc-open:hover {
  background: #c4006b;
  color: #fff;
}

.mp-servicios-help {
  width: 28px;
  height: 28px;
  border: 1px solid #8d97a3;
  border-radius: 50%;
  background: #fff;
  color: #243040;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

.mp-calc-trap {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
}

.mp-calc.is-locked > *:not(.mp-calc-message) {
  filter: blur(2px);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
}

.mp-calc.is-locked .mp-calc-message {
  position: relative;
  z-index: 2;
  filter: none;
  opacity: 1;
  pointer-events: auto;
}

.mp-servicios-dialog-panel.is-sent .mp-calc > *:not(.mp-calc-message),
.mp-servicios-dialog-panel.is-sent > .mp-servicios-description,
.mp-servicios-dialog-panel.is-sent > .mp-servicios-shipping {
  display: none;
}

.mp-calc label {
  display: block;
  margin: 12px 0 0;
  color: #243040;
  font-size: 13px;
  font-weight: 700;
}

.mp-calc select,
.mp-calc input[type="text"],
.mp-calc input[type="email"],
.mp-calc input[type="tel"],
.mp-calc textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #d5dbe3;
  border-radius: 4px;
  background: #fff;
  color: #243040;
  font-size: 16px;
  font-weight: 500;
}

.mp-calc-destination {
  margin: 8px 0 0;
  color: #243040;
  font-weight: 700;
}

.mp-calc-result {
  margin-top: 14px;
  padding: 12px;
  border-radius: 6px;
  background: #fff5fa;
}

.mp-calc-break {
  margin: 0;
  color: #243040;
  font-size: 14px;
}

.mp-calc-total {
  margin: 6px 0 0;
  color: #e6007e;
  font-size: 22px;
  font-weight: 700;
}

.mp-calc-message.is-sent {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid #e6007e;
  border-radius: 6px;
  background: #fff5fa;
}

.mp-calc-message.is-sent strong,
.mp-calc-message.is-sent span {
  display: block;
}

.mp-calc-message.is-sent strong {
  color: #e6007e;
}

.mp-calc-message.is-sent span {
  margin-top: 4px;
}

.mp-calc-contact {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid #e6e9ed;
  text-align: left;
}

.mp-calc-identity {
  text-align: left;
}

.mp-calc-contact p {
  margin: 0;
  font-weight: 700;
}

.mp-calc-actions {
  margin-top: 14px;
  text-align: center;
}

.mp-calc-apply,
.mp-calc-ask {
  display: inline-block;
  margin-top: 0;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.mp-calc-apply {
  border: 0;
  background: #e6007e;
  color: #fff;
}

.mp-calc-ask {
  margin-left: 0;
  border: 1px solid #e6007e;
  background: #fff;
  color: #e6007e;
}

.mp-servicios-dialog[hidden] {
  display: none !important;
}

.mp-servicios-dialog {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 24, 28, 0.45);
}

.mp-servicios-dialog-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 22px 18px 16px;
  border-radius: 6px;
  background: #fff;
}

.mp-servicios-dialog-title,
.mp-servicios-description,
.mp-servicios-shipping,
.mp-servicios-pending,
.mp-servicios-status,
.mp-servicios-error {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.mp-servicios-dialog-title {
  margin-right: 28px;
  font-size: 1.15rem;
}

.mp-servicios-supplement {
  font-weight: 700;
  color: #e6007e;
}

.mp-servicios-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.mp-servicios-shipping,
.mp-servicios-description {
  color: #3d4752;
}

.mp-servicios-pending {
  color: #8a4b08;
}

.mp-servicios-status {
  margin-top: 8px;
  color: #1f6b3a;
}

.mp-servicios-error {
  margin-top: 8px;
  color: #9b1c1c;
}

[id^="cart-subtotal-mp_servicio"] > span.label::before {
  content: "SERVICIO";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 12px 2px 8px;
  background: #e6007e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  vertical-align: middle;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}

[id^="cart-subtotal-mp_servicio"] > span.value {
  color: #e6007e;
  font-weight: 700;
}

#blockcart-modal .cart-content p:has(.mp-servicios-modal-mark) > span.label {
  font-size: 0;
}

#blockcart-modal .cart-content p:has(.mp-servicios-modal-mark) > span.label::before {
  content: "SERVICIO";
  display: inline-block;
  margin-right: 8px;
  padding: 2px 12px 2px 8px;
  background: #e6007e;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  vertical-align: middle;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%);
}

#blockcart-modal .cart-content p:has(.mp-servicios-modal-mark) > span.value {
  color: #e6007e;
  font-weight: 700;
}

body#checkout #modal .modal-content {
  background: #fff;
  color: #222;
}

body#checkout #modal .close {
  color: #222;
  opacity: 1;
  text-shadow: none;
}

body#checkout #modal .js-modal-content,
body#checkout #modal .js-modal-content * {
  color: #222;
  background: transparent;
}

body#checkout #modal .js-modal-content a {
  color: #e6007e;
}

@media (max-width: 576px) {
  .mp-servicios-box {
    padding: 10px;
  }

  .mp-servicios-choice {
    font-size: 1rem;
  }
}
