/* Native WooCommerce select remains visible until the photo controls initialise. */
.luxygo-swatches [hidden] { display: none !important; }
.luxygo-swatches.is-enhanced .luxygo-swatches__native { display: none; }
.luxygo-swatches__choices, .luxygo-loop-swatches { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; }
.luxygo-swatches__choices { padding: 3px 0; }
.luxygo-swatches .luxygo-swatch, .luxygo-loop-swatches .luxygo-swatch { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 8px; min-width: 66px; padding: 5px 4px; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink, #20241f); box-shadow: none; cursor: pointer; font: inherit; text-align: center; text-decoration: none; line-height: 1.35; }
.luxygo-swatch__photo { position: relative; display: block; width: 52px; height: 52px; border: 1px solid #d2d5ce; border-radius: 50%; background: #f6f6f3; padding: 0; overflow: hidden; box-sizing: border-box; outline: 1px solid transparent; outline-offset: 3px; }
.luxygo-swatch__photo img { display: block; width: 100% !important; height: 100% !important; max-width: none; margin: 0 !important; padding: 0 !important; object-fit: cover; transform: scale(2.4); transform-origin: 50% 53%; border-radius: 0; }
.luxygo-swatch[data-colour="marron"] .luxygo-swatch__photo img { transform-origin: 37% 51%; }
.luxygo-swatch__photo--cropped img { position:absolute; width:300% !important; height:auto !important; aspect-ratio:auto!important; object-fit:initial!important; left:-95.5%; top:-190%; transform:none; }
.luxygo-swatch[data-colour="marron"] .luxygo-swatch__photo--cropped img { left:-61.4%; top:-161.1%; }
.luxygo-swatch[data-colour="rose"] .luxygo-swatch__photo--cropped img { width:420%!important; left:-170.1%; top:-306.7%; }
.luxygo-swatch__name { display: block; font-size: 12px; font-weight: 400; }
.luxygo-swatch__unavailable { display: block; max-width: 76px; font-size: 10px; color: #686e64; }
.luxygo-swatch[aria-checked="true"] .luxygo-swatch__photo { outline-color: var(--ink, #20241f); }
.luxygo-swatch[aria-checked="true"] .luxygo-swatch__name { font-weight: 600; }
.luxygo-swatch:hover:not(:disabled) .luxygo-swatch__photo { outline-color: #838b7a; }
.luxygo-swatch:focus-visible { outline: 2px solid #536047; outline-offset: 4px; border-radius: 4px; }
.luxygo-swatch:disabled { cursor: not-allowed; }
.luxygo-swatch:disabled .luxygo-swatch__photo { opacity: .5; }
.luxygo-swatch:disabled .luxygo-swatch__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 48%, #666d61 49%, #666d61 51%, transparent 52%); }
.luxygo-swatches__selection { margin: 10px 0 0; color: #62685f; font-size: 12px; line-height: 1.4; }
.luxygo-loop-swatches { margin: 8px 0 16px; gap: 5px; }
.luxygo-loop-swatches .luxygo-swatch { min-width: 44px; padding: 5px 3px; gap: 6px; }
.luxygo-loop-swatches .luxygo-swatch__photo { width: 32px; height: 32px; }
.woocommerce ul.products li.product .luxygo-loop-swatches .luxygo-swatch__photo img { object-fit: cover; aspect-ratio: 1; background: transparent; }
.luxygo-loop-swatches .luxygo-swatch__name { font-size: 10px; }
@media (forced-colors: active) {
  .luxygo-swatch__photo { border-color: CanvasText; }
  .luxygo-swatch[aria-checked="true"] .luxygo-swatch__photo { outline: 3px solid Highlight; }
  .luxygo-swatch:disabled { color: GrayText; }
}
