@font-face {
    font-family: 'Covered By Your Grace';
    src: url('/mmedia/ttf/CoveredByYourGrace.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MarineUP Black';
    src: url('/mmedia/ttf/MarineUP-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Marine Black Italic';
    src: url('/mmedia/ttf/Marine-Black-Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Alegreya Sans';
    src: url('/mmedia/ttf/AlegreyaSansSC-Black.ttf.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alegreya Sans SC';
    src: url('/mmedia/ttf/AlegreyaSansSC-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bauhaus 93';
    src: url('/mmedia/ttf/Bauhaus93.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


#tres_super_discounts{
    background-color: #41bede;
    color: #fff;
    margin: 0 1px 0 4px;
}

.popup_background {
    display: none;
    position: fixed;
    z-index: 99 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: visible;
    background: rgba(0, 0, 0, 0.15);
}

.thumb {
    height: 9vw;
    width: 9vw;
}

.popup_content {
    overflow-y: auto;
    overflow-x: hidden;
    height: 80%;
    width: 95%;
    background: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

@media (min-width: 990px) {
    #content_complementaris {
        min-width: 720px;
        min-height: 600px;
    }
}

/*@media (max-width: 1500px) {
    #content_complementaris {
        width: 60%;
    }
}*/

.popup_txt {
    font-weight: bold;
}

.close {
    position: absolute;
    right: 0;
    top: 0;
}

#complementaris_creu_close {
   cursor: pointer; 
   display: inline-block;
   content: "\00d7";
   font-size: 34px;
   color: #d3d3d3;
   right: 20px;
   font-family: 'Source Sans Pro',sans-serif;
}

.div_tancar_popup_twinnies {
    display: flex;
    justify-content: end;
    width: 100%;
}

#tancar_popup_twinies {
    display: flex;
    justify-content: end;
    width: 100%;
    margin: 8px 10px;
}

#tancar_popup_twinies:before{
    text-align: center;
    content: "\00d7";
    font-size: 40px;
    color: #d3d3d3;
    width: 30px;
    line-height: 30px;
    top: 10px;
    z-index: 1;
}

#tancar_popup_twinies:hover:before,
#tancar_popup_twinies:focus:before {
    color: #666;
    text-decoration: none;
    cursor: pointer;
}

#imagen_boton {
    width: 16px;
}

#pack_added {
    display: flex;
    margin-top: 20px;
    font-size: 20px;
    color: #73b25a;
    text-align: center;
    justify-content: center;
}

#add_top_sales_msg {
    display: flex;
}

.left_icon,
.rigth_icon {
    width: 20px;
}

.lock_icon {
    width: 25px;
    margin: 0 5px 0 0;
}

.rigth_icon {
    margin-left: 5px;
}

.left_icon {
    margin-right: 5px;
}

#add_top_sales {
    display: flex;
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    justify-content: center;
}

#complementos legend {
    display: none;
}

.add_cesta {
    background-color: #ea8027;
    border: 0px;
    text-shadow: none;
    border-radius: 25px;
    cursor: pointer;
    height: 35px;
    padding-bottom: 5px;
    font-weight: 400;
    width: 200px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    -webkit-appearance: none;
    transition: opacity 0.5s;
}

.popup_show_cesta {
    background-color: #fff;
    border: 1px solid #ea8027;
    text-shadow: none;
    border-radius: 25px;
    cursor: pointer;
    height: 35px;
    padding-bottom: 5px;
    font-weight: 400;
    width: 200px;
    color: #ea8027;
    font-size: 18px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    text-decoration: none;
    -webkit-appearance: none;
    transition: background-color 0.5s;
}

.popup_show_cesta:hover {
    color: #fff;
    background-color: #ea8027;
}

.add_cesta:hover {
    color: #fff;
    opacity: 0.7;
}


#div_buttons_complementaris {
    width: 99%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.buttons_complementaris {
    width: 275px;
    height: 44px;
    font-size: 22px;
    font-weight: 600;
}

.show_cesta {
    width: 273px;
    height: 42px;
}

