
.esacw-widget-wrap{
  width:100%;
  position:relative;
  background:transparent;
  padding:0;
  margin:0;
}

.esacw-header{
  text-align:center;
  margin:0 0 24px;
}

.esacw-title{
  margin:0 0 8px;
  font-size:32px;
  line-height:1.15;
  font-weight:800;
  color:#07185f;
}

.esacw-subtitle{
  margin:0;
  color:#6b7280;
  font-size:16px;
  line-height:1.4;
}

.esacw-reviews-slider{
  position:relative;
  width:100%;
  max-width:1180px;
  margin:0 auto 24px;
  overflow:hidden;
  padding:0 56px 14px;
}

.esacw-track{
  display:flex;
  gap:18px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  padding:8px 2px 16px;
  cursor:grab;
  scrollbar-width:none;
}

.esacw-track::-webkit-scrollbar{display:none}

.esacw-track.is-dragging{
  cursor:grabbing;
  scroll-snap-type:none;
  scroll-behavior:auto;
}

.esacw-card{
  flex:0 0 calc((100% - 36px) / 3);
  min-width:260px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:10px;
  padding:22px 24px;
  box-shadow:0 10px 25px rgba(15,23,42,.10);
  scroll-snap-align:start;
}

.esacw-card-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:20px;
}

.esacw-avatar,
.esacw-form-avatar{
  width:56px;
  height:56px;
  min-width:56px;
  border-radius:50%;
  background:#07185f;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:25px;
  overflow:hidden;
  box-shadow:inset 0 -4px 8px rgba(0,0,0,.12);
}

.esacw-avatar img,
.esacw-form-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:50%;
}

.esacw-user-info{min-width:0}

.esacw-name{
  font-size:16px;
  line-height:1.2;
  margin:0 0 5px;
  color:#101828;
  font-weight:800;
}

.esacw-verified,
.esacw-form-verified{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  color:#344054;
  line-height:1.2;
}

.esacw-seal{
  width:16px;
  height:16px;
  min-width:16px;
  border-radius:50%;
  background:#1a73e8;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:800;
  line-height:1;
}

.esacw-stars{
  font-size:21px;
  color:#fbbc04;
  letter-spacing:1px;
  margin:0 0 14px;
  line-height:1;
}

.esacw-comment{
  font-size:16px;
  line-height:1.58;
  color:#111827;
  margin:0 0 22px;
}

.esacw-date{
  font-size:14px;
  color:#667085;
}

.esacw-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:42px;
  height:42px;
  border:1px solid #e4e7ec;
  border-radius:8px;
  background:#fff;
  color:#07185f;
  font-size:38px;
  font-weight:300;
  line-height:34px;
  cursor:pointer;
  box-shadow:0 4px 14px rgba(15,23,42,.06);
}

.esacw-prev{left:2px}
.esacw-next{right:2px}

.esacw-lines{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:6px;
}

.esacw-lines span{
  display:block;
  width:34px;
  height:4px;
  border-radius:999px;
  background:#cfd3dc;
}

