.eszet-categories {
  padding: 1.5rem 0;
}

.eszet-category-group {
  margin: 2rem 0 2.5rem;
}

.eszet-categories{
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.products-base-info{
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.eszet-category-group__headline {}

.eszet-category-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 520px) {
  .eszet-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .eszet-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .eszet-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.eszet-category-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.eszet-category-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
  border-color: rgba(0, 0, 0, .14);
}

.eszet-category-tile__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #fff;
  padding: 1rem;
}

.eszet-category-tile__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.eszet-category-tile__placeholder {
  width: 100%;
  height: 100%;
  background: #fff;
}

.eszet-category-tile__body {
  padding: .85rem .9rem 1rem;
}

.eszet-category-tile__title {
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.25;
  min-height: 2.75rem;
  letter-spacing: .01em;
  text-align: center;
}

.eszet-category-single {
  margin: 1rem 0;
}

/* Product Group Styles */
.product-group {
  margin-bottom: 3rem;
}

.product-group__label {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #333;
}

.eszet-back-button{
	margin-left:1rem;
	margin-top:3rem;
	margin-bottom:3rem;
}

.product-group__image {
  max-height: 300px;
  object-fit: contain;
  width: 100%;
}

.product-group__description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}


/* Responsive Table Scrolling */
.product-variants-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1rem;
  margin-bottom:5rem;
}

.eszet-limited-width{
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.product-variants-table table {
  margin-bottom: 0;
  width:calc(100% - 2rem);
  margin-left:auto;
  margin-right:auto;
}

.product-variants-table th,
.product-variants-table td {
  white-space: nowrap;
  padding: 0.75rem;
  vertical-align: middle;
}

/* Ensure article number and price never wrap */
.product-variants-table td:first-child,
.product-variants-table td:nth-child(2),
.product-variants-table th:first-child,
.product-variants-table th:nth-child(2) {
  white-space: nowrap !important;
}

/* Align price column to the right */
.product-variants-table td:nth-child(2) {
  text-align: right;
}


/* Product price styling */
.product-price {
  color: #820808;
  font-weight: bold;
}

.product-variants-table th {
  background-color: #f8f9fa;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

@media (max-width: 768px) {
  .product-group__label {
    font-size: 1.5rem;
  }

  .product-variants-table {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
  }
}