#precio_total {
    margin-left: 3px;
}

#complementos .fons_no_permes {
    display: none;
}

#complementos .label_afegir_prod .check {
    margin-left: 0;
}

#complementos #galeria_productes_complementaris {
    overflow-x: hidden;
    /*margin-top: 30px;*/
}
 
#complementos #winw_popup.modal #galeria_productes_complementaris {
    text-align: left;
}

#complementos #galeria_productes_complementaris .previsualitzacio_complementaris, #galeria_productes_complementaris .complementaris_generics {
     max-width: 140px;
}

#complementos .titol_completalo_con{
    font-size: 19px;
    color: #666;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.complementaris_borles {
    overflow-y: auto !important;
}

#complementos {
    /*margin-top: 8px;*/
}

#complementos #productes_complementaris::-webkit-scrollbar, #productes_complementaris-2::-webkit-scrollbar {
    width: 27px;
    background-color: rgba(255,255,255,0);
}

#complementos #productes_complementaris::-webkit-scrollbar-thumb, #productes_complementaris-2::-webkit-scrollbar-thumb {
    background-color: #666;
    height: 155px;
    border: 10px solid rgba(255,255,255,0);
}
#complementos #productes_complementaris::-webkit-scrollbar-track, #productes_complementaris-2::-webkit-scrollbar-track {
    background-color: #ccc;
    border: 10px solid rgba(255,255,255,0);
}
#complementos #productes_complementaris::-webkit-scrollbar-track, #productes_complementaris::-webkit-scrollbar-thumb, #productes_complementaris-2::-webkit-scrollbar-track, #productes_complementaris-2::-webkit-scrollbar-thumb {

    border-radius: 50px;
    background-clip: padding-box;
}

#complementos .unitats_productes_complementaris{
    position: absolute;
    right: 297px;
    text-align: right;
}


/*Scrollbar*/
#complementos #productes_complementaris::-webkit-scrollbar {
    width: 27px;
    background-color: rgba(255,255,255,0);
}
#complementos #productes_complementaris::-webkit-scrollbar-thumb {
    background-color: #333;
}
#complementos #productes_complementaris::-webkit-scrollbar-track {
    background-color: #ccc;
}

#complementos #productes_complementaris::-webkit-scrollbar-track, #productes_complementaris::-webkit-scrollbar-thumb {
    border: 10px solid rgba(255,255,255,0);
    border-radius: 50px;
    background-clip: padding-box;
}
/*Fi scrollbar*/

#complementos .taxat_complementaris{
    display: flex;
    align-items: center;
    font-size: 17px;
    color: #666;
}
#complementos .taxat_complementaris .qm {
    text-decoration: line-through;
}
#complementos .top_sales_complemetari{
    background-color: #ef4971;
    color: #fff;
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 11px;
}

#complementos .frase_especial_free{
    text-align: left;
    font-size: 21px;
    color: #C01818 !important;
}
#complementos .frase_especial{
    text-align: left;
    font-size: 15px;
    color: #666;
    min-height: 15px;
}

#complementos .check_added{
    display: none;
}
#complementos .check_no_added{
    
}

#complementos #popup_ver_producto #popup_html > img{
    pointer-events: none;
}

.cta_producte{
    border: 1px solid #8d8d8d;
    border-radius: 30px;
    margin: 15px 0;
    font-size: 19px;
    color: #666;
    padding: 10px 30px;
    box-shadow: 0px 0px 8px 1px #b9b3b3;    
    display: flex;
    align-items: center;
    justify-content: center;
}
.text_cta_producte{
    
}
.text_cta_producte.added{
    display: none;
}
.prod_complementari.label_afegir_prod_selected .text_cta_producte.added{
    display: flex;
}
.text_cta_producte.add{
    display: flex;
}
.prod_complementari.label_afegir_prod_selected .text_cta_producte.add{
    display: none;
}

.popup_buttons {
    margin: 25px 0 25px 0;
}

.btn-disabled {
    background-color: #cdcccc;
    cursor: default;
}

