/* ============================================================
   ENNIF Animation Layer — R6 2026-11-05 (v=20261105c)
   Wave Cascade scroll reveal (Ibrar's explicit 2026-11-05 order,
   overriding his 2026-11-03 "not Wave Cascade" choice), fly-to-cart,
   checkout spinner + success check, hero entrance, smooth drawers.
   - Hidden states exist ONLY under html.ennif-anim-js (added by JS),
     so content is fully visible when JS is off/fails.
   - No prefers-reduced-motion gating anywhere (standing rule).
   ============================================================ */

/* ---------- 1. WAVE CASCADE REVEAL ---------- */
html.ennif-anim-js .ennif-pop {
  opacity: 0;
  transform: translateY(34px);
  will-change: transform, opacity;
}
html.ennif-anim-js .ennif-pop.ennif-in {
  opacity: 1;
  transform: translateY(0);
  /* R8.3: slower rise/fade (.9s/.7s, was .7s/.5s). The R8.1 fade was
     mostly spent before elements actually entered the viewport, so
     the cascade read as instant on a phone. Paired with the R8.3
     trigger fix in ennif-anim.js (true-intersection, no lookahead),
     the wave now plays ON screen. */
  transition: transform .9s cubic-bezier(.34,1.56,.64,1), opacity .7s ease;
  will-change: auto;
}
/* R8.1: the old .ennif-force state is abolished together with the
   blanket timed sweeps that applied it. Reveals are viewport-scoped
   in JS now; no CSS state force-shows off-screen elements. */

/* ---------- 4a. HERO ENTRANCE ---------- */
html.ennif-anim-js .ennif-hero .slideshow__media img,
html.ennif-anim-js .ennif-hero .hero-banner-image img,
html.ennif-anim-js .ennif-hero .slideshow-picture img {
  animation: ennifHeroImg 1.9s cubic-bezier(.22,.8,.3,1) both;
}
@keyframes ennifHeroImg {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
html.ennif-anim-js .ennif-hero .slideshow-text,
html.ennif-anim-js .ennif-hero .banner__box {
  animation: ennifHeroText .85s .2s cubic-bezier(.2,.8,.3,1) both;
}
html.ennif-anim-js .ennif-hero .slideshow-text > *,
html.ennif-anim-js .ennif-hero .banner__box > * {
  animation: ennifHeroText .8s cubic-bezier(.2,.8,.3,1) both;
}
html.ennif-anim-js .ennif-hero .slideshow-text > *:nth-child(1),
html.ennif-anim-js .ennif-hero .banner__box > *:nth-child(1) { animation-delay: .3s; }
html.ennif-anim-js .ennif-hero .slideshow-text > *:nth-child(2),
html.ennif-anim-js .ennif-hero .banner__box > *:nth-child(2) { animation-delay: .45s; }
html.ennif-anim-js .ennif-hero .slideshow-text > *:nth-child(3),
html.ennif-anim-js .ennif-hero .banner__box > *:nth-child(3) { animation-delay: .6s; }
html.ennif-anim-js .ennif-hero .slideshow-text > *:nth-child(n+4),
html.ennif-anim-js .ennif-hero .banner__box > *:nth-child(n+4) { animation-delay: .72s; }
@keyframes ennifHeroText {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 4b. HEADER / ANNOUNCEMENT ENTRANCE ---------- */
html.ennif-anim-js .ennif-top-announcement-bar,
html.ennif-anim-js .announcement-bar {
  animation: ennifFadeIn .6s ease both;
}
html.ennif-anim-js header.header,
html.ennif-anim-js .site-header {
  animation: ennifHeaderIn .55s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes ennifHeaderIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ennifFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- 4c. CARD HOVER LIFT (fine pointers only) ---------- */
@media (hover: hover) and (pointer: fine) {
  .grid__item .card,
  .grid__item .card-wrapper {
    transition: transform .35s ease, box-shadow .35s ease;
  }
  .grid__item:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(18,18,18,.10);
  }
}

/* ---------- 2. ADD-TO-CART FEEDBACK ---------- */
.ennif-fly-img {
  position: fixed;
  z-index: 9999999;
  border-radius: 6px;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.ennif-badge-pop {
  animation: ennifBadgePop .5s cubic-bezier(.2,.9,.3,1.5) both !important;
}
@keyframes ennifBadgePop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}
.ennif-icon-pop {
  animation: ennifIconPop .5s cubic-bezier(.2,.9,.3,1.5) both;
}
@keyframes ennifIconPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.22); }
  100% { transform: scale(1); }
}
.ennif-added-pulse {
  animation: ennifBtnPulse .55s ease both;
}
@keyframes ennifBtnPulse {
  0% { transform: scale(1); }
  30% { transform: scale(.965); }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
/* toast slides up instead of snapping */
#ennifToast {
  animation: ennifToastIn .35s cubic-bezier(.2,.9,.3,1.3) both;
}
@keyframes ennifToastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------- 3. CHECKOUT: SPINNER + SUCCESS ---------- */
#btnPlaceOrder.ennif-processing {
  position: relative;
  pointer-events: none;
  opacity: .92;
}
#btnPlaceOrder.ennif-processing::before {
  content: "";
  display: inline-block;
  width: 16px; height: 16px;
  margin-right: 10px;
  vertical-align: -3px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ennifSpin .7s linear infinite;
}
@keyframes ennifSpin { to { transform: rotate(360deg); } }

