/* Laveta Bumbac - products.css | generated from the audited design system */

.catalog-band {
  margin-bottom: 1.25rem;
  padding: clamp(1.4rem, 3vw, 2.35rem);
  border: 1px solid rgba(220, 229, 227, 0.9);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.catalog-band:last-child {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(220, 229, 227, 0.9);
}

.catalog-index {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 0.85rem;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.1em;
}

/* 9. Compact product tables and variant tabs */
.table-shell {
  position: relative;
}

.catalog-summary {
  width: min(100%, 72rem);
  margin-inline: auto;
}

.overview-table {
  min-width: 44rem;
  table-layout: fixed;
}

.overview-table th:first-child {
  width: 38%;
}

.overview-table thead th:nth-child(2) {
  width: 18%;
}

.overview-table thead th:nth-child(3) {
  width: 44%;
}

.dimension-disclosure {
  width: 100%;
  min-width: 14rem;
}

.dimension-disclosure summary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.7rem;
  background: var(--paper);
  color: var(--brand-950);
  cursor: pointer;
  font-weight: 720;
  list-style: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.dimension-static {
  display: inline-flex;
  width: 11.75rem;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.7rem;
  background: var(--paper);
  color: var(--brand-950);
  cursor: default;
  font-weight: 720;
  user-select: none;
}

.dimension-disclosure summary::-webkit-details-marker {
  display: none;
}

.dimension-disclosure summary::after {
  color: var(--brand-700);
  content: "+";
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

.dimension-disclosure[open] summary {
  border-color: var(--brand-500);
  background: var(--brand-50);
}

.dimension-disclosure[open] summary::after {
  content: "−";
}

.dimension-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.75rem 0 0.15rem;
  list-style: none;
  white-space: normal;
}

.dimension-options li {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-950);
  font-size: 0.8rem;
  font-weight: 680;
}

@media (max-width: 61.998rem) {
  .catalog-band {
    text-align: center;
  }



.catalog-band .spec-list {
    max-width: 28rem;
    margin-inline: auto;
  }


}

@media (max-width: 47.998rem) {
  .catalog-summary .table-responsive {
    overflow: visible;
  }

  .overview-table,
  .overview-table tbody,
  .overview-table tr {
    display: block;
    width: 100%;
  }

  .overview-table {
    min-width: 0;
    table-layout: auto;
  }

  .overview-table caption {
    display: block;
    width: 100%;
  }

  .overview-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
    white-space: nowrap;
  }

  .overview-table .table-group-row > th {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0.8rem 1rem;
  }

  .overview-table .table-subcategory-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.7rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .overview-table .table-subcategory-row:hover,
  .overview-table .table-subcategory-row:hover > * {
    background: var(--paper);
  }

  .overview-table .table-subcategory-row > th,
  .overview-table .table-subcategory-row > td,
  .overview-table .table-subcategory-row > td:nth-child(2) {
    position: static;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    white-space: normal;
  }

  .overview-table .table-subcategory-row > th {
    padding-left: 0;
    font-size: 0.95rem;
  }

  .overview-table .table-subcategory-row > td:nth-child(2) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .overview-table .table-subcategory-row > td:nth-child(2)::before,
  .overview-table .table-subcategory-row > td:nth-child(3)::before {
    color: var(--ink-500);
    content: "Format";
    font-size: 0.72rem;
    font-weight: 780;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .overview-table .table-subcategory-row > td:nth-child(3)::before {
    display: block;
    margin-bottom: 0.45rem;
    content: "Dimensiuni";
  }

  .dimension-disclosure {
    min-width: 0;
  }

  .dimension-disclosure summary {
    width: 100%;
    justify-content: space-between;
  }

  .dimension-options {
    justify-content: flex-start;
  }

}