.btn-disabled:hover {
    color: #fff;
}

.popup_content_inner{
        width: 100%;
}

@media (max-width: 990px) {
    
    .popup_content {
        width: 100%;
        height: 100%;
        top: 50%;
        padding: 0px;
        overflow-y: hidden;
    }
    
    .popup_buttons {
	padding-top: 15px;
	margin: 0px 0 15px 0;
    }
    
    #div_buttons_complementaris {
        flex-direction: column;
        align-items: center;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
	background: #fff;
	background-color: #fff;
        box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
        margin-top: auto;
    }
    
    .buttons_complementaris {
        width: 90%;
        margin-bottom: 15px;
    }
    
    #pack_added {
        margin-top: 30px;
        align-items: center;
    }

    #complementos .frase_especial{
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 1rem;
        font-size: 0.95rem;
    }
    
    #complementos .unitats_productes_complementaris{
        right: 140px;
    }
    
    #complementos .top_sales_complemetari{
        z-index: 1;
        font-size: 9px;
    }
    #complementos .taxat_complementaris .moneda{
        margin-left: 2px;
    }
    #complementos .selector_preus_complementaris .quantity-buttons{
        display: none !important;
    }
    #complementos .selector_preus_complementaris .valor_unitats{
        border:0;
    }
    #complementos .check {
        left: 0px;
        margin-right: 3px;
        margin-left: 5px !important;
        width: 20px;
        /*box-sizing: border-box;*/
    }
    
    #complementos #popup_ver_producto #popup_html > img{
        max-width: 100vw;
        max-height: 35vw;
        width: 100vw;
    }
    
    #tancar_popup_twinies:before {
        margin: 13px 20px 0 0;
        background-color: white;
        border-radius: 100%;
        opacity: 80%;
    }
    
    #tancar_popup_twinies:hover:before {
        margin: 13px 20px 0 0; 
    }
    
    .box-shadow{
        width: 100%;
        box-shadow: 0px -5px 5px -5px #333;
    }
    
    .popup_content_inner{
        overflow: auto;
        padding: 10px;
        box-sizing: border-box;
        height: 100%;
    }
    
    #avatarPicker, .avatarPicker__step.is-active {
        height: 100%;
    }
    
    .avatarPicker {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .avatarPicker__panels {
        flex-grow: 1;
    }
    
    .avatarTextPanel__done {
        
    }
    
    .compositionText__editable {
        font-size: 24px;
    }
    
    #add_top_sales {
        justify-content: center;
    }
}

@media (min-width: 991px) {
    
    #first_span_top_sales {
        margin-left: 5px;
    }
}

@media (max-height: 640px) {
    #pack_added {
        margin-top: 0px;
    }
}


.avatarPicker {
  position: relative;
  background: #fff;
/*  border: 1px solid #cfcfcf;*/
  border-radius: 8px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.avatarPicker__close{
  position:absolute;
  top:13px;
  right:25px;
  border:0;
  background:transparent;
  font-size:46px;
  cursor:pointer;
  z-index: 99;
}

.avatarPicker__top{
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 44px 0px 10px; /* deja hueco para la X */
}

.avatarPicker__tabs{
  display:flex;
  gap:8px;
}

.avatarPicker__tab{
  border:1px solid #bdbdbd;
  background:#eaeaea;
  border-bottom:0;
  padding:8px 16px;
  border-top-left-radius:10px;
  border-top-right-radius:10px;
  cursor:pointer;
  font-weight:600;
  color:#444;
}

.avatarPicker__tab.is-active{
  background:#fff;
  color:#f08a00; /* naranja similar */
  border-color:#bdbdbd;
}

.avatarPicker__filters{
  flex:1;
  display:flex;
  justify-content:flex-end;
  gap:8px;
  overflow-x:auto;
  padding-bottom:2px;
}

.avatarPicker__filter{
  border:1px solid #cfcfcf;
  background:#fff;
  padding:6px 12px;
  border-radius:999px;
  cursor:pointer;
  white-space:nowrap;
  font-size:13px;
}

.avatarPicker__filter.is-active{
  background:#f3f3f3;
  border-color:#bdbdbd;
  font-weight:600;
}

.avatarPicker__hint{
  text-align:center;
  color:#666;
  padding:10px 10px 6px 10px;
  border-top:1px solid #e5e5e5;
}

.avatarPicker__panel{
  display:none;
  padding:16px 18px 22px 18px;
}

.avatarPicker__panel.is-active{
  display:block;
}

.avatarGrid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap:22px;
}