#orderConfirmationSection.ennif-conf-in {
  animation: ennifConfIn .6s cubic-bezier(.2,.9,.3,1.3) both;
}
@keyframes ennifConfIn {
  from { opacity: 0; transform: scale(.94) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ennif-success-check {
  display: block;
  margin: 4px auto 14px;
  width: 74px; height: 74px;
}
.ennif-success-check circle {
  fill: none;
  stroke: #1a7f4b;
  stroke-width: 2.4;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: ennifStrokeDraw .6s ease-out both;
}
.ennif-success-check path {
  fill: none;
  stroke: #1a7f4b;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: ennifStrokeDraw .4s .5s ease-out both;
}
@keyframes ennifStrokeDraw { to { stroke-dashoffset: 0; } }

/* ---------- 6. CART / CHECKOUT PAGE ENTRANCE ---------- */
html.ennif-anim-js .ennif-cart-container,
html.ennif-anim-js .checkout-wrapper {
  animation: ennifViewIn .55s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes ennifViewIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- 5. MOBILE DRAWER SMOOTHNESS ---------- */
/* Theme drawer (homepage / collections / PDP): transition must exist
   in BOTH states or closing snaps shut when [open] is removed. */
header #menu-drawer.menu-drawer,
.header-wrapper #menu-drawer.menu-drawer {
  transition: transform .38s cubic-bezier(.16,1,.3,1), opacity .3s ease, visibility 0s linear .38s !important;
}
header details[open] #menu-drawer.menu-drawer,
.header-wrapper details[open] #menu-drawer.menu-drawer,
header #menu-drawer.menu-drawer--is-open,
.header-wrapper #menu-drawer.menu-drawer--is-open {
  transition: transform .38s cubic-bezier(.16,1,.3,1), opacity .3s ease, visibility 0s !important;
}
/* Close slide via the `translate` property: no existing rule sets
   it, so this transition always wins visually, composing on top of
   the drawer's contested transform rules. */
header #menu-drawer.ennif-closing,
.header-wrapper #menu-drawer.ennif-closing {
  translate: -102% 0;
  opacity: 0 !important;
  transition: translate .38s cubic-bezier(.16,1,.3,1), opacity .3s ease !important;
}
/* drawer links stagger in lightly when open */
header #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li,
.header-wrapper #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li {
  animation: ennifLinkIn .45s cubic-bezier(.2,.8,.3,1) both;
}
header #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li:nth-child(2) { animation-delay: .05s; }
header #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li:nth-child(3) { animation-delay: .10s; }
header #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li:nth-child(4) { animation-delay: .15s; }
header #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li:nth-child(5) { animation-delay: .20s; }
header #menu-drawer.menu-drawer--is-open .menu-drawer__menu > li:nth-child(n+6) { animation-delay: .25s; }
@keyframes ennifLinkIn {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* Inner-pages drawer (pages/* template): keep its .35s slide, add link stagger */
.mobile-drawer.is-active .mobile-drawer-menu li {
  animation: ennifLinkIn .45s cubic-bezier(.2,.8,.3,1) both;
}
.mobile-drawer.is-active .mobile-drawer-menu li:nth-child(2) { animation-delay: .05s; }
.mobile-drawer.is-active .mobile-drawer-menu li:nth-child(3) { animation-delay: .10s; }
.mobile-drawer.is-active .mobile-drawer-menu li:nth-child(4) { animation-delay: .15s; }
.mobile-drawer.is-active .mobile-drawer-menu li:nth-child(5) { animation-delay: .20s; }
.mobile-drawer.is-active .mobile-drawer-menu li:nth-child(n+6) { animation-delay: .25s; }

/* ============================================================
   R8 — 2026-11-09 (v=20261109a) — ALL 38 APPROVED ANIMATIONS
   R8.1 — 2026-11-09 (v=20261109b): reveal failsafes are viewport-
   scoped in JS (no blanket sweeps, no .ennif-force state), blur-up
   and grid-hiding deleted, cascade coverage extended.
   R8.4 — 2026-11-17 (v=20261117a): sticky-header specificity fix
   (G3, in section 2 below); press / added-state / gallery-settle /
   newsletter additions in the R8.4 block at the end of this file.
   Same hard rules: NO prefers-reduced-motion gating; hidden
   states only under html.ennif-anim-js; every hidden element
   class used here is either entrance-only (both-states keyframes
   ending visible) or revealed by the viewport-scoped JS system.
   ============================================================ */

/* ---------- 34. PAGE FADE-IN ---------- */
html.ennif-anim-js body { animation: ennifPageIn .38s ease both; }
@keyframes ennifPageIn { from { opacity: 0; } to { opacity: 1; } }
html.ennif-page-leaving body { opacity: 0 !important; transition: opacity .18s ease; }

/* ---------- 1. ANNOUNCEMENT ROTATOR ---------- */
#ennif-top-announcement-bar .announcement-content { position: relative; display: block; }
.ennif-ann8-slide { display: block; transition: opacity .45s ease, transform .45s ease; }
.ennif-ann8-slide.ennif-ann8-out { opacity: 0; transform: translateY(-8px); position: absolute; left: 0; right: 0; top: 0; }
.ennif-ann8-slide.ennif-ann8-pre { opacity: 0; transform: translateY(8px); }

/* ---------- 2. STICKY HEADER (scroll-up reveal + shrink) ---------- */
.ennif-sticky-armed {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important;
  z-index: 1200 !important; transform: translateY(-110%);
  transition: transform .38s cubic-bezier(.16,1,.3,1) !important;
  box-shadow: 0 6px 24px rgba(15,23,42,.10);
  /* R8.2: the armed (fixed) header must be SOLID white — without this the
     page photos showed straight through the nav strip (Snow, 2026-11-09). */
  background: #ffffff !important;
}
.ennif-sticky-armed.ennif-sticky-on { transform: translateY(0); }
.ennif-sticky-armed .header__heading-logo { height: 50px !important; max-height: 54px !important; transition: height .3s ease; }
.ennif-sticky-armed.header, .ennif-sticky-armed.site-header { padding-top: 6px !important; padding-bottom: 6px !important; }
header.site-header { transition: padding .3s ease; }
/* R8.4 (G3): the theme's inline guarantee block carries
   `div.header-wrapper { position: relative !important }`
   (specificity 0,1,1), which beats the armed rule above (0,1,0)
   even though both are !important — so on the homepage and the
   collection pages the wrapper never actually went fixed and the
   sticky header never stuck there. This selector (0,2,1) wins.
   Only `position` is overridden; top/left/right/z-index/transform
   and the R8.2 solid white background all come from the armed
   rule, and the JS body-padding compensation keeps the content
   jump at 0px (verified in the R8.4 battery). */
div.header-wrapper.ennif-sticky-armed {
  position: fixed !important;
}

/* ---------- 3. HERO SLIDER ENGINE (active only with 2+ slides) ---------- */
.ennif-hero-multi .swiper-wrapper { position: relative !important; }
.ennif-hero-multi .swiper-slide {
  display: block !important; position: absolute !important; inset: 0 !important;
  opacity: 0; transition: opacity .9s ease; pointer-events: none;
}
.ennif-hero-multi .swiper-slide.ennif-hero-current { opacity: 1; position: relative !important; pointer-events: auto; z-index: 2; }
.ennif-hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 20; }
.ennif-hero-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: background .3s ease, transform .3s ease; }
.ennif-hero-dot.ennif-hero-dot-on { background: #fff; transform: scale(1.25); }

/* ---------- 4. WHAT'S TRENDING TAB GRID ---------- */
@keyframes ennifGridIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.ennif-grid-in { animation: ennifGridIn .5s cubic-bezier(.2,.8,.3,1) both; }

/* ---------- 5. CAROUSELS: SMOOTH SLIDE ---------- */
.whatnew-collection-tab.swiper-wrapper, ul.whatnew-collection-tab { transition: transform .55s cubic-bezier(.25,1,.4,1) !important; }
.special-collection__collection-wrapper { transition: transform .5s cubic-bezier(.25,1,.4,1); }

/* ---------- 6. TILES ZOOM + OVERLAY (fine pointers) ---------- */
@media (hover: hover) and (pointer: fine) {
  .special-collection__image { overflow: hidden; }
  .special-collection__image img { transition: transform .8s cubic-bezier(.2,.8,.3,1); }
  .special-collection:hover .special-collection__image img { transform: scale(1.06); }
  .special-collection__text { transition: transform .5s cubic-bezier(.2,.8,.3,1); }
  .special-collection:hover .special-collection__text { transform: translateY(-4px); }
  .rollover-item img, .rollover-items img { transition: transform .8s cubic-bezier(.2,.8,.3,1); }
  .rollover-item:hover img, .rollover-items a:hover img { transform: scale(1.05); }
}

/* ---------- 8. TESTIMONIAL ROTATION ---------- */
.ennif-review-card { transition: transform .6s cubic-bezier(.2,.8,.3,1), box-shadow .6s ease, opacity .6s ease; }
.ennif-review-card.ennif-review-active { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 34px rgba(15,23,42,.12) !important; }
.ennif-review-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.ennif-review-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; border: none; cursor: pointer; padding: 0; transition: background .3s ease, transform .3s ease; }
.ennif-review-dot.ennif-review-dot-on { background: #121212; transform: scale(1.3); }
@keyframes ennifStarPop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.25); } 100% { transform: scale(1); opacity: 1; } }
.ennif-review-card.ennif-review-active .ennif-review-stars { animation: ennifStarPop .5s cubic-bezier(.2,.9,.3,1.4) both; display: inline-block; }

