(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
You May Also Like
${data.index + 1}/7
Description
Step Out in Timeless Elegance
This dress brings out a sense of natural elegance that’s perfect for both day and night. Whether you’re headed to a brunch or an evening event, this dress will keep you looking chic and feeling comfortable all day.
Why You'll Love This Dress
Elegant Fit - Designed to flatter your figure while keeping a relaxed, comfortable feel.
Breathable Chiffon - Crafted from soft, premium chiffon to keep you cool and light.
Versatile Look - Ideal for both casual outings and formal gatherings, fitting every occasion.
Easy Care - High-quality material that’s easy to maintain and long-lasting.
Feel-Good Fashion - Ethically made with attention to every detail for a dress you can feel good about wearing.