.avatarTile{
/*  background:#f2f2f2;*/
  border:1px solid #ededed;
  border-radius:6px;
  height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.avatarTile__btn{
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}

.avatarTile__svg{
  width:88px;
  height:88px;
}

.avatarTile.is-selected{
  outline:2px solid #f08a00;
  background:#fff7ea;
}

.avatarTextPanel{
  padding: 18px 18px 30px 18px;
  min-height: 520px;
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.avatarTextPanel__hint{
  text-align:center;
  color:#666;
  margin: 18px 0 18px 0;
}

.avatarTextPanel__input,
.avatarTextPanel__select{
  width: 100%;
  height: 46px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 0 14px;
  font-size: 14px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.avatarTextPanel__done{
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  border: 0;
  background: #f08a00;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 38px;
  cursor: pointer;
}

/* pasos */
.avatarPicker__step { display:none; }
.avatarPicker__step.is-active { display:block; }

.bodyTypeBar{
  display:flex;
  width:100%;
  gap:0;
  padding:18px 18px 10px 18px;
  overflow: hidden;                 /* ya no scroll horizontal */
  justify-content: space-between;
}

.bodyTypeBtn{
  flex:1;
  min-width:0;
  border:0;
  background:transparent;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  padding:0 6px;
  position:relative;
}

.bodyTypeBtn:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:8px;
  width:2px;
  height:86px;
  background:#e5e5e5;
}

.bodyTypeIcon{
  width: 86px;              
  height: 86px;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow: visible;         
}


.bodyTypeIcon::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width: 74px;              
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:#f3e7dd;
  transition: transform .15s ease;
}

.bodyTypeBtn:hover .bodyTypeIcon::before{
  transform: translate(-50%, -50%) scale(1.07);
}

.bodyTypeSilhouette{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -56%); 
  width: 112px;            
  height: 112px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  opacity:.75;
  z-index: 1;
}

.bodyTypePlus{
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  z-index: 2;
}

.bodyTypeLabel{
  font-size:14px;
  color:#666;
  text-align:center;
  white-space:nowrap;
}

.bodyTypeBtn.is-active .bodyTypeIcon::before{
  outline:2px solid #f08a00;
  background:#fff7ea;
}

.createdAvatars{
  padding: 6px 18px 0 18px;
  border-top: 1px solid #eee;
  min-height: 280px;
}

.createdAvatars__empty{
  color:#777;
  font-size:14px;
  padding: 10px 0 4px 0;
}

.createdAvatars__row{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap: 18px;
}

.createdAvatars__list{
  --created-avatar-gap: 18px;
  --created-avatar-max-width: 140px;

  display:flex;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:nowrap;
  gap:var(--created-avatar-gap);

  list-style:none;
  padding:0;
  margin:14px 0 0 0;
}

.createdAvatar{
  position:relative;
  --av-scale:1;

  flex:1 1 0;
  min-width:0;
  max-width:var(--created-avatar-max-width);
}

.createdAvatar__btn{
  width:100%;
}

.avatarToolsV[hidden]{ display:none !important; }

.avatarToolsV{
  width: 150px;
  background: #3f3f3f;
  border-radius: 14px;
  padding: 10px 0px;
  color: #fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
  /*box-shadow: 0 10px 28px rgba(0,0,0,.25);*/
  position: fixed;
  right: 32px;
  top: 175px;
  z-index: 9999;
}

.avatarToolsV__title{
  font-size: 16px;
  font-weight: 700;
}

