/* Linked product options on PDP (replaces stock variant radios) */

.product-details-section .pd-linked-products-box .pd-linked-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.product-details-section .pd-linked-products-box .pd-linked-products > li {
  flex: 0 0 auto;
  width: 110px;
  max-width: 100%;
}

.product-details-section .pd-linked-products-box .pd-linked-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  height: 100%;
  padding: 10px 8px;
  border: 1px solid rgba(var(--border-color), 1);
  border-radius: 8px;
  background: rgba(var(--background), 1);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.product-details-section .pd-linked-products-box .pd-linked-product:hover {
  border-color: rgba(var(--primary-color), 0.55);
  background-color: rgba(var(--primary-color), 0.06);
  color: inherit;
  text-decoration: none;
}

.product-details-section .pd-linked-products-box .pd-linked-product-name {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(var(--title-color), 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  order: 1;
}

.product-details-section .pd-linked-products-box .pd-linked-product-thumb {
  order: 2;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
}

.product-details-section .pd-linked-products-box .pd-linked-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-details-section .pd-linked-products-box .pd-linked-product-price {
  order: 3;
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--primary-color), 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