/* ---------- 9. INSTAGRAM TILES ---------- */
.ennif-insta-tile { position: relative !important; }
.ennif-insta-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.45); opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.ennif-insta-overlay svg { width: 34px; height: 34px; transform: scale(.7); transition: transform .35s cubic-bezier(.2,.9,.3,1.4); }
@media (hover: hover) and (pointer: fine) {
  .ennif-insta-tile img { transition: transform .6s cubic-bezier(.2,.8,.3,1) !important; }
  .ennif-insta-tile:hover img { transform: scale(1.08); }
  .ennif-insta-tile:hover .ennif-insta-overlay { opacity: 1; }
  .ennif-insta-tile:hover .ennif-insta-overlay svg { transform: scale(1); }
}

/* ---------- 10. FOOTER LINKS + SOCIALS ---------- */
@media (hover: hover) and (pointer: fine) {
  footer a, .site-footer a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s ease, transform .3s ease; }
  footer a:hover, .site-footer a:hover { background-size: 100% 1px; }
  .footer-social-link:hover, .mobile-social-icon:hover, .footer-brand-social a:hover { transform: translateY(-3px); }
}
.footer-social-link, .mobile-social-icon { display: inline-block; transition: transform .3s ease; }

/* ---------- 11. BACK TO TOP ---------- */
#ennifBackTop {
  position: fixed; right: 24px; bottom: 96px; z-index: 9500; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid #121212; background: #121212; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
  box-shadow: 0 8px 22px rgba(15,23,42,.25);
}
#ennifBackTop.ennif-btt-on { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .35s ease, transform .35s ease; }
@media screen and (max-width: 768px) { #ennifBackTop { right: 16px; bottom: 82px; width: 42px; height: 42px; } }

/* ---------- 12. MAIN BUTTONS: FILL SWEEP ---------- */
@media (hover: hover) and (pointer: fine) {
  .ennif-action-btn, .place-order-btn, .checkout-btn, .search-btn, .btn-submit, .ennif-look-add-btn {
    position: relative; overflow: hidden; z-index: 0; transition: color .3s ease;
  }
  .ennif-action-btn::after, .place-order-btn::after, .checkout-btn::after, .search-btn::after, .btn-submit::after, .ennif-look-add-btn::after {
    content: ""; position: absolute; inset: 0; background: rgba(197,155,39,.28); z-index: -1;
    transform: translateX(-101%); transition: transform .38s cubic-bezier(.2,.8,.3,1);
  }
  .ennif-action-btn:hover::after, .place-order-btn:hover::after, .checkout-btn:hover::after, .search-btn:hover::after, .btn-submit:hover::after, .ennif-look-add-btn:hover::after { transform: translateX(0); }
}

/* ---------- 13. FILTER PANELS ---------- */
.facets__disclosure .facets__display { animation: ennifPanelIn .32s cubic-bezier(.2,.8,.3,1) both !important; transform-origin: top center; }
@keyframes ennifPanelIn { from { opacity: 0; transform: translateY(-8px) scaleY(.97); } to { opacity: 1; transform: translateY(0) scaleY(1); } }
.ennif-filter-dropdown { transition: border-color .25s ease, box-shadow .25s ease, transform .15s ease; }
.ennif-filter-dropdown:active { transform: scale(.985); }

/* ---------- 14. EMPTY-GRID SKELETON (R8.1: overlay only) ----------
   The skeleton is only inserted when the product grid is genuinely
   empty (see r8Skeleton in ennif-anim.js); it never hides the grid.
   R8's blur-up image rules are DELETED: card images load normally,
   with no blur and no timed sharpen sweep. */
#ennifGridSkeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; padding: 10px 0 26px; list-style: none; margin: 0; }
.ennif-skel-card { border-radius: 4px; overflow: hidden; }
.ennif-skel-img { aspect-ratio: 2/3; background: linear-gradient(100deg, #eceff3 40%, #f7f9fb 50%, #eceff3 60%); background-size: 200% 100%; animation: ennifShimmer 1.1s linear infinite; }
.ennif-skel-line { height: 12px; margin-top: 10px; border-radius: 6px; background: linear-gradient(100deg, #eceff3 40%, #f7f9fb 50%, #eceff3 60%); background-size: 200% 100%; animation: ennifShimmer 1.1s linear infinite; }
@keyframes ennifShimmer { from { background-position: 180% 0; } to { background-position: -20% 0; } }

/* ---------- 15/16. CARD SIZE BAR + GRID FADE ---------- */
li.grid__item .hover-content { transition: opacity .3s ease; }
li.grid__item .hover-content .img_hove_sizes { transition: transform .35s cubic-bezier(.2,.9,.3,1.2); }
@media (hover: hover) and (pointer: fine) {
  li.grid__item .hover-content .img_hove_sizes { transform: translateY(10px); }
  li.grid__item:hover .hover-content .img_hove_sizes { transform: translateY(0); }
  .img_hove_sizes li.available { cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease; }
  .img_hove_sizes li.available:hover { background: #121212; color: #fff; }
  .img_hove_sizes li.available:active { transform: scale(.92); }
}
#product-grid.ennif-grid-fading, .whatnew-collection-tab.ennif-grid-fading { opacity: 0; transform: translateY(10px); transition: opacity .28s ease, transform .28s ease !important; }
#product-grid, .whatnew-collection-tab { transition: opacity .35s ease, transform .35s ease; }
.ennif-quick-added { animation: ennifBadgePop .5s cubic-bezier(.2,.9,.3,1.5) both; }

/* ---------- 17/18. PDP GALLERY ---------- */
#ennifMainProductImg, .ennif-main-img { transition: opacity .22s ease, transform .35s ease; }
#ennifMainProductImg.ennif-gal-out, .ennif-main-img.ennif-gal-out { opacity: 0; transform: scale(.985); }
.ennif-thumb-item { transition: border-color .25s ease, transform .2s ease, box-shadow .25s ease; }
.ennif-thumb-item.active { box-shadow: 0 0 0 2px rgba(18,18,18,.15); }
#ennifLightbox { position: fixed; inset: 0; z-index: 999990; background: rgba(10,12,16,.88); display: none; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
#ennifLightbox.ennif-lb-open { display: flex; }
#ennifLightbox img { max-width: min(92vw, 760px); max-height: 90vh; object-fit: contain; border-radius: 4px; animation: ennifLbIn .38s cubic-bezier(.2,.9,.3,1.25) both; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
@keyframes ennifLbIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
#ennifLightbox .ennif-lb-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff; font-size: 34px; cursor: pointer; line-height: 1; }

/* ---------- 19/20. SIZE POP / SHAKE / QTY POP ---------- */
@keyframes ennifSizePop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
.ennif-size-pop { animation: ennifSizePop .35s cubic-bezier(.2,.9,.3,1.4) both; }
@keyframes ennifShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.ennif-shake { animation: ennifShake .4s ease both; }
@keyframes ennifNumPop { 0% { transform: scale(1); } 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.ennif-num-pop { animation: ennifNumPop .3s cubic-bezier(.2,.9,.3,1.4) both; display: inline-block; }

/* ---------- 21/36. ACCORDION SLIDE (shared engine) ---------- */
.ennif-acc-anim { overflow: hidden; transition: height .38s cubic-bezier(.25,1,.4,1), opacity .3s ease; }
.ennif-accordion-icon, .ennif-faq-icon { transition: transform .35s cubic-bezier(.2,.8,.3,1); display: inline-block; }
.ennif-accordion.open .ennif-accordion-icon { transform: rotate(180deg); }
.ennif-faq-acc { border-bottom: 1px solid #e2e8f0; }
.ennif-faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: none; border: none; padding: 16px 0; cursor: pointer; text-align: left; font: inherit; }
.ennif-faq-btn h2, .ennif-faq-btn span.ennif-faq-q { font-size: 17px; font-weight: 700; color: #121212; margin: 0; line-height: 1.4; }
.ennif-faq-panel { overflow: hidden; }
.ennif-faq-panel-inner { padding: 0 0 16px 0; }
.ennif-faq-panel-inner p { margin: 0; }
.ennif-faq-acc.open .ennif-faq-icon { transform: rotate(45deg); }
.ennif-faq-icon { font-size: 20px; font-weight: 400; color: #64748b; flex: 0 0 auto; }

/* ---------- 22. STICKY ADD-TO-BAG BAR ---------- */
#ennifStickyBar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9400; background: #fff;
  border-top: 1px solid #e2e8f0; box-shadow: 0 -8px 28px rgba(15,23,42,.13);
  display: flex; align-items: center; gap: 14px; padding: 10px 18px; box-sizing: border-box;
  transform: translateY(110%); transition: transform .42s cubic-bezier(.16,1,.3,1);
}
#ennifStickyBar.ennif-stickybar-on { transform: translateY(0); }
#ennifStickyBar img { width: 42px; height: 56px; object-fit: cover; border-radius: 3px; }
#ennifStickyBar .ennif-sb-info { flex: 1; min-width: 0; }
#ennifStickyBar .ennif-sb-title { font-size: 14px; font-weight: 700; color: #121212; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ennifStickyBar .ennif-sb-price { font-size: 13px; font-weight: 600; color: #059669; }
#ennifStickyBar .ennif-sb-btn { background: #121212; color: #fff; border: none; padding: 12px 26px; font-size: 13px; font-weight: 700; letter-spacing: .06em; cursor: pointer; border-radius: 4px; flex: 0 0 auto; }
@media screen and (max-width: 768px) {
  #ennifStickyBar { padding: 8px 12px; padding-right: 76px; }
  #ennifStickyBar .ennif-sb-btn { padding: 11px 16px; }
}

/* ---------- 23. COMPLETE THE LOOK ---------- */
@keyframes ennifLookPop { 0% { transform: scale(.85); opacity: .4; } 60% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
.ennif-look-pop { animation: ennifLookPop .45s cubic-bezier(.2,.9,.3,1.3) both; }

/* ---------- 24. RELATED CAROUSEL ---------- */
.ennif-related-viewport { position: relative; }
.ennif-related-grid.ennif-related-track {
  display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px !important;
  justify-content: flex-start !important; padding-bottom: 10px; scrollbar-width: thin;
  scroll-behavior: smooth;
}
.ennif-related-track .ennif-related-item { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }
.ennif-related-arrow {
  position: absolute; top: 38%; z-index: 5; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid #cbd5e1; background: #fff; color: #121212; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(15,23,42,.14);
  transition: transform .2s ease, background .2s ease;
}
.ennif-related-arrow:hover { background: #121212; color: #fff; }
.ennif-related-arrow.ennif-rel-prev { left: -8px; }
.ennif-related-arrow.ennif-rel-next { right: -8px; }
@media screen and (max-width: 768px) { .ennif-related-arrow { display: none; } }

/* ---------- 25. ADDED-TO-BAG MODAL ---------- */
.ennif-cart-modal-box { animation: ennifModalIn .45s cubic-bezier(.2,.9,.3,1.3) both !important; }
@keyframes ennifModalIn { from { opacity: 0; transform: scale(.9) translateY(18px); } to { opacity: 1; transform: scale(1) translateY(0); } }

/* ---------- 26-29. CART ---------- */
.cart-item { transition: opacity .3s ease, transform .3s ease; }
.cart-item.ennif-removing { opacity: 0; transform: translateX(36px); }
@keyframes ennifRowFlash { 0% { background: rgba(197,155,39,.20); } 100% { background: transparent; } }
.cart-item.ennif-row-flash { animation: ennifRowFlash .8s ease both; }
.cart-progress-fill { transition: width .9s cubic-bezier(.25,1,.4,1), background .4s ease !important; }
@keyframes ennifPopOnce { 0% { transform: scale(1); } 40% { transform: scale(1.035); } 100% { transform: scale(1); } }
.ennif-pop-once { animation: ennifPopOnce .55s cubic-bezier(.2,.9,.3,1.4) both; }
.cart-empty-box { animation: ennifViewIn .6s cubic-bezier(.2,.8,.3,1) both; }

/* ---------- 30-32. CHECKOUT ---------- */
#bankDetailsBox.ennif-bank-anim { overflow: hidden; transition: height .4s cubic-bezier(.25,1,.4,1), opacity .3s ease, margin .4s ease, padding .4s ease; }
.form-input { transition: box-shadow .25s ease, border-color .25s ease; }
.form-input:focus { box-shadow: 0 0 0 3px rgba(197,155,39,.35); border-color: #c59b27 !important; outline: none; }
.ennif-promo-spin { position: relative; pointer-events: none; opacity: .85; }
.ennif-promo-spin::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -8px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: ennifSpin .7s linear infinite; }
@keyframes ennifRowSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.ennif-row-slide-in { animation: ennifRowSlideIn .45s cubic-bezier(.2,.8,.3,1) both; }

/* ---------- 35. WHATSAPP PULSE ---------- */
.ennif-floating-wa { position: fixed; }
.ennif-floating-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(37,211,102,.45); animation: ennifWaPulse 2.6s ease-out infinite;
}
@keyframes ennifWaPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- 37. CONTACT SUCCESS CHECK ---------- */
.ennif-contact-check { display: none; margin: 14px auto 0; text-align: center; }
.ennif-contact-check.ennif-cc-on { display: block; animation: ennifConfIn .5s cubic-bezier(.2,.9,.3,1.3) both; }
.ennif-contact-check svg { width: 56px; height: 56px; }
.btn-submit.ennif-processing, .search-btn.ennif-processing { position: relative; pointer-events: none; opacity: .92; }
.btn-submit.ennif-processing::before, .search-btn.ennif-processing::before {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px;
  border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: ennifSpin .7s linear infinite;
}

/* ---------- 38. TRACK ORDER TIMELINE DRAW ---------- */
.track-loading { opacity: .55; pointer-events: none; transition: opacity .3s ease; }
#trackResultCard.ennif-track-in { animation: ennifConfIn .55s cubic-bezier(.2,.9,.3,1.3) both; }
#trackResultCard .stepper-progress { transition: width 1s cubic-bezier(.25,1,.4,1) .15s; }
#trackResultCard.ennif-track-in .step-item .step-icon { animation: ennifStepIn .5s cubic-bezier(.2,.9,.3,1.5) both; }
#trackResultCard.ennif-track-in .step-item:nth-child(2) .step-icon { animation-delay: .15s; }
#trackResultCard.ennif-track-in .step-item:nth-child(3) .step-icon { animation-delay: .35s; }
#trackResultCard.ennif-track-in .step-item:nth-child(4) .step-icon { animation-delay: .55s; }
#trackResultCard.ennif-track-in .step-item:nth-child(5) .step-icon { animation-delay: .75s; }
@keyframes ennifStepIn { 0% { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } }

/* R8 extras: WhatsApp lift while the sticky bar is visible; toast retrigger helper */
body.ennif-sb-on .ennif-floating-wa { bottom: 96px !important; }
@media screen and (max-width: 768px) { body.ennif-sb-on .ennif-floating-wa { bottom: 92px !important; } }
#ennifToast.ennif-toast-re { animation: ennifToastIn .35s cubic-bezier(.2,.9,.3,1.3) both; }

/* ============================================================
   R8.4 — 2026-11-17 (v=20261117a) — MORE ANIMATION ADDITIONS
   Button press feedback, added-state morph, gallery settle
   zoom, newsletter submit feedback. Same hard rules: transform /
   opacity only, no prefers-reduced-motion gating, nothing is
   ever hidden by these rules.
   ============================================================ */

/* ---------- R8.4 N1. BUTTON PRESS MICRO-FEEDBACK ----------
   Primary buttons dip to 0.97 while pressed and spring back on
   release. `color .3s ease` is carried along so this transition
   does not drop the colour transition section 12 set on the
   same buttons for fine pointers. */
.ennif-action-btn, .ennif-sb-btn, .ennif-look-add-btn,
.place-order-btn, #btnPlaceOrder, .checkout-btn, .btn-submit,
.footer-submit-btn, .mobile-field-submit, .cart-qty-btn,
#btnTrack, .ennif-search-tag-chip {
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), color .3s ease;
}
.ennif-action-btn:active, .ennif-sb-btn:active, .ennif-look-add-btn:active,
.place-order-btn:active, #btnPlaceOrder:active, .checkout-btn:active,
.btn-submit:active, .footer-submit-btn:active, .mobile-field-submit:active,
.cart-qty-btn:active, #btnTrack:active, .ennif-search-tag-chip:active,
.ennif-related-arrow:active {
  transform: scale(.97);
}
/* the PDP template ships its own !important :active at scale(.99)
   for .ennif-action-btn; unify it to the same .97 press */
body .ennif-action-btn:active {
  transform: scale(.97) !important;
}

/* ---------- R8.4 N2. ADDED-STATE MORPH ----------
   After a successful add, the clicked button wears the brand
   green "Added" state for ~1.2s (JS swaps the label, adds this
   class), then reverts. Colour only: no layout change, so
   nothing around the button moves. */
.ennif-added-state {
  background: #1a7f4b !important;
  border-color: #1a7f4b !important;
  color: #ffffff !important;
}
.ennif-size-added {
  background: #1a7f4b !important;
  color: #ffffff !important;
}

/* ---------- R8.4 N4. PDP GALLERY SETTLE ZOOM ----------
   On a main-image change the new image settles from scale 1.04
   to 1 over .45s, on top of the section 17/18 crossfade. The JS
   removes the class right after the animation so the hover-zoom
   inline transform is never overridden afterwards. */
.ennif-gal-settle { animation: ennifGalSettle .45s cubic-bezier(.2,.8,.3,1) both; }
@keyframes ennifGalSettle {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

/* ---------- R8.4 N7. NEWSLETTER SUBMIT FEEDBACK ----------
   The footer newsletter buttons spin while the (simulated) send
   runs, mirroring the checkout/contact spinners, then a success
   line with the drawn check pops in under the form. */
.footer-submit-btn.ennif-processing,
.mobile-field-submit.ennif-processing {
  position: relative;
  pointer-events: none;
  opacity: .92;
}
.footer-submit-btn.ennif-processing::before,
.mobile-field-submit.ennif-processing::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ennifSpin .7s linear infinite;
}
.ennif-nl-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  color: #1a7f4b;
}
.ennif-nl-success .ennif-success-check {
  width: 22px; height: 22px;
  margin: 0;
  flex: 0 0 auto;
}