.esacw-lines span:first-child{background:#07185f}

.esacw-empty{display:none!important}

.esacw-form-box{
  max-width:1110px;
  margin:24px auto 0;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:14px;
  padding:20px;
  box-shadow:0 8px 24px rgba(15,23,42,.08);
}

.esacw-admin-test-note{
  display:flex;
  align-items:center;
  gap:12px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#075eea;
  border-radius:10px;
  padding:13px 16px;
  margin:0 0 18px;
  font-size:16px;
  line-height:1.45;
}

.esacw-admin-info{
  width:22px;
  height:22px;
  min-width:22px;
  border-radius:50%;
  background:#1a73e8;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
  font-style:normal;
}

.esacw-form-heading{margin-bottom:12px}

.esacw-form-title{
  margin:0;
  font-size:24px;
  line-height:1.2;
  color:#07185f;
  font-weight:800;
}

.esacw-form-user{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.esacw-form-user-text{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
}

.esacw-form-user-name{
  color:#101828;
  font-size:17px;
  font-weight:800;
  line-height:1.2;
}

.esacw-form-user-text small{
  color:#667085;
  font-size:13px;
}

.esacw-form{
  display:grid;
  grid-template-columns:1fr 1.9fr;
  gap:16px 20px;
  align-items:start;
}

.esacw-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.esacw-field-button{
  grid-column:1 / -1;
}

.esacw-label{
  font-weight:800;
  color:#101828;
  font-size:14px;
}

.esacw-select,
.esacw-textarea{
  width:100%;
  border:1px solid #d0d5dd;
  border-radius:10px;
  padding:13px 14px;
  font-size:16px;
  background:#fff;
  color:#101828;
  outline:none;
}

.esacw-select:focus,
.esacw-textarea:focus{
  border-color:#07185f;
  box-shadow:0 0 0 3px rgba(7,24,95,.10);
}

.esacw-textarea{
  min-height:98px;
  resize:vertical;
}

.esacw-submit{
  width:100%;
  border:0;
  border-radius:10px;
  background:#07185f;
  color:#fff;
  font-weight:800;
  padding:14px 16px;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.4px;
}

.esacw-submit:hover{filter:brightness(.92)}

.esacw-alert{
  background:#fff7ed;
  border:1px solid #fed7aa;
  color:#9a3412;
  border-radius:10px;
  padding:12px;
  margin:0 0 14px;
}

.esacw-success{
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  color:#065f46;
  border-radius:10px;
  padding:12px;
  margin:0 0 14px;
}

@media(max-width:1024px){
  .esacw-card{flex-basis:calc((100% - 18px) / 2)}
  .esacw-form{grid-template-columns:1fr}
}

@media(max-width:767px){
  .esacw-title{font-size:24px;padding:0 16px}
  .esacw-subtitle{font-size:14px;padding:0 16px}
  .esacw-reviews-slider{padding-left:16px;padding-right:16px}
  .esacw-card{flex-basis:86%;padding:20px}
  .esacw-arrow{display:none}
  .esacw-lines span{width:26px}
  .esacw-form-box{margin-left:16px;margin-right:16px;padding:18px}
  .esacw-admin-test-note{font-size:14px}
}


/* v2.0.9 - Slider sem setas e com quantidade por dispositivo */
.esacw-reviews-slider{
  max-width:1180px;
  padding-left:0!important;
  padding-right:0!important;
  overflow:hidden;
}

.esacw-arrow,
.esacw-prev,
.esacw-next{
  display:none!important;
}

.esacw-track{
  justify-content:flex-start;
  gap:18px;
  padding-left:0;
  padding-right:0;
  scroll-padding-left:0;
}

.esacw-card{
  flex:0 0 calc((100% - 72px) / 5)!important;
  min-width:0!important;
}

@media(max-width:1024px){
  .esacw-card{
    flex-basis:calc((100% - 54px) / 4)!important;
  }
}

@media(max-width:767px){
  .esacw-reviews-slider{
    padding-left:0!important;
    padding-right:0!important;
  }

  .esacw-track{
    gap:16px;
    padding-left:7%;
    padding-right:7%;
    scroll-padding-left:7%;
  }

  .esacw-card{
    flex-basis:86%!important;
    min-width:86%!important;
  }
}


/* v2.1.5 - ajuste mínimo: centralizar somente no mobile */
@media (max-width: 767px) {
  .esacw-reviews-slider {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  .esacw-track {
    padding-left: 7% !important;
    padding-right: 7% !important;
    gap: 16px !important;
    justify-content: flex-start !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .esacw-card {
    flex: 0 0 86% !important;
    width: 86% !important;
    min-width: 86% !important;
    max-width: 86% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}


/* v2.1.6 - centralização real mobile */
@media (max-width: 767px){

  .esacw-widget-wrap{
    overflow:hidden!important;
  }

  .esacw-reviews-slider{
    width:100%!important;
    padding:0!important;
    overflow:hidden!important;
  }

  .esacw-track{
    display:flex!important;
    gap:16px!important;
    overflow-x:auto!important;
    padding:0 calc((100vw - 86vw) / 2)!important;
    margin:0!important;
    box-sizing:border-box!important;
    scroll-padding-left:calc((100vw - 86vw) / 2)!important;
    justify-content:flex-start!important;
  }

  .esacw-card{
    flex:0 0 86vw!important;
    width:86vw!important;
    min-width:86vw!important;
    max-width:86vw!important;
    margin:0!important;
  }
}


/* v2.1.7 - espaçamento lateral igual ao formulário */
@media (max-width: 767px){

  .esacw-reviews-slider{
    padding-left:16px!important;
    padding-right:16px!important;
    box-sizing:border-box!important;
  }

  .esacw-track{
    padding-left:0!important;
    padding-right:0!important;
    scroll-padding-left:0!important;
    gap:16px!important;
  }

  .esacw-card{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
}


/* v2.1.8 - 3 cards desktop/tablet e quebra correta do nome */
.esacw-card{
  flex:0 0 calc((100% - 36px) / 3)!important;
  min-width:0!important;
  box-sizing:border-box!important;
}

.esacw-card-head{
  min-width:0!important;
}

.esacw-user-info{
  min-width:0!important;
  max-width:100%!important;
  flex:1 1 auto!important;
}

.esacw-name{
  display:block!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  line-height:1.25!important;
}

@media (max-width: 1024px){
  .esacw-card{
    flex:0 0 calc((100% - 36px) / 3)!important;
  }
}

@media (max-width: 767px){
  .esacw-card{
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
  }

  .esacw-name{
    font-size:16px!important;
  }
}


/* v2.2.0 - controles das linhas de navegação */
.esacw-lines{
  --esacw-lines-x:0px;
  --esacw-lines-y:0px;
  transform:translate(var(--esacw-lines-x), var(--esacw-lines-y));
}

.esacw-lines span{
  transition:background-color .2s ease, opacity .2s ease, transform .2s ease;
}

.esacw-lines span:hover{
  opacity:.95;
  transform:scaleX(1.08);
}


/* v2.2.3 - botão enviar editável pelo Elementor */
.esacw-submit{
  transition:background-color .2s ease, color .2s ease, filter .2s ease;
}

.esacw-form-subtitle{
  margin:8px 0 0;
  color:#667085;
  font-size:14px;
  line-height:1.45;
}

.esacw-delete-form{
  margin-top:12px;
  text-align:center;
}

.esacw-delete-own{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:transparent;
  color:#b42318;
  font-size:14px;
  font-weight:800;
  text-decoration:underline;
  cursor:pointer;
  padding:8px 10px;
}

.esacw-delete-own:hover,
.esacw-delete-own:focus{
  color:#7a271a;
  outline:none;
}

/* Avatar com inicial e edição protegida da própria avaliação */
.esacw-avatar,
.esacw-form-avatar{
  background:#0b6ff3;
  color:#fff;
  text-transform:uppercase;
}

.esacw-form-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.esacw-enable-edit{
  border:1px solid #07185f;
  background:#07185f;
  color:#fff;
  border-radius:8px;
  padding:8px 16px;
  font-size:13px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.esacw-enable-edit:hover,
.esacw-enable-edit:focus{
  background:#0b6ff3;
  border-color:#0b6ff3;
  color:#fff;
}

.esacw-enable-edit.is-active{
  background:#16a34a;
  border-color:#16a34a;
}

.esacw-form.is-locked .esacw-select,
.esacw-form.is-locked .esacw-textarea{
  background:#f8fafc;
  color:#475467;
  cursor:not-allowed;
}

.esacw-form.is-locked .esacw-submit:disabled{
  opacity:.55;
  cursor:not-allowed;
}

@media (max-width: 600px){
  .esacw-form-title-row{
    align-items:flex-start;
  }

  .esacw-enable-edit{
    width:auto;
    min-height:36px;
  }
}

/* v2.2.6 - botões do usuário editáveis pelo Elementor + cancelar edição */
.esacw-edit-actions{
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.esacw-cancel-edit{
  border:1px solid #d0d5dd;
  background:#fff;
  color:#344054;
  border-radius:8px;
  padding:8px 16px;
  font-size:13px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}

.esacw-cancel-edit:hover,
.esacw-cancel-edit:focus{
  background:#f2f4f7;
  color:#101828;
  outline:none;
}

.esacw-delete-own{
  border-style:solid;
  border-width:0;
  transition:background-color .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
}

.esacw-enable-edit,
.esacw-cancel-edit{
  min-height:36px;
}

@media (max-width: 600px){
  .esacw-edit-actions{
    justify-content:flex-start;
  }
}