.avatarToolsV__thumb{
  width: 74px;
  height: 106px;
  background:#fff;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.avatarToolsV__thumbSvg{
  width: 60px;
  height: 92px;
}

.avatarToolsV__section{
  width: 100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
}

.avatarToolsV__label{
  font-size: 15px;
  font-weight: 600;
}

.avatarToolsV__row{
  display:flex;
  gap: 10px;
}

.avatarToolsV__btn{
  width: 50px;
  height: 50px;
  /*border: 2px solid rgba(255,255,255,.8);*/
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
}

.avatarToolsV__btn--circle{
  border-radius: 999px;
  width: 44px;
  height: 44px;
}

.avatarToolsV__btn--square{
  width: 44px;
  height: 44px;
  border-radius: 6px;
}

.avatarToolsV__icon{
  width: 42px;
  height: 42px;
  display:block;
  filter: brightness(0) invert(1); /* icono blanco */
}

.avatarToolsV__arrow--left{ transform: rotate(180deg); }
.avatarToolsV__arrow--right{ transform: rotate(0deg); }

.avatarToolsV__scale--up{ transform: rotate(0deg); }
.avatarToolsV__scale--down{ transform: rotate(180deg); }

.createdAvatar{
  position:relative;
  --av-scale: 1;
}

.createdAvatar__btn{
  border:0;
  background:transparent;
  cursor:pointer;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
/*  line-height: 0;*/
}

.createdAvatar__svgBox{
  width: auto; 
  height: 200px;
  display:flex;
  align-items:flex-end; 
  justify-content:center;
}

.createdAvatar__svg{
  height:200px;
  width:auto;
  display: block;
  transform: scale(var(--av-scale, 1));
  transform-origin: center bottom;
}
.createdAvatar__label{
  font-size:12px;
  color:#666;
}

.createdAvatar__labelBtn{
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:13px;
  margin-top: 15px;
  text-align: center;
  line-height: 95%;
}

.createdAvatar__labelBtn.is-placeholder{
  color:#b9b9b9;
  font-weight:700;
}

.createdAvatar__labelBtn.is-text{
  color:#333;
  font-weight:800;
}

.createdAvatar__labelBtn:focus{
  outline: none;
}

.createdAvatar__labelBtn.is-placeholder{
  text-decoration: none;
}

/*.createdAvatar__svg use { pointer-events: all; }*/

/*.createdAvatar.is-selected{
  outline: 2px solid #f08a00;
  background: #fff7ea;
}*/

.createdAvatar.is-selected .createdAvatar__svg{
  outline: 2px solid #f08a00;
  outline-offset: 6px;
  border-radius: 6px;
}

.createdAvatar__delete{
  position:absolute;
  top:-14px;
  right:-14px;
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  cursor:pointer;

  display:none;

  background:#fff;
  box-shadow:0 6px 16px rgba(0,0,0,.18);

  align-items:center;
  justify-content:center;

  color:#8d8d8d;
  font-size:18px;
  padding:0;
}

.createdAvatar.is-selected .createdAvatar__delete{
  display:flex;
}

.createdAvatar__delete:hover{
  transform: scale(1.03);
}

.createdAvatar__delete:active{
  transform: scale(0.98);
}

.bodyTypeBtn[data-bodytype="woman"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/adult-female.svg");
}
.bodyTypeBtn[data-bodytype="man"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/adult-male.svg");
}
.bodyTypeBtn[data-bodytype="teen_female"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/teen-female.svg");
}
.bodyTypeBtn[data-bodytype="teen_male"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/teen-male.svg");
}
.bodyTypeBtn[data-bodytype="girl"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/child-female.svg");
}
.bodyTypeBtn[data-bodytype="boy"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/child-male.svg");
}
.bodyTypeBtn[data-bodytype="baby"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/baby.svg");
}
.bodyTypeBtn[data-bodytype="pet"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/pet.svg");
}
.bodyTypeBtn[data-bodytype="symbol"] .bodyTypeSilhouette{
  background-image:url("/img/op_wizard/shades/symbol.svg"); 
}

