/* =========================================================
   Aevrino Vehicle Detail — Specifications
   Premium two-column accordion layout
   Inspired by clean Dometic-style product specifications.
   ========================================================= */

.av-specifications{
  width:min(1200px, calc(100% - 48px));
  margin:64px auto 0;
  padding:0 0 72px;
  border-top:0;
  color:#111827;
}

.av-specifications-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:0;
  margin:0 0 34px;
}

.av-spec-title-wrap{
  min-width:0;
}

.av-specifications h2{
  margin:0;
  font-size:28px;
  line-height:1.15;
  font-weight:700;
  letter-spacing:-.02em;
  color:#111827;
  text-transform:uppercase;
}

.av-spec-sku{
  margin-top:12px;
  color:#667085;
  font-size:13px;
  line-height:1.4;
}

.av-spec-sku span{
  color:#475467;
  margin-left:6px;
}

.av-spec-expand{
  border:0;
  background:transparent;
  color:#ff5000;
  font-size:13px;
  line-height:1.4;
  font-weight:600;
  cursor:pointer;
  padding:4px 0;
  white-space:nowrap;
}

.av-spec-expand span{
  display:inline-block;
  margin-left:6px;
  font-size:14px;
  transition:transform .18s ease;
}

.av-spec-intro{
  display:none;
}

/* Two equal columns */
.av-spec-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  column-gap:52px;
  row-gap:0;
  align-items:start;
}

/* No cards — clean horizontal specification sections */
.av-spec-group{
  border:0;
  border-radius:0;
  background:transparent;
  overflow:visible;
  min-width:0;
}

.av-spec-group-head{
  width:100%;
  min-height:58px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:0;
  border-bottom:1px solid #d7d7d7;
  background:#fff;
  color:#111827;
  cursor:pointer;
  text-align:left;
  font-size:14px;
  line-height:1.3;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.01em;
}

.av-spec-group-head:hover{
  background:#fff;
  color:#111827;
}

.av-spec-group-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.av-spec-group-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#111827;
  background:#fff;
  border-right:1px solid #e5e7eb;
}

.av-spec-group-icon svg{
  width:22px;
  height:22px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.av-spec-chevron{
  flex:0 0 auto;
  font-size:17px;
  line-height:1;
  font-weight:400;
  color:#111827;
  transition:transform .18s ease;
}

.av-spec-group.is-open .av-spec-chevron{
  transform:rotate(180deg);
}

.av-spec-group-body{
  border:0;
}

.av-spec-table{
  width:100%;
}

.av-spec-row{
  min-height:46px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-bottom:1px solid #e0e0e0;
}

.av-spec-label{
  color:#667085;
  font-size:15px;
  line-height:1.4;
  font-weight:400;
}

.av-spec-value{
  max-width:58%;
  color:#111827;
  font-size:15px;
  line-height:1.4;
  text-align:right;
  font-weight:700;
}

/* Keep each section visually independent while maintaining
   a compact two-column product-specification rhythm. */
.av-spec-group:nth-child(odd){
  grid-column:1;
}

.av-spec-group:nth-child(even){
  grid-column:2;
}

/* Desktop: make rows comfortable without oversized text */
@media (min-width:901px){
  .av-spec-group-head{
    min-height:58px;
  }

  .av-spec-row{
    min-height:46px;
  }
}

@media (max-width:900px){
  .av-specifications{
    width:min(100% - 32px, 720px);
    margin-top:48px;
    padding-bottom:56px;
  }

  .av-spec-grid{
    grid-template-columns:1fr;
    column-gap:0;
  }

  .av-spec-group:nth-child(odd),
  .av-spec-group:nth-child(even){
    grid-column:auto;
  }

  .av-specifications h2{
    font-size:24px;
  }

  .av-spec-group-head{
    min-height:58px;
    font-size:13px;
  }
}

@media (max-width:600px){
  .av-specifications{
    width:calc(100% - 28px);
    margin-top:38px;
    padding-bottom:44px;
  }

  .av-specifications-head{
    margin-bottom:24px;
    gap:16px;
  }

  .av-specifications h2{
    font-size:21px;
  }

  .av-spec-sku{
    margin-top:8px;
    font-size:12px;
  }

  .av-spec-expand{
    font-size:12px;
  }

  .av-spec-group-head{
    min-height:50px;
    font-size:12px;
  }

  .av-spec-row{
    min-height:44px;
    gap:16px;
  }

  .av-spec-label{
    font-size:12px;
  }

  .av-spec-value{
    max-width:56%;
    font-size:12px;
  }
}
