/* Product variant layout mirrors the Chinese site's approved component. */
.c-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
#c-product-info1 .c-left .c-text2 { min-height: 1.5em; }
#c-product-info1 .c-left .c-text2.has-product-variants { margin-bottom: 0.5rem; }
#c-product-info1 .c-product-purchase.has-product-variants {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: start;
}
#c-product-info1 .c-product-actions,
#c-product-info1 .c-product-variants { min-width: 0; }
#c-product-info1 .c-product-variants { margin: 0; padding: 0; border: 0; }
#c-product-info1 .c-product-variant-label {
  margin-bottom: 12px;
  color: #555;
  font-weight: 600;
  line-height: 1.5;
}
#c-product-info1 .c-product-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#c-product-info1 .c-product-variant-option {
  position: relative;
  min-width: 76px;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid #c8cdd2;
  border-radius: 2px;
  color: #333;
  background: #fff;
  cursor: pointer;
  line-height: 1.4;
  transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}
#c-product-info1 .c-product-variant-option:hover { border-color: #0073c3; color: #0073c3; }
#c-product-info1 .c-product-variant-option:focus-visible { outline: 3px solid rgba(0, 115, 195, 0.25); outline-offset: 2px; }
#c-product-info1 .c-product-variant-option.is-active {
  border-color: #0073c3;
  color: #0063a8;
  background: #f2f8fc;
  box-shadow: inset 0 0 0 1px #0073c3;
}
@media (min-width: 973px) {
  #c-product-info1 .c-product-variants {
    width: calc(100% - clamp(18px, 2vw, 32px));
    transform: translateX(clamp(18px, 2vw, 32px));
  }
}
@media (max-width: 748px) {
  #c-product-info1 .c-product-variant-label { margin-bottom: 8px; }
  #c-product-info1 .c-product-variant-option { flex: 1 1 calc(50% - 8px); min-width: 0; }
}
@media (max-width: 972px) {
  #c-product-info1 .c-product-purchase.has-product-variants { display: flex; flex-direction: column; gap: 16px; }
  #c-product-info1 .c-product-purchase.has-product-variants .c-product-variants { order: -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #c-product-info1 .c-product-variant-option { transition: none; }
}
#c-product-info1 .c-product-variant-options {
  max-height: clamp(184px, 28vh, 268px);
  min-width: 0;
  padding: 2px 8px 2px 2px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  scrollbar-color: rgba(0, 115, 195, 0.42) transparent;
  scrollbar-width: thin;
}
#c-product-info1 .c-product-variant-options::-webkit-scrollbar { width: 6px; }
#c-product-info1 .c-product-variant-options::-webkit-scrollbar-track { background: transparent; }
#c-product-info1 .c-product-variant-options::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(0, 115, 195, 0.32); }
#c-product-info1 .c-product-variant-option {
  box-sizing: border-box;
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}
@media (max-width: 748px) {
  #c-product-info1 .c-product-variant-options { width: 100%; max-height: 244px; }
}
/* English quote text has no currency marker; all other dimensions match the Chinese component. */
#c-product-info1 .c-left .c-price.is-quote i { display: none; }
#c-product-info1 .c-left .c-price i { white-space: nowrap; }