.compositionText{
  margin-top: 26px;
  padding-bottom: 18px;
  text-align:center;
}

.compositionText__line{
  display:flex;
  align-items:center;
  justify-content:center;
  max-width: 980px;
  margin: 0 auto 18px auto;
}

.compositionText__clear{
  cursor:pointer;
  color:#f08a00;
  font-size:46px;
  line-height:1;
  padding: 0;
  margin-right:10px;
}

.compositionText__editable{
  display:inline-block; 
  width:fit-content;
  max-width: 860px;
  overflow: hidden;
  text-overflow: ellipsis;
  
  font-size: 34px;
  font-weight: 800;
  color:#333;
  outline: none;
  cursor: text;
  line-height: 1.15;
  min-height: 44px;
}

.compositionText__editable:empty::before{
  content: "Escribe texto (máx. 30 caracteres).\A Puedes pedir más en la Cesta.";
  white-space: pre-line;
  color:#c9c9c9;
}

.compositionText__hint{
  font-size: 34px;
  font-weight: 800;
  color:#c9c9c9;
  line-height: 1.15;
  margin: 0 0 14px 0;
}

.compositionText__input{
  width: 100%;
  max-width: 860px;
  height: 46px;
  border: 0;
  border-bottom: 1px solid #d9d9d9;
  outline: none;
  font-size: 18px;
  text-align:center;
  margin: 0 auto 18px auto;
  display:block;
}

.compositionText__row{
  display:flex;
  justify-content:center;
}

.compositionText__label{
  font-size: 14px;
  color:#333;
  margin-bottom: 6px;
}

.compositionText__select{
  width: 420px;
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 16px;
}

.compositionText__emojiBtn{
  width: 56px;
  height: 56px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background:#fff;
  cursor:pointer;
  font-size: 26px;
  line-height: 56px;
}

@media (max-width: 990px) {
  .bodyTypeBar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 8px;
    padding: 18px 0px 8px 0px;
    overflow: visible;
    justify-content: initial;
    align-items: start;
  }

  .bodyTypeBtn {
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    gap: 6px;
    justify-content: flex-start;
  }

  .bodyTypeBtn:not(:last-child)::after {
    display: none;
  }

  .bodyTypeIcon {
    width: 64px;
    height: 64px;
    margin: 0 auto;
  }

  .bodyTypeIcon::before {
    width: 56px;
    height: 56px;
  }

  .bodyTypeSilhouette {
    width: 82px;
    height: 82px;
    transform: translate(-50%, -54%);
  }

  .bodyTypePlus {
    font-size: 18px;
  }

  .bodyTypeLabel {
    font-size: 12px;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
    min-height: 30px;
    display: block;
    padding: 0 2px;
  }
  
  .createdAvatars {
    padding: 6px 6px 0 6px;
  }
  
  .createdAvatars__row {
    flex-direction: column;
  }
  
  .avatarToolsV {
    position: static;
    flex-direction: row;
    width: 100%;
  }
  
  .compositionText__col {
      width: 100%;
  }
  
  .compositionText__select {
      width: 100%;
  }
  
  .createdAvatar__svgBox {
      height: auto;
  }
  
  .createdAvatar__svg {
      width: 100%;
      height: auto;
  }
  .avatarPicker__close{
    top:-14px;
    right:10px;
    font-size:46px;
  }
  
  .avatarPicker__top{
    flex-direction: column;
  }
  
  .avatarPicker__filters {
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 5px;
    margin-bottom: 5px;
  }

  
}

@media (max-width: 420px) {
  .bodyTypeBar {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px 8px;
    padding: 16px 0 0 0;
  }

  .bodyTypeIcon {
    width: 60px;
    height: 60px;
  }

  .bodyTypeIcon::before {
    width: 52px;
    height: 52px;
  }

  .bodyTypeSilhouette {
    width: 76px;
    height: 76px;
  }

  .bodyTypeLabel {
    font-size: 11px;
    min-height: 28px;
  }
}