#content-desktop {display: block;}
#content-mobile {display: none;}

@media screen and (max-width: 768px) {

#content-desktop {display: none;}
#content-mobile {display: block;}

}

/* CONTENEDOR GENERAL DEL CAMPO */
.LiveField {
  margin-bottom: 13px;
  background-color: transparent;
  border-radius: 8px;
  -webkit-appearance: none;
  display: block;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: inherit;
  width: 100%;
  border: 1px solid #dedede !important;
  outline: 0;
  padding: 0;
  box-shadow: none !important;
}

/* CAMPO ENFOCADO */
.LiveField:focus-within {
  border: 2px solid #006FFF !important;
  box-shadow: none !important;
}

/* Elimina cualquier subrayado residual */
.LiveField__input,
textarea.LiveField__input {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Elimina líneas agregadas por Paperform internamente */
.LiveField__underline {
  display: none !important;
  height: 0 !important;
}

/* Previene pseudoelementos ocultos de subrayado */
.LiveField__container::before,
.LiveField__container::after,
.LiveField__input::before,
.LiveField__input::after {
  display: none !important;
  content: none !important;
}


/* INPUT TEXTAREA LIMPIO */
textarea.LiveField__input {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transition: none !important;
}

/* BOTÓN */
.__checkout_btn_ref {
  border-radius: 8px !important;
}
.submit .btn-raised.btn-primary {
  font-weight: 600 !important;
}
.btn-raised {
  box-shadow: 0 0px 0px 0px #ffffff;
}

/* ERROR */
.LiveField__error {
  background-color: #a6fff7;
  color: #434343;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

/* INPUT TEXT */
.LiveField__input {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  background-color: transparent;
  border: none;
  outline: none;
  width: 100%;
}

/* HEADER FLOTANTE */
.LiveField__header .DraftEditor-root {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 11px !important;
  color: #707070 !important;
}

/* CONTENEDOR INTERIOR */
.LiveField .LiveField__container {
  padding-top: 7px;
  padding-bottom: 10px;
  padding-left: 12px;
  padding-right: 8px;
  line-height: 1.4;
  box-sizing: border-box;
  transition: padding 0.0s ease;
}

/* CONTENEDOR CON CONTENIDO */
.LiveField__container.activo {
  padding-top: 6px;
  padding-bottom: 4px;
}

/* RESPUESTA */
.LiveField__answer {
  padding-left: 1px !important;
  line-height: 18px;
  margin-top: -12px;
  margin-bottom: 5px;
  transition: margin-top 0.0s ease;
}
.LiveField__answer.activo {
  margin-top: -3px;
  margin-bottom: 3px;
  padding-bottom: 0px;
}

/* INPUT DE UNA LÍNEA */
textarea.LiveField__input[rows="1"] {
  padding: 0px 0px !important;
  border-bottom: 0 !important;
}
.LiveField__input:focus {
  border-bottom: 0 !important;
}


/*TOTAL*/


/*CARRITO v2*/

.carrito-linea {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.carrito-linea.total {
  margin-top: 16px;
  font-weight: 600;
}

.col-izq {
  font-family: 'Inter', sans-serif !important;
  color: #222222;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  font-size: 18px;
  font-weight: 500;
}

.col-der {
  font-family: 'Inter', sans-serif !important;
  color: #222222;
  white-space: nowrap;
  text-align: right;
  font-weight: 500;
  font-size: 18px;
  flex-shrink: 0;
}

.carrito-linea img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
}

.descripcion {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px;
  line-height: 1.4;
}

.moneda {
  font-family: 'Inter', sans-serif !important;
  font-size: 11px;
  color: #666;
  text-decoration: none;
}

.precio-actual {
  font-family: 'Inter', sans-serif !important;
  font-weight: 500;
  font-size: 14px;
}

.precio-antiguo {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  text-decoration: line-through;
  margin-top: -15px;
}

.precio-con-etiqueta {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.etiqueta-descuento {
  background-color: #d13123;
  color: #fff;
  font-size: 10px;
  padding: 3px 2px;
  border-radius: 3px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
}
.totalisimo {
  padding-top: 20px;
}


.editor.editor--live {
    padding-top: 0px;
    padding-bottom: 0px;
}

.btn-raised:hover, btn-raised:focus { 
    box-shadow: 0px 0px 0px #ffffff;
}

form[data-testid="livefieldsection"]:has([data-key="4kpf6"]) {
  padding-bottom: 0 !important;
}

div[data-key="4kpf6"] {
  margin-bottom: 0 !important;
}

form[data-testid="livefieldsection"]:has([data-key="4kpf6"]) {
  padding-top: 0 !important;
}
