1) { lightboxIndex = (lightboxIndex - 1 + lightboxItems.length) % lightboxItems.length; imgModalSrc = lightboxItems[lightboxIndex].src; imgModalDesc = lightboxItems[lightboxIndex].alt || ''; selectedId = String(lightboxItems[lightboxIndex].id); }"
@keydown.arrow-right.window="if (imgModal && lightboxItems.length > 1) { lightboxIndex = (lightboxIndex + 1) % lightboxItems.length; imgModalSrc = lightboxItems[lightboxIndex].src; imgModalDesc = lightboxItems[lightboxIndex].alt || ''; selectedId = String(lightboxItems[lightboxIndex].id); }"
x-effect="document.body.classList.toggle('product-lightbox-open', imgModal)"
>
Item Details
Product category: knitted hat
Applicable gender: neutral/male and female
material: Wool
Style: Europe and America
Weaving method: Twill
Processing method: knitting
Popular elements: curling
Pattern: Color matching
Suitable season: Spring, Autumn, Winter
Eaves shape: curling
Top style: dome
Hat style: wide brim