/* =========================
   MobilePrices Table System
========================= */

.table-wrap{
  width: 100%;
  overflow: auto;
  border-radius: 10px;
}

.table{
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--surface);
}

.table th, .table td{
  padding: 12px 14px;
  border-top: 1px solid var(--border-color);
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}

.table th{
  background: var(--color-gray-50);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .01em;
  text-transform: none;
}


.table tr:hover td{ background: var(--soft); }

.table td{ color: var(--color-gray-700); }

@media (max-width: 768px){
  .table th, .table td{ padding: 10px 12px; font-size: 14px; }
}


/* =========================
   Group-wise Specs Table
========================= */

.spec-groups{
  display: grid;
  gap: 14px;
}

.spec-group{
  /*! border-left: 1px solid var(--border-color); */
  background: var(--surface);
  overflow: hidden;
  /*! border-right: 1px solid var(--border-color); */
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.spec-group__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--soft);
  /*! border-bottom: 1px solid var(--border-color); */
}

.spec-group__title{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}

.table--spec th,
.table--spec td{
  font-size: 13px;
  padding: 10px 12px;
}

@media (min-width: 769px){
  .table--spec th,
  .table--spec td{
    font-size: 14px;
    padding: 12px 14px;
  }
}

.table--spec th{
  width: 34%;
  background: var(--color-gray-50);
  font-weight: 700;
}

.table--spec td{
  color: var(--color-gray-700);
}


@media (max-width: 420px){
  .spec-groups {
    margin-left: -15px;
    margin-right: -15px;
  }
}