.elly-search-toggle,
.elly-utilities,
.elly-utilities-close,
.elly-utility-links,
.elly-splash{display:none}

html.elly-launch{background:#faf7f4}
html.elly-launch .elly-splash{
  display:flex;
  position:fixed;
  z-index:120;
  inset:0;
  align-items:center;
  justify-content:center;
  padding:calc(24px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) calc(20px + env(safe-area-inset-left));
  background:#faf7f4;
  animation:elly-splash-in .7s ease both
}
html.elly-launch .elly-splash img{
  width:min(72vw,420px);
  height:auto;
  max-height:42vh;
  object-fit:contain;
  animation:elly-splash-mark .9s ease both
}
html.elly-launch .elly-splash-continue{
  position:absolute;
  left:50%;
  bottom:calc(28px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  min-height:44px;
  padding:0 22px;
  border-radius:999px;
  background:#620d2e;
  color:#fff7ef;
  font-weight:700;
  opacity:0;
  animation:elly-splash-continue 3.4s ease forwards
}
html.elly-splash-done .elly-splash{animation:elly-splash-out .42s ease both}
@keyframes elly-splash-in{from{opacity:0}to{opacity:1}}
@keyframes elly-splash-mark{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes elly-splash-out{to{opacity:0;visibility:hidden}}
@keyframes elly-splash-continue{0%,78%{opacity:0}100%{opacity:1}}
@media (prefers-reduced-motion:reduce){
  html.elly-launch .elly-splash,
  html.elly-launch .elly-splash img,
  html.elly-splash-done .elly-splash{animation:none}
  html.elly-launch .elly-splash{opacity:1}
}

@media (max-width:767px){
  .elly-search-toggle,
  .elly-utilities{display:inline-flex}
  .announcement{display:none}
  body.elly-utilities-open{overflow:hidden}
  body.elly-utilities-open::before{content:"";position:fixed;inset:0;z-index:85;background:#34071466}
  body.elly-utilities-open .announcement{
    display:grid;
    position:fixed;
    z-index:90;
    right:0;
    bottom:0;
    left:0;
    max-height:min(82vh,640px);
    overflow:auto;
    padding:12px 16px calc(20px + env(safe-area-inset-bottom));
    border-radius:20px 20px 0 0;
    background:#faf7f4;
    color:#211519;
    gap:12px
  }
  body.elly-utilities-open .announcement-message,
  body.elly-utilities-open .shipping-information{display:none}
  body.elly-utilities-open .elly-utilities-close{display:inline-flex;align-self:end;min-height:44px;padding:0 8px;border:0;background:transparent;color:#620d2e;font-weight:700}
  body.elly-utilities-open .announcement-tools{display:grid;gap:10px;color:#211519}
  body.elly-utilities-open .announcement-tools > *{border:0;padding:0;min-height:44px;color:#211519}
  body.elly-utilities-open .announcement-tools > a,
  body.elly-utilities-open .elly-utility-links a{display:flex;align-items:center;min-height:48px;padding:0 12px;border:1px solid #e9ded6;border-radius:12px;background:#fff;color:#340714;font-weight:700}
  body.elly-utilities-open .elly-country select,
  body.elly-utilities-open .preference-form select{
    width:100%;
    min-height:48px;
    padding:0 12px;
    border:1px solid #e9ded6;
    border-radius:12px;
    background:#fff;
    color:#211519;
    font-size:16px
  }
  body.elly-utilities-open .elly-lang{width:100%;min-height:48px;border-color:#d5ad78;color:#340714;background:#fff}
  body.elly-utilities-open .elly-utility-links{display:grid;gap:10px}

  .site-header{
    position:sticky;
    top:0;
    z-index:30;
    grid-template-columns:minmax(0,1fr) auto auto;
    min-height:56px;
    padding:8px 12px;
    gap:8px;
    background:#faf7f4ee;
    backdrop-filter:blur(10px)
  }
  .elly-brand-row{grid-column:1;grid-row:1;gap:8px}
  .elly-search-toggle{grid-column:2;grid-row:1}
  .elly-utilities{grid-column:3;grid-row:1}
  .mobile-menu-toggle,
  .primary-navigation,
  .header-actions{display:none !important}
  .header-search{display:none;grid-column:1 / -1;grid-row:2}
  body.elly-search-open .header-search,
  body.search .header-search{display:flex}
  body.home .homepage-content .elly-hero{display:flex;flex-direction:column;min-height:0}body.home .homepage-content .elly-hero-media{order:-1;height:clamp(168px,46vw,220px)}body.home .homepage-content .elly-hero-copy{padding:16px 16px 12px}body.home .homepage-content .elly-hero h1{font-size:28px;line-height:1.25}body.home .homepage-content .elly-hero-description{margin:8px 0 12px;font-size:14px;line-height:1.5}body.home .homepage-content .eh-circle-row{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}body.home .homepage-content .eh-circle{flex:0 0 84px;width:84px;scroll-snap-align:start}body.home .homepage-content .eh-circle img{width:72px;height:72px;border-radius:50%;object-fit:cover}body.home .homepage-content .eh-edit-grid,body.home .homepage-content .eh-season-grid,body.home .homepage-content .eh-style-grid,body.home .homepage-content .eh-campaign-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.home .homepage-content .eh-edit-tile,body.home .homepage-content .eh-season-card,body.home .homepage-content .eh-style-card,body.home .homepage-content .eh-campaign-tile{position:relative;display:block;aspect-ratio:3/4;min-height:0;height:auto;overflow:hidden}body.home .homepage-content .eh-edit-tile img,body.home .homepage-content .eh-season-card img,body.home .homepage-content .eh-style-card img,body.home .homepage-content .eh-style-card picture,body.home .homepage-content .eh-campaign-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}body.home .homepage-content .eh-edit-tile > span,body.home .homepage-content .eh-season-card > span,body.home .homepage-content .eh-style-card > span,body.home .homepage-content .eh-campaign-copy{position:absolute;inset:auto 0 0;margin:0;padding:28px 8px 8px;background:linear-gradient(transparent,#340714d4);color:#fff7ef;font-size:13px;line-height:1.3}body.home .homepage-content .eh-campaign-copy em{display:none}body.home .homepage-content .eh-campaign-copy strong,body.home .homepage-content .eh-shop-now{color:#fff7ef}html body .site-header .elly-brand-row .brand--image .brand-image{width:auto;max-width:min(180px,52vw);max-height:36px}
  .elly-shell-title{font-size:16px;line-height:1.3}
  body.home:not(.elly-categories) .elly-brand-home{display:block}
  body.elly-categories .elly-brand-home{display:none}
  body.elly-categories .elly-back{display:inline-flex;width:44px;height:44px}
  body.elly-categories .elly-shell-title{display:block}

  body.home .homepage-content .eh-department-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  body.home .homepage-content .eh-department{aspect-ratio:1 / 1.08}
  body.home .homepage-content .eh-department span{font-size:13px;padding:28px 8px 8px}
  body.home .homepage-content .eh-collections{padding-block:18px 8px}
  body.home .homepage-content .eh-heading{margin-bottom:12px}
  body.home .homepage-content .eh-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.home .homepage-content .eh-collection,
  body.home .homepage-content .eh-layout-editorial .eh-collection:first-child,
  body.home .homepage-content .eh-layout-editorial .eh-collection:last-child,
  body.home .homepage-content .eh-layout-asymmetric .eh-collection,
  body.home .homepage-content .eh-layout-split .eh-collection{
    display:block;
    position:relative;
    grid-column:auto;
    aspect-ratio:3 / 4;
    min-height:0;
    overflow:hidden;
    color:#fff7ef
  }
  body.home .homepage-content .eh-collection .eh-image,
  body.home .homepage-content .eh-layout-editorial .eh-collection:first-child .eh-image,
  body.home .homepage-content .eh-layout-editorial .eh-collection:last-child .eh-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    order:0
  }
  body.home .homepage-content .eh-collection .eh-image img{width:100%;height:100%;object-fit:cover}
  body.home .homepage-content .eh-copy,
  body.home .homepage-content .eh-layout-editorial .eh-collection:first-child .eh-copy,
  body.home .homepage-content .eh-layout-editorial .eh-collection:last-child .eh-copy,
  body.home .homepage-content .eh-layout-asymmetric .eh-copy,
  body.home .homepage-content .eh-layout-split .eh-copy{
    position:absolute;
    inset:auto 0 0;
    width:auto;
    min-height:0;
    height:auto;
    padding:42px 12px 12px;
    background:linear-gradient(transparent,#340714d4);
    color:#fff7ef;
    justify-content:flex-end
  }
  body.home .homepage-content .eh-copy h3,
  body.home .homepage-content .eh-layout-asymmetric .eh-copy h3,
  body.home .homepage-content .eh-layout-split .eh-copy h3{margin:0;color:#fff7ef;font-size:16px;line-height:1.3}
  body.home .homepage-content .eh-copy p,
  body.home .homepage-content .eh-index{display:none}
  body.home .homepage-content .eh-link{color:#fff7ef;font-size:12px}
  body.home .homepage-content .eh-products{padding-block:16px}
  body.home .homepage-content .eh-tabs .eh-products{padding:0;background:transparent}
  body.home .homepage-content .eh-tabs .eh-products .eh-heading{display:none}
  body.home .homepage-content .eh-promo-row{grid-template-columns:1fr;gap:10px}
  body.home .homepage-content .eh-promo{min-height:0;aspect-ratio:16 / 9}
  body.home .homepage-content .eh-campaign a{min-height:0;aspect-ratio:16 / 9}
  body.home .homepage-content .eh-campaign img{height:100%;object-fit:cover}

  body.woocommerce ul.products li.product .woocommerce-loop-product__title,
  body.home ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em;font-size:14px;line-height:1.4}
  body.woocommerce ul.products li.product .price,
  body.home ul.products li.product .price{font-size:14px}
  .elly-filter-open{min-height:44px;border-radius:999px}

  body.elly-filters-open .elly-filter-panel,
  #elly-filters{
    border-radius:20px 20px 0 0;
    background:#faf7f4
  }
  #elly-filters .elly-filter-head{padding:14px 16px 8px}
  #elly-filters .elly-filter-head h2{font-size:18px}
  #elly-filters .elly-filter-scroll{padding:0 16px 12px}
  #elly-filters .elly-filter-group{border-bottom:1px solid #e9ded6}
  #elly-filters .elly-filter-group summary{min-height:48px;font-size:15px}
  #elly-filters .elly-filter-body label{display:flex;align-items:center;gap:8px;min-height:40px;font-size:15px}
  #elly-filters input[type=checkbox]{width:18px;height:18px;accent-color:#620d2e}
  #elly-filters .elly-filter-actions{
    position:sticky;
    bottom:0;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:#faf7f4;
    border-top:1px solid #e9ded6
  }
  #elly-filters .elly-filter-actions button,
  #elly-filters .elly-filter-actions a{min-height:48px;border-radius:999px}

  .elly-cats{width:min(100% - 24px,720px);margin:12px auto 8px}
  .elly-cats-path{display:flex;flex-wrap:wrap;gap:6px 10px;margin:0 0 12px;color:#6d5a5e;font-size:13px}
  .elly-cats-path a{color:#620d2e;font-weight:700}
  .elly-cats-all{display:flex;align-items:center;justify-content:center;min-height:48px;margin-bottom:12px;border:1px solid #d5ad78;border-radius:14px;background:#fff;color:#340714;font-weight:700}
  .elly-cats-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
  .elly-cats-list a{display:grid;grid-template-columns:64px minmax(0,1fr) 18px;gap:12px;align-items:center;min-height:76px;padding:8px;border:1px solid #e9ded6;border-radius:16px;background:#fff;color:#211519}
  .elly-cats-list img,
  .elly-cats-mark{width:64px;height:64px;border-radius:12px;object-fit:cover;background:#f3eee9}
  .elly-cats-mark{display:grid;place-items:center;color:#620d2e;font-weight:700}
  .elly-cats-list a > span{font-size:16px;font-weight:700;line-height:1.35}
  .elly-cats-list i{width:8px;height:8px;border-top:1.6px solid #620d2e;border-right:1.6px solid #620d2e;transform:rotate(45deg)}
  html[dir=rtl] .elly-cats-list i{transform:rotate(-135deg)}

  body.single-product .commerce-content{padding-bottom:28px}
  body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image img{aspect-ratio:3 / 4;object-fit:cover}
  body.single-product form.cart{border-radius:16px}
  body.single-product .related.products{margin-top:18px}

  body.woocommerce-cart .elly-cart-title,
  body.woocommerce-checkout .elly-checkout h1,
  body.woocommerce-account h1{font-size:24px;line-height:1.3}
  body.woocommerce-cart .elly-cart-row{align-items:start}
  body.woocommerce-account .elly-account-grid{grid-template-columns:1fr 1fr;gap:10px}
  body.woocommerce-account .elly-account-grid a{min-height:88px}
  body.woocommerce-account .elly-auth input,
  body.woocommerce-checkout .form-row input,
  body.woocommerce-checkout .form-row select,
  body.woocommerce-checkout .form-row textarea{font-size:16px}
}
@media (max-width:359px){
  body.home .homepage-content .eh-department-row,
  body.woocommerce-account .elly-account-grid{grid-template-columns:1fr 1fr}
}
