Modern
Spacious
Functional
Keep your beauty rituals together and RTG with our durable and aesthetically pleasing makeup case. The spacious interior holds all your essentials and more, while the mesh-covered window allows you (and not everyone around you) to see what’s inside. Measuring in at 8” x 5” x 2”, it’s the ideal size for your suitcase, work tote, or gym bag. The neon contrast zipper has a custom pull with a debossed Flyte.70 logo and the interior surface can easily be wiped clean. This is not a bag that will go unused.
Pairs beautifully with...
window.accordion_tabs = [];
window.accordion_icons = [];
window.accordion_ingredients = ``;
accordion_tabs.push({ 'title' : 'FAQs',
'content' : `<p> </p>
<p><strong>How can I clean my bag?</strong></p>
<p>The interior can easily be wiped down with a nontoxic cleaner or wipe. While soft smudges on the exterior can sometimes be removed through spot cleaning, more deeply absorbed stains will be more difficult to remove due to the nature of the soft twill material. Our recommendation: clean as soon as you notice a spot or smudge.</p>
<p> </p>
<p><b>How accurate are the color shades on your website?</b></p>
<p>Although we have tried to accurately display the colors and shades of our products on our website, the actual colors you see will depend on the device and display you are using to view the product(s), and therefore we cannot guarantee that the colors and shades of the products you order will match those portrayed to you. We recommend that you keep your screen brightness level to 75-100% for best viewing.</p>
` });
accordion_tabs.push({ 'title' : 'Share',
'content' : `` });
{
"swatches":[
{
"title" : "urgent",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Urgent_medium.png?v=1632425632",
"description" : "Nude copper with pink/peach light-reflectors"
},
{
"title" : "swatch2",
"img" : "//flyte70.com/cdn/shop/files/swatch_shade_3.static_medium.png?v=1625136508",
"description" : "swatch 2 description"
},
{
"title" : "swatch3",
"img" : "//flyte70.com/cdn/shop/files/swatch_shade_2.static_medium.png?v=1625136508",
"description" : "swatch 3 description"
},
{
"title" : "freedom",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Freedom_medium.png?v=1632425762",
"description" : "Milky rose with subtle light-reflectors"
},
{
"title" : "the promise",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_ThePromise_medium.png?v=1632425817",
"description" : "Warm raspberry with gold light-reflectors"
},
{
"title" : "the flame",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_TheFlame_medium.png?v=1632425886",
"description" : "Chestnut, amber with copper light-reflectors"
},
{
"title" : "too shy",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_TooShy_7b9b77c0-8ac7-4103-84ff-211eb0a6fa8b_medium.png?v=1638886052",
"description" : "Bare, peachy blush"
},
{
"title" : "wishing well",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_WishingWell_4b4f47a6-e339-4a7f-b708-4b72354af27d_medium.png?v=1638885565",
"description" : "Warm, luxurious raisin"
},
{
"title" : "tempted",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Tempted_medium.png?v=1632426097",
"description" : "Balmy crushed raspberry"
},
{
"title" : "oh l'amour",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_OhL_Amour_medium.png?v=1632426142",
"description" : "Juicy crimson red"
},
{
"title" : "alone",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Alone_medium.png?v=1632426196",
"description" : "Blushed, milky nude"
},
{
"title" : "kid",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Kid_medium.png?v=1632426235",
"description" : "Warm watermelon with gold light-reflectors"
},
{
"title" : "roam",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Roam_medium.png?v=1632426290",
"description" : "Healthy neutral rose"
},
{
"title" : "rapture",
"img" : "//flyte70.com/cdn/shop/files/Flyte_PDPswatches_rapture_medium.png?v=1632337423",
"description" : "Neutral cranberry-brown"
},
{
"title" : "cherry pie",
"img" : "//flyte70.com/cdn/shop/files/Flyte_PDPswatches_cherrypie_medium.png?v=1632337475",
"description" : "Vivid warm fuchsia"
},
{
"title" : "red skies",
"img" : "//flyte70.com/cdn/shop/files/Flyte_PDPswatches_redskies_medium.png?v=1632337385",
"description" : "Classic retro red"
},
{
"title" : "relax",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Relax_medium.png?v=1632426418",
"description" : "Rich and vibrant apple red"
},
{
"title" : "sabotage",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Sabotage_medium.png?v=1632426477",
"description" : "Muted 'craisin' red"
},
{
"title" : "situation",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Situation_medium.png?v=1632426527",
"description" : "Neutral nude-beige"
},
{
"title" : "fame",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Fame_medium.png?v=1632426570",
"description" : "Universal neutral rose"
},
{
"title" : "das model",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_DasModel_34e8397f-77e7-42cd-a756-3090dd3d0c39_medium.png?v=1638885729",
"description" : "Coral-nude with a hint of pink"
},
{
"title" : "fast car",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_FastCar_medium.png?v=1632426665",
"description" : "Reddish amber with a raisin hue"
},
{
"title" : "abracadabra",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Abracadabra_medium.png?v=1632426722",
"description" : "Sunset coral with gilded light-reflectors"
},
{
"title" : "blue monday",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_BlueMonday_medium.png?v=1632426765",
"description" : "Indigo-infused ebony"
},
{
"title" : "down under",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_DownUnder_medium.png?v=1632426811",
"description" : "Cool evergreen with flecks of aqua"
},
{
"title" : "escapade",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Escapade_medium.png?v=1632426850",
"description" : "Brightening warm apricot"
},
{
"title" : "glamorous life",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_GlamorousLife_medium.png?v=1632426908",
"description" : "Candlelit golden apricot"
},
{
"title" : "heartbreaker",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Heartbreaker_medium.png?v=1632426985",
"description" : "Vivid strawberry coral"
},
{
"title" : "holiday",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Holiday_medium.png?v=1632427022",
"description" : "Brightening peachy beige"
},
{
"title" : "just like heaven",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_JustLikeHeaven_medium.png?v=1632427067",
"description" : "Fair, warm champagne beige"
},
{
"title" : "landslide",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Landslide_medium.png?v=1632427125",
"description" : "Muted taupe-mauve"
},
{
"title" : "linger",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Linger_medium.png?v=1632427165",
"description" : "Warm berry with gold light-reflectors"
},
{
"title" : "look of love",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_LookofLove_medium.png?v=1632427220",
"description" : "Burnished honey-amber"
},
{
"title" : "mad world",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Madworld_medium.png?v=1632427272",
"description" : "Smoked mahogany"
},
{
"title" : "one",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_One_medium.png?v=1632427318",
"description" : "Transparent peachy-beige"
},
{
"title" : "planet earth",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_PlanetEarth_medium.png?v=1632427356",
"description" : "Deep espresso with flecks of merlot"
},
{
"title" : "tenderness",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Tenderness_medium.png?v=1632427421",
"description" : "Neutral blushed rose"
},
{
"title" : "true colors",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_TrueColors_medium.png?v=1632427473",
"description" : "Sheer banana beige"
},
{
"title" : "under pressure",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_UnderPressure_medium.png?v=1632427520",
"description" : "Deep indigo-infused black"
},
{
"title" : "vacation",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Vacation_medium.png?v=1632427602",
"description" : "Mid-tone flushed and sunkissed combination"
},
{
"title" : "wicked game",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_WickedGame_medium.png?v=1632427658",
"description" : "Green-infused onyx"
},
{
"title" : "down under and wicked game",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_DownUnder-WickedGame_medium.png?v=1633711966",
"description" : "Emerald Grey"
},
{
"title" : "planet earth and mad world",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_PlanetEarth-Madworld_medium.png?v=1633712097",
"description" : "Rich Cocoa"
},
{
"title" : "landslide and blue monday",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Landslide-Bluemonday_medium.png?v=1633712167",
"description" : "Smokey Mauve"
},
{
"title" : "fame and freedom",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Fame-Freedom_medium.png?v=1633712231",
"description" : "Natural Rose"
},
{
"title" : "sabotage and the promise",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Sabotage-ThePromise_medium.png?v=1633712313",
"description" : "Rich Berry"
},
{
"title" : "situation and too shy",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Situation-TooShy_558beb3d-abfe-45c8-932b-1d69a3051315_medium.png?v=1638886120",
"description" : "Peachy Nude"
},
{
"title" : "dove blue",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_BlueMakeupBag_medium.png?v=1633712893",
"description" : "Dove blue with chartreuse zipper"
},
{
"title" : "cloud gray",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_GrayMakeupBag_medium.png?v=1633712932",
"description" : "Cloud gray with coral zipper"
},
{
"title" : "$50",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches__50_medium.png?v=1639345153",
"description" : ""
},
{
"title" : "$75",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches__75_medium.png?v=1639345302",
"description" : ""
},
{
"title" : "$100",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches__100_medium.png?v=1639345335",
"description" : ""
},
{
"title" : "$150",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches__150_medium.png?v=1639345381",
"description" : ""
},
{
"title" : "$200",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches__200_medium.png?v=1639345421",
"description" : ""
},
{
"title" : "test",
"img" : "//flyte70.com/cdn/shop/files/Flyte_Swatches_Test_medium.png?v=1666949986",
"description" : "test desc"
},
{
"title" : "trio",
"img" : "//flyte70.com/cdn/shop/files/PhotoRoom_20221004_1227372_medium.jpg?v=1666968543",
"description" : ""
},
{
"title" : "trio sample card",
"img" : "//flyte70.com/cdn/shop/files/PhotoRoom_20221004_1227372_medium.jpg?v=1666968543",
"description" : "sample product"
},
{
"title" : "discovery sampler set",
"img" : "//flyte70.com/cdn/shop/products/Sampler2Variant_medium.jpg?v=1687960893",
"description" : ""
},
{
"title" : "glowback sample set",
"img" : "//flyte70.com/cdn/shop/files/IMG_9860_medium.jpg?v=1667472598",
"description" : ""
},
{
"title" : "lip trio",
"img" : "//flyte70.com/cdn/shop/files/LipVariant_medium.jpg?v=1667384212",
"description" : "sample product"
},
{
"title" : "powder blush",
"img" : "//flyte70.com/cdn/shop/products/PowderBlushVariant_medium.jpg?v=1687960477",
"description" : ""
},
{
"title" : "star_light_bright",
"img" : "//flyte70.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif",
"description" : ""
},
{
"title" : "winter rose",
"img" : "//flyte70.com/cdn/shop/files/image_3_winter_rose_thumbnail_medium.jpg?v=1668612981",
"description" : ""
},
{
"title" : "candlelit glow",
"img" : "//flyte70.com/cdn/shop/files/image_3_candlelit_glow_thumbnail_medium.jpg?v=1668612995",
"description" : ""
},
{
"title" : "twilight tightline",
"img" : "//flyte70.com/cdn/shop/files/image_3_twilight_tightline_thumbnail_1_medium.jpg?v=1668613009",
"description" : ""
},
{
"title" : "lip.buds",
"img" : "//flyte70.com/cdn/shop/files/lip_buds_medium.png?v=1692121438",
"description" : "Customize"
},
{
"title" : "vault",
"img" : "//flyte70.com/cdn/shop/files/image_1_Vault_medium.jpg?v=1729021704",
"description" : ""
}
]
}
window.thumbnails = [];
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue.jpg?v=1687961068",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_1024x1024.jpg?v=1687961068",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_1024x1024_crop_center.jpg?v=1687961068",
"image_alt" : "Pale blue vanity case with neon yellow zipper for travel",
"image_width" : "1843",
"ratio" : "1.5956709956709956"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_mobile.jpg?v=1687961267",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_mobile_1024x1024.jpg?v=1687961267",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_mobile_1024x1024_crop_center.jpg?v=1687961267",
"image_alt" : "Pale blue vanity case with neon yellow zipper for travel",
"image_width" : "820",
"ratio" : "0.9001097694840834"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_dove_blue.jpg?v=1687961121",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_dove_blue_1024x1024.jpg?v=1687961121",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_dove_blue_1024x1024_crop_center.jpg?v=1687961121",
"image_alt" : "Corner detail of pale blue vanity case with neon yellow zipper",
"image_width" : "1593",
"ratio" : "0.837099316868103"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_dove_blue.jpg?v=1687961461",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_dove_blue_1024x1024.jpg?v=1687961461",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_dove_blue_1024x1024_crop_center.jpg?v=1687961461",
"image_alt" : "Top view of pale blue vanity case with see-through window",
"image_width" : "1593",
"ratio" : "0.837099316868103"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray.jpg?v=1687960781",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_1024x1024.jpg?v=1687960781",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_1024x1024_crop_center.jpg?v=1687960781",
"image_alt" : "Gray vanity case with neon coral zipper for travel",
"image_width" : "1843",
"ratio" : "1.5956709956709956"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_mobile.jpg?v=1687960221",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_mobile_1024x1024.jpg?v=1687960221",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_mobile_1024x1024_crop_center.jpg?v=1687960221",
"image_alt" : "Gray vanity case with neon coral zipper for travel",
"image_width" : "820",
"ratio" : "0.9001097694840834"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_cloud_gray.jpg?v=1687961185",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_cloud_gray_1024x1024.jpg?v=1687961185",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_cloud_gray_1024x1024_crop_center.jpg?v=1687961185",
"image_alt" : "Corner detail of gray vanity case with neon coral zipper",
"image_width" : "1593",
"ratio" : "0.837099316868103"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_cloud_gray.jpg?v=1687961315",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_cloud_gray_1024x1024.jpg?v=1687961315",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_cloud_gray_1024x1024_crop_center.jpg?v=1687961315",
"image_alt" : "Vanity.Case",
"image_width" : "1593",
"ratio" : "0.837099316868103"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_thumbnail.png?v=1687960051",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_thumbnail_1024x1024.png?v=1687960051",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_dove_blue_thumbnail_1024x1024_crop_center.png?v=1687960051",
"image_alt" : "Pale blue vanity case with neon yellow zipper for travel",
"image_width" : "256",
"ratio" : "1.0"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_dove_blue_thumbnail.png?v=1687959983",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_dove_blue_thumbnail_1024x1024.png?v=1687959983",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_dove_blue_thumbnail_1024x1024_crop_center.png?v=1687959983",
"image_alt" : "Corner detail of pale blue vanity case with neon yellow zipper",
"image_width" : "256",
"ratio" : "1.0"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_dove_blue_thumbnail.png?v=1687961007",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_dove_blue_thumbnail_1024x1024.png?v=1687961007",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_dove_blue_thumbnail_1024x1024_crop_center.png?v=1687961007",
"image_alt" : "Top view of pale blue vanity case with see-through window",
"image_width" : "256",
"ratio" : "1.0"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_thumbnail.png?v=1687960776",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_thumbnail_1024x1024.png?v=1687960776",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_0_cloud_gray_thumbnail_1024x1024_crop_center.png?v=1687960776",
"image_alt" : "Gray vanity case with neon coral zipper for travel",
"image_width" : "256",
"ratio" : "1.0"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_cloud_gray_thumbnail.png?v=1687960107",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_cloud_gray_thumbnail_1024x1024.png?v=1687960107",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_1_cloud_gray_thumbnail_1024x1024_crop_center.png?v=1687960107",
"image_alt" : "Corner detail of gray vanity case with neon coral zipper",
"image_width" : "256",
"ratio" : "1.0"
});
thumbnails.push({
"image" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_cloud_gray_thumbnail.png?v=1687961288",
"thumbnail" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_cloud_gray_thumbnail_1024x1024.png?v=1687961288",
"image_small" : "//flyte70.com/cdn/shop/products/Flyte_PDPImages_VanityCase_image_2_cloud_gray_thumbnail_1024x1024_crop_center.png?v=1687961288",
"image_alt" : "Top view of gray vanity case with see-through window",
"image_width" : "256",
"ratio" : "1.0"
});
window.weights = [];
window.weights.push({
"id" : 41549050970279,
"weight" : "",
});
window.weights.push({
"id" : 41549051003047,
"weight" : "",
});
let intervalId = setInterval(() => {
let imgVariants = document.querySelectorAll(".outline-none>img.rounded-full");
if (imgVariants.length) {
let elemsOutOfStock = document.querySelectorAll(".variant-out-of-stock");
let variantTitle1 = imgVariants[0].getAttribute("alt");
let outOfStockEl1 = document.querySelector(`div[data-title="${variantTitle1.split(' ').join('')}"]`);
if (outOfStockEl1 && imgVariants[0].classList.contains('border-red')) {
elemsOutOfStock.forEach((el) => el.style.display = 'none');
outOfStockEl1.style.display = 'block';
} else if (imgVariants[0].classList.contains('border-red')) {
elemsOutOfStock.forEach((el) => el.style.display = 'none');
}
imgVariants.forEach((el) => {
let observer = new MutationObserver(function (MutationRecord) {
let variantTitle = MutationRecord[0].target.getAttribute("alt");
let outOfStockEl = document.querySelector(`div[data-title="${variantTitle.split(' ').join('')}"]`);
if (outOfStockEl && MutationRecord[0].target.classList.contains('border-red')) {
elemsOutOfStock.forEach((el) => el.style.display = 'none');
outOfStockEl.style.display = 'block';
} else if (MutationRecord[0].target.classList.contains('border-red')) {
elemsOutOfStock.forEach((el) => el.style.display = 'none');
}
});
observer.observe(el, {
attributes: true,
attributeFilter: ['class'],
childList: false,
characterData: false
})
});
clearInterval(intervalId);
}
}, 200);
setTimeout(() => {
clearInterval(intervalId);
}, 5000)