.c-product-interconnection-detail-params__products span[class^=item-type] {
  width: 70px;
  height: 70px;
  align-content: center;
}
.c-product-interconnection-detail-params.is-template--Disco .c-product-interconnection-detail-params__type {
  color: #000;
  margin-bottom: 10px;
  font-size: 17px;
}
/* Styly pro produktové varianty na detailu produktu - pouze pro API režim */
.c-product-interconnection-detail-params[data-api-mode="true"],
.c-product-interconnection-detail-params.is-api-mode,
.c-product-interconnection-detail-params.api-mode {
  display: flex;
  align-items: flex-start;
  margin: 15px 0;
  font-family: inherit;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__type,
.c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__type,
.c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__type {
  font-weight: 600;
  color: #333;
  margin-right: 20px;
  flex-shrink: 0;
  padding-top: 5px;
  font-size: 14px;
}

.c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products,
.c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products,
.c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products a,
.c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products a,
.c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products a {
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 6px;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  background: #fff;
  min-width: 100px;
  text-align: center;
  position: relative;
}

.c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products a:hover,
.c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products a:hover,
.c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products a:hover {
  border-color: #009901;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 153, 1, 0.15);
}

.c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products a.is-current,
.c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products a.is-current,
.c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products a.is-current {
  border-color: #009901;
  background: #f0fff0;
  box-shadow: 0 2px 4px rgba(0, 153, 1, 0.1);
}

.c-product-interconnection-detail-params[data-api-mode="true"] .item-type-numbers,
.c-product-interconnection-detail-params.is-api-mode .item-type-numbers,
.c-product-interconnection-detail-params.api-mode .item-type-numbers {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  min-width: 50px;
  margin-bottom: 8px;
}

.c-product-interconnection-detail-params[data-api-mode="true"] .variant-price,
.c-product-interconnection-detail-params.is-api-mode .variant-price,
.c-product-interconnection-detail-params.api-mode .variant-price {
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  color: #333;
}

.c-product-interconnection-detail-params[data-api-mode="true"] .variant-savings,
.c-product-interconnection-detail-params.is-api-mode .variant-savings,
.c-product-interconnection-detail-params.api-mode .variant-savings {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff0000;
  color: #ffffff;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: bold;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Responsive design pro varianty - pouze pro API režim */
@media (max-width: 768px) {
  .c-product-interconnection-detail-params[data-api-mode="true"],
  .c-product-interconnection-detail-params.is-api-mode,
  .c-product-interconnection-detail-params.api-mode {
      flex-direction: column;
      align-items: flex-start;
      padding: 12px;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__type,
  .c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__type,
  .c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__type {
      margin-right: 0;
      margin-bottom: 12px;
      width: auto !important;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products,
  .c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products,
  .c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products {
      width: 100%;
      gap: 8px;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products a,
  .c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products a,
  .c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products a {
      padding: 10px 12px;
      min-width: 80px;
  }
}

@media (max-width: 480px) {
  .c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products,
  .c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products,
  .c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products {
      gap: 6px;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .c-product-interconnection-detail-params__products a,
  .c-product-interconnection-detail-params.is-api-mode .c-product-interconnection-detail-params__products a,
  .c-product-interconnection-detail-params.api-mode .c-product-interconnection-detail-params__products a {
      padding: 8px 10px;
      min-width: 70px;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .item-type-numbers,
  .c-product-interconnection-detail-params.is-api-mode .item-type-numbers,
  .c-product-interconnection-detail-params.api-mode .item-type-numbers {
      font-size: 12px;
      padding: 4px 8px;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .variant-price,
  .c-product-interconnection-detail-params.is-api-mode .variant-price,
  .c-product-interconnection-detail-params.api-mode .variant-price {
      font-size: 13px !important;
  }
  
  .c-product-interconnection-detail-params[data-api-mode="true"] .variant-savings,
  .c-product-interconnection-detail-params.is-api-mode .variant-savings,
  .c-product-interconnection-detail-params.api-mode .variant-savings {
      font-size: 10px;
      padding: 2px 6px;
      top: -6px;
      right: -6px;
  }
}