
/* Aevrino — Vehicle Detail Reviews */
.av-reviews-section{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:64px 0 72px;
  color:#101828;
}
.av-reviews-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
}
.av-reviews-head h2{
  margin:0 0 7px;
  font-size:28px;
  line-height:1.15;
  font-weight:750;
  letter-spacing:-.02em;
}
.av-reviews-head p{
  margin:0;
  color:#667085;
  font-size:14px;
  line-height:1.55;
}
.av-review-write-btn{
  border:1px solid #111;
  background:#111;
  color:#fff;
  min-height:42px;
  padding:0 18px;
  border-radius:2px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.av-review-write-btn:hover{background:#222}
.av-review-write-btn span{margin-left:8px}

.av-reviews-summary{
  display:grid;
  grid-template-columns:260px 1fr;
  gap:42px;
  padding:26px 0;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}
.av-review-score{
  text-align:left;
}
.av-review-score strong{
  display:block;
  font-size:46px;
  line-height:1;
  letter-spacing:-.04em;
}
.av-review-stars,
.av-review-card-stars{
  color:#ffb000;
  letter-spacing:2px;
  font-size:18px;
  margin:9px 0 5px;
}
.av-review-score span{
  color:#667085;
  font-size:13px;
}
.av-review-bars{
  max-width:560px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:7px;
}
.av-review-bar-row{
  display:grid;
  grid-template-columns:38px minmax(120px,1fr) 28px;
  align-items:center;
  gap:9px;
  font-size:12px;
  color:#667085;
}
.av-review-bar-row em{
  font-style:normal;
  text-align:right;
  color:#667085;
}
.av-review-bar{
  height:7px;
  border-radius:99px;
  overflow:hidden;
  background:#eef0f2;
}
.av-review-bar i{
  display:block;
  height:100%;
  border-radius:99px;
  background:#111;
}

.av-review-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:26px;
}
.av-review-card{
  min-width:0;
  border:1px solid #e1e5e9;
  border-radius:4px;
  padding:20px;
  background:#fff;
}
.av-review-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.av-review-card-top strong{
  font-size:14px;
  font-weight:700;
}
.av-review-card-stars{
  font-size:14px;
  margin:5px 0 0;
}
.av-review-card time{
  flex:0 0 auto;
  color:#98a2b3;
  font-size:11px;
}
.av-review-card p{
  margin:16px 0 0;
  color:#475467;
  font-size:13px;
  line-height:1.65;
}

.av-review-empty{
  text-align:center;
  border:1px solid #e5e7eb;
  padding:36px 20px;
  margin-top:26px;
}
.av-review-empty-stars{
  color:#ffb000;
  font-size:21px;
  letter-spacing:3px;
}
.av-review-empty h3{
  margin:10px 0 5px;
  font-size:17px;
}
.av-review-empty p{
  margin:0;
  color:#667085;
  font-size:13px;
}

.av-review-alert{
  margin-top:20px;
  padding:13px 16px;
  border:1px solid #d9e2dc;
  background:#f7fbf8;
  color:#344054;
  font-size:13px;
  line-height:1.5;
}
.av-review-alert.error{
  border-color:#f0c7c7;
  background:#fff8f8;
  color:#9b2c2c;
}

.av-review-form-wrap{
  margin-top:28px;
  border:1px solid #dfe3e8;
  background:#fff;
  padding:28px;
}
.av-review-form-wrap[hidden]{display:none}
.av-review-form-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.av-review-form-head h3{
  margin:0 0 5px;
  font-size:20px;
}
.av-review-form-head p{
  margin:0;
  color:#667085;
  font-size:13px;
}
.av-review-close{
  width:34px;
  height:34px;
  border:1px solid #d9dee5;
  background:#fff;
  border-radius:50%;
  font-size:20px;
  cursor:pointer;
}
.av-review-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.av-review-form label>span,
.av-review-rating-field>label{
  display:block;
  margin-bottom:7px;
  font-size:12px;
  font-weight:700;
  color:#344054;
}
.av-review-form input[type="text"],
.av-review-form input[type="email"],
.av-review-form textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #d0d5dd;
  border-radius:2px;
  padding:11px 12px;
  background:#fff;
  color:#101828;
  font:inherit;
  font-size:13px;
  outline:none;
}
.av-review-form textarea{resize:vertical;min-height:120px}
.av-review-form input:focus,
.av-review-form textarea:focus{
  border-color:#111;
  box-shadow:0 0 0 2px rgba(17,17,17,.06);
}
.av-review-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.av-rating-picker{
  display:flex;
  flex-direction:row-reverse;
  justify-content:flex-end;
  width:max-content;
}
.av-rating-picker input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.av-rating-picker label{
  margin:0;
  padding:0 2px;
  color:#cfd4da;
  font-size:27px;
  line-height:1;
  cursor:pointer;
}
.av-rating-picker label:hover,
.av-rating-picker label:hover~label,
.av-rating-picker input:checked~label{
  color:#ffb000;
}
.av-review-short-name{
  display:flex;
  align-items:center;
  gap:8px;
  color:#667085;
  font-size:12px;
}
.av-review-short-name input{width:15px;height:15px}
.av-review-form-actions{
  display:flex;
  justify-content:flex-end;
}
.av-review-submit{
  border:1px solid #111;
  background:#111;
  color:#fff;
  min-height:42px;
  padding:0 20px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.av-review-submit:hover{background:#222}
.av-review-submit span{margin-left:8px}

@media(max-width:900px){
  .av-reviews-section{max-width:calc(100% - 40px);padding:50px 0 60px}
  .av-review-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  .av-reviews-section{max-width:calc(100% - 28px);padding:42px 0 50px}
  .av-reviews-head{align-items:flex-start;flex-direction:column}
  .av-review-write-btn{width:100%}
  .av-reviews-summary{grid-template-columns:1fr;gap:24px}
  .av-review-list{grid-template-columns:1fr}
  .av-review-form-wrap{padding:20px}
  .av-review-form-grid{grid-template-columns:1fr}
}
