product-swatch.tinhao-picture-options .swatch-items-wrapper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:440px}
product-swatch.tinhao-picture-options .swatch-element{width:auto!important;height:auto!important;margin:0!important;min-width:0}
product-swatch.tinhao-picture-options .swatch-element label{display:flex!important;position:relative;width:100%!important;height:auto!important;aspect-ratio:1/1;min-width:44px;min-height:44px;padding:6px!important;border:1px solid #b5b5b5!important;border-radius:4px!important;background:#fff!important;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;box-sizing:border-box}
product-swatch.tinhao-picture-options label::before,product-swatch.tinhao-picture-options label::after{display:none!important}
product-swatch.tinhao-picture-options input:checked+label{border:2px solid #171717!important;box-shadow:0 0 0 1px #171717}
product-swatch.tinhao-picture-options input:focus-visible+label{outline:3px solid #2463b5;outline-offset:3px}
product-swatch.tinhao-picture-options label img{display:block;width:100%;height:100%;object-fit:contain}
.tinhao-picture-option-text{font-size:12px;line-height:1.25;text-align:center;overflow-wrap:anywhere}
.tinhao-picture-option-unavailable{position:absolute;bottom:0;left:0;right:0;background:#fffE;font-size:10px;text-align:center;line-height:1.4}
product-swatch.tinhao-picture-options [data-color-swatch-name-container]{max-width:100%;white-space:normal}
product-swatch.tinhao-picture-options [data-color-swatch-name]{white-space:normal;overflow-wrap:anywhere}
@media(max-width:359px){product-swatch.tinhao-picture-options .swatch-items-wrapper{grid-template-columns:repeat(3,minmax(0,1fr))}}
