/* Publisher */
/* .product-table th:nth-child(3),
.product-table td:nth-child(3) {
  width: 10%;          
} */
 /* Subject */
/* .product-table th:nth-child(4),
.product-table td:nth-child(4) {
  width: 10%;         
} */

/* Price */
/* .product-table th:nth-child(6),
.product-table td:nth-child(6) {
  width: 5%;          
} */


/* Optional: tighter spacing in those cells */
.product-table th:nth-child(3),
.product-table th:nth-child(4),
.product-table td:nth-child(3),
.product-table td:nth-child(4) {
  padding-left: 0.4rem;
  padding-right: 0.4rem;
}

.product-table th:first-child,
.product-table td:first-child {
  width: auto;
}

/* Optional visual polish */
.product-table th {
  vertical-align: middle;
  text-align: center;
  font-weight: 600;
  background-color: #f0f3f7;
}

.product-table td {
  vertical-align: middle;
}

.product-table hr {
  margin: 0px !important;
}

.table>:not(caption)>*>*{
  padding: .25em;
}

.accordion-button:not(.collapsed){
  background-color: var(--main-color-accent-dark) !important;
}

.accordion-item:has(.accordion-collapse.show) > .accordion-header > .accordion-button {
  background-color: var(--main-color-accent-dark) !important;
}

.accordion-item{
  margin-bottom: 0.4em;
  border-top: 1px solid var(--bs-border-color, #dee2e6) !important;
}

.accordion .accordion-item:last-child {
  padding-bottom: 0;
}

.accordion-button:not(.collapsed),
.accordion-collapse.show ~ .accordion-header .accordion-button {
  background-color: var(--main-color-accent-dark) !important;
}
.accordion-button {
  transition: background-color 0.2s ease, color 0.2s ease;
}

.accordion-button:hover {
  background-color: var(--main-color-accent) !important;
}

.accordion-button:focus{
  box-shadow: var(--main-color-accent-darkest) !important;
}

.accordion-chevron {
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 1em;
  opacity: 0.7;
  margin-bottom: 0.3em;
}

/* Rotate up when expanded */
.accordion-button:not(.collapsed) .accordion-chevron {
  transform: rotate(-135deg);
  opacity: 1;
}

/* Optional hover effect */
.accordion-button:hover .accordion-chevron {
  opacity: 1;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type=number] {
  -moz-appearance:textfield;
}
