/* Aurelia motion system — noticeable, luxury, purposeful */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --t-micro: 0.25s;
  --t-ui: 0.38s;
  --t-reveal: 0.85s;
  --t-hero: 1.1s;
  --t-page: 0.45s;
}

/* ---------- Page loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--ivory);
  display: grid;
  place-items: center;
  transition: opacity 0.55s var(--ease-out), visibility 0.55s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-brand {
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: loaderIn 0.7s var(--ease-out) both;
}

.loader-brand .logo-mark {
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: 0.38em;
  display: block;
}

.loader-brand .logo-sub {
  display: block;
  margin-top: 10px;
  font-size: 10px;
}

.loader-brand .shine {
  position: absolute;
  inset: -20% -40%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 248, 230, 0.7) 50%,
    transparent 60%
  );
  animation: logoShine 1.15s var(--ease-out) 0.15s both;
}

@keyframes loaderIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes logoShine {
  from {
    transform: translateX(-40%);
  }
  to {
    transform: translateX(40%);
  }
}

body.is-loading {
  overflow: hidden;
}

/* ---------- Page enter / leave ---------- */
body.page-enter .site-header {
  animation: navEnter 0.75s var(--ease-out) both;
}

body.page-enter > section:not(.hero),
body.page-enter > div.container,
body.page-enter > .page-hero,
body.page-enter > .auth-wrap,
body.page-enter > .marquee,
body.page-enter > .newsletter {
  animation: pageIn var(--t-page) var(--ease-out) both;
}

body.page-leave {
  animation: pageOut 0.4s var(--ease-out) both;
  pointer-events: none;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageOut {
  to {
    opacity: 0;
    transform: translateY(-12px);
  }
}

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
  animation: navEnter 0.75s var(--ease-out) 0.15s both;
  transition: background 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out), border-color 0.38s var(--ease-out);
}

body:not([data-page="home"]) .site-header,
.site-header.is-scrolled {
  background: rgba(255, 240, 246, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(61, 38, 53, 0.08);
  border-bottom-color: var(--gold-line);
}

body[data-page="home"] .site-header {
  background: rgba(255, 240, 246, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body[data-page="home"] .hero-copy {
  padding-top: 128px;
}

.pdp-actions .wish-btn:not(.wish-text) {
  position: relative;
  top: auto;
  right: auto;
}

#close-drawer {
  letter-spacing: 0.2em;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
}

#p-wish.spark::after,
#p-wish.spark::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: spark 0.55s var(--ease-out) forwards;
}

body:not([data-page="home"]) {
  padding-top: var(--nav-h);
}

.site-header .logo {
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  position: relative;
  transition: color 0.28s var(--ease-out);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold-2);
  transition: width 0.32s var(--ease-out), left 0.32s var(--ease-out);
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-links a:hover {
  color: var(--gold-2);
}

@keyframes navEnter {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.is-loading .site-header {
  animation: none;
  opacity: 0;
}

body.hero-ready .site-header {
  animation: navEnter 0.75s var(--ease-out) both;
  opacity: 1;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  transition: background var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out),
    border-color var(--t-ui) var(--ease-out), transform var(--t-micro) var(--ease-out),
    box-shadow var(--t-ui) var(--ease-out);
}

.btn .btn-arrow {
  display: inline-block;
  transition: transform var(--t-micro) var(--ease-out);
  margin-left: 2px;
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: none;
}

.btn:hover::before {
  animation: btnShine 0.75s var(--ease-out);
}

.btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-ghost:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-buy:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(240, 45, 125, 0.28);
}

.btn.is-added {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--white);
  animation: popScale 0.35s var(--ease-spring);
}

@keyframes popScale {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.btn[data-add] svg,
.btn-bag-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  transition: transform var(--t-micro) var(--ease-out);
}

.btn[data-add]:hover svg,
.btn:hover .btn-bag-icon {
  transform: translateY(-2px);
}

@keyframes btnShine {
  to {
    transform: translateX(120%);
  }
}

/* ---------- Hero ---------- */
body[data-page="home"] .hero {
  min-height: 100vh;
}

.hero-el {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity, filter;
}

body.hero-ready .hero-el.el-1 {
  animation: heroFade var(--t-hero) var(--ease-out) 0.45s both;
}
body.hero-ready .hero-el.el-2 {
  animation: heroFade 1.1s var(--ease-out) 0.62s both;
}
body.hero-ready .hero-el.el-3 {
  animation: heroFade 0.95s var(--ease-out) 0.82s both;
}
body.hero-ready .hero-el.el-4 {
  animation: heroFade 0.9s var(--ease-out) 0.98s both;
}

.hero-side {
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

body.hero-ready .hero-side {
  animation: heroClip 1.15s var(--ease-out) 0.06s both;
}

@keyframes heroClip {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.hero-parallax {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  /* Exact banner framing (no cover-zoom into the face) */
  object-fit: contain;
  object-position: right center;
  transform: none;
  will-change: transform, filter;
}

body.hero-ready .hero-img-wrap img {
  animation: heroSettle 1.1s var(--ease-out) 0.12s both;
}

@keyframes heroSettle {
  from {
    opacity: 0.92;
    filter: saturate(0.94) brightness(0.97);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

.hero-side.is-live .hero-img-wrap img {
  animation: none;
  transform: none;
  transition: none;
}

.hero-sweep {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    transparent 38%,
    rgba(255, 235, 243, 0.35) 48%,
    rgba(240, 45, 125, 0.14) 52%,
    transparent 62%
  );
  opacity: 0;
}

body.hero-ready .hero-sweep {
  animation: heroSweep 1.35s var(--ease-out) 0.42s both;
}

@keyframes heroSweep {
  0% {
    transform: translateX(-55%);
    opacity: 0;
  }
  25% {
    opacity: 0.85;
  }
  100% {
    transform: translateX(55%);
    opacity: 0;
  }
}

.hero-catch {
  position: absolute;
  width: 28%;
  height: 34%;
  top: 44%;
  left: 64%;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 235, 243, 0.28) 0%,
    rgba(240, 45, 125, 0.08) 42%,
    transparent 70%
  );
  opacity: 0;
  mix-blend-mode: soft-light;
  transition: opacity 0.4s var(--ease-out);
  will-change: transform, opacity;
}

.hero-side.is-hover .hero-catch {
  opacity: 1;
}

.hero-side::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #f9e1de 0%,
    #f9e1de 38%,
    rgba(249, 225, 222, 0.45) 55%,
    transparent 70%
  );
  z-index: 2;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* ---------- Image clip reveal ---------- */
.img-reveal {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.06);
  filter: brightness(0.96);
  transition: clip-path 0.95s var(--ease-out), transform 1.25s var(--ease-out), filter 0.95s var(--ease-out);
  will-change: clip-path, transform, filter;
}

.img-reveal.in,
.img-reveal.is-in {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
  filter: brightness(1);
}

.signature-media,
.story img,
.about-block img,
.promo,
.gallery-main {
  overflow: hidden;
}

.signature-media img,
.story img,
.about-block img {
  transform: scale(1.06);
  filter: brightness(0.96);
  transition: transform 1.25s var(--ease-out), clip-path 0.95s var(--ease-out), filter 0.95s var(--ease-out);
  clip-path: inset(100% 0 0 0);
  will-change: clip-path, transform, filter;
}

.signature-media.in img,
.story.in img,
.about-block.in img,
.img-reveal.in img {
  clip-path: inset(0);
  transform: scale(1);
  filter: brightness(1);
}

/* ---------- Scroll reveals ---------- */
.observe {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(2px);
  transition: opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out),
    filter var(--t-reveal) var(--ease-out);
  will-change: opacity, transform, filter;
}

.observe.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms),
    transform 0.7s var(--ease-out) var(--d, 0ms),
    filter 0.7s var(--ease-out) var(--d, 0ms);
  will-change: opacity, transform;
}

.stagger-item.in {
  opacity: 1;
  transform: none;
}

.section-head.observe p {
  transition-delay: 0.12s;
}

/* ---------- Category cards ---------- */
.cat-card {
  transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui) var(--ease-out);
  will-change: transform;
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(61, 38, 53, 0.14);
}

.cat-card img {
  transition: transform 0.75s var(--ease-out);
  will-change: transform;
}

.cat-card:hover img {
  transform: scale(1.08);
}

.cat-card h3 {
  transition: letter-spacing var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}

.cat-card:hover h3 {
  letter-spacing: 0.04em;
}

.cat-card h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin: 10px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.cat-card:hover h3::after {
  transform: scaleX(1);
}

.cat-card span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.cat-card:hover span {
  opacity: 1;
  transform: none;
}

/* ---------- Product cards ---------- */
.product-card {
  transition: transform 0.38s var(--ease-out), box-shadow 0.38s var(--ease-out), border-color 0.38s var(--ease-out);
  will-change: transform;
}

.product-card::after {
  display: none;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(240, 45, 125, 0.12);
}

.product-card:hover::after {
  border-color: transparent;
}

.product-media img {
  transition: opacity 0.38s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: transform, opacity;
}

.product-card:hover .product-media img.main {
  transform: scale(1.035);
}

.product-card:hover .product-media img.alt {
  opacity: 1;
  transform: scale(1.035);
}

.wish-btn:not(.wish-text) {
  transition: color 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background 0.22s var(--ease-out), box-shadow 0.22s var(--ease-out), transform 0.22s var(--ease-spring);
}

.wish-btn:not(.wish-text):hover {
  transform: scale(1.1);
}

.product-card:hover .wish-btn:not(.wish-text) {
  opacity: 1;
}

.wish-heart,
.wish-btn svg {
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.wish-btn.spark::after,
.wish-btn.spark::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: spark 0.55s var(--ease-out) forwards;
}

.wish-btn.spark::before {
  left: 4px;
  top: 2px;
}

.wish-btn.spark::after {
  right: 4px;
  top: 6px;
  width: 4px;
  height: 4px;
  animation-delay: 0.06s;
}

@keyframes heartPop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spark {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-12px) scale(0.4);
  }
}

.card-actions,
.quick-view {
  display: none !important;
}

/* ---------- Promo ---------- */
.promo img {
  transform: scale(1.12);
  transition: transform 1.4s var(--ease-out);
}

.promo.in img,
.promo.is-in img {
  transform: scale(1.04);
}

.promo-inner > * {
  opacity: 0;
  transform: translateY(24px);
}

.promo.in .promo-inner > *:nth-child(1),
.promo.is-in .promo-inner > *:nth-child(1) {
  animation: heroFade 0.7s var(--ease-out) 0.1s both;
}
.promo.in .promo-inner > *:nth-child(2),
.promo.is-in .promo-inner > *:nth-child(2) {
  animation: heroFade 0.75s var(--ease-out) 0.22s both;
}
.promo.in .promo-inner > *:nth-child(3),
.promo.is-in .promo-inner > *:nth-child(3) {
  animation: heroFade 0.7s var(--ease-out) 0.36s both;
}
.promo.in .promo-inner > *:nth-child(4),
.promo.is-in .promo-inner > *:nth-child(4) {
  animation: heroFade 0.7s var(--ease-out) 0.5s both;
}

/* ---------- Testimonials carousel ---------- */
.t-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.t-viewport {
  overflow: hidden;
}

.t-slide {
  display: none;
  text-align: center;
  padding: 12px 24px 28px;
}

.t-slide.is-active {
  display: block;
  animation: tIn 0.55s var(--ease-out);
}

.t-slide.is-active .stars {
  animation: starIn 0.6s var(--ease-out) 0.15s both;
}

.t-slide img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
}

.t-slide p {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.45;
  margin: 14px 0 18px;
}

.t-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.t-nav button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-line);
  color: var(--charcoal);
  transition: background var(--t-micro), border-color var(--t-micro);
}

.t-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--beige-2);
  padding: 0;
  min-width: 0;
}

.t-dots button.is-on {
  background: var(--gold-2);
  transform: scale(1.25);
}

@keyframes tIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes starIn {
  from {
    opacity: 0;
    letter-spacing: 8px;
  }
  to {
    opacity: 1;
    letter-spacing: 2px;
  }
}

/* ---------- Footer ---------- */
.site-footer .footer-grid > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.site-footer.in .footer-grid > *:nth-child(1) {
  transition-delay: 0s;
}
.site-footer.in .footer-grid > *:nth-child(2) {
  transition-delay: 0.1s;
}
.site-footer.in .footer-grid > *:nth-child(3) {
  transition-delay: 0.2s;
}
.site-footer.in .footer-grid > *:nth-child(4) {
  transition-delay: 0.3s;
}

.site-footer.in .footer-grid > * {
  opacity: 1;
  transform: none;
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-row a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(196, 165, 116, 0.35);
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: background var(--t-micro), border-color var(--t-micro), color var(--t-micro),
    opacity 0.45s, transform 0.45s;
}

.site-footer.in .social-row a {
  opacity: 1;
  transform: none;
}

.site-footer.in .social-row a:nth-child(1) {
  transition-delay: 0.35s;
}
.site-footer.in .social-row a:nth-child(2) {
  transition-delay: 0.45s;
}
.site-footer.in .social-row a:nth-child(3) {
  transition-delay: 0.55s;
}

.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.social-row a:first-child svg {
  fill: none;
  stroke: currentColor;
}

.social-row a:not(:first-child) svg {
  fill: currentColor;
  stroke: none;
}

.btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* ---------- Shop filters ---------- */
.shop-grid-anim .product-card {
  animation: gridIn 0.5s var(--ease-out) both;
}

.shop-grid-anim .product-card:nth-child(1) {
  animation-delay: 0ms;
}
.shop-grid-anim .product-card:nth-child(2) {
  animation-delay: 80ms;
}
.shop-grid-anim .product-card:nth-child(3) {
  animation-delay: 160ms;
}
.shop-grid-anim .product-card:nth-child(4) {
  animation-delay: 240ms;
}
.shop-grid-anim .product-card:nth-child(5) {
  animation-delay: 320ms;
}
.shop-grid-anim .product-card:nth-child(6) {
  animation-delay: 400ms;
}
.shop-grid-anim .product-card:nth-child(n + 7) {
  animation-delay: 460ms;
}

@keyframes gridIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#shop-grid.is-leaving,
#cat-products.is-leaving {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out);
}

.cat-stage.is-leaving .cat-banner-copy {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.cat-banner.is-leaving img {
  opacity: 0;
  transform: translateX(-18px) scale(1.04);
  clip-path: inset(0 12% 0 0);
  transition: opacity 0.3s var(--ease-out), transform 0.35s var(--ease-out),
    clip-path 0.35s var(--ease-out);
}

.cat-stage.is-in .cat-banner-copy {
  animation: catCopyIn 0.55s var(--ease-out) both;
}

@keyframes catCopyIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

#cat-products.shop-grid-anim .product-card {
  animation: catGridIn 0.55s var(--ease-out) both;
}

@keyframes catGridIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.filter-group summary {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "+";
  color: var(--gold-2);
}

.filter-group[open] summary::after {
  content: "–";
}

.filter-group .filter-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.filter-group[open] .filter-body {
  grid-template-rows: 1fr;
}

.filter-body > div {
  overflow: hidden;
}

@media (max-width: 992px) {
  body[data-page="home"] .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body[data-page="home"] .hero-copy {
    padding-top: 28px;
  }
  .hero-side::after {
    background: transparent;
  }
  .hero-img-wrap img {
    height: 100% !important;
    width: 100% !important;
    transform: none !important;
    object-fit: cover;
    object-position: 78% 22%;
  }
  .hero-side.is-live .hero-img-wrap img {
    transform: none !important;
  }
  body.hero-ready .hero-img-wrap img {
    animation: none;
  }
  #shop-filters {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: max-height 0.45s var(--ease-out), opacity 0.4s, transform 0.4s,
      margin 0.4s, padding 0.4s;
    padding: 0 24px;
    margin: 0;
    border: 0;
  }

  #shop-filters.open {
    max-height: 1600px;
    opacity: 1;
    transform: none;
    padding: 24px;
    margin-bottom: 8px;
    border: 1px solid var(--gold-line);
    background: var(--ivory-2);
  }
}

/* ---------- Cart drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 22, 18, 0.42);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: var(--ivory-2);
  z-index: 150;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px rgba(26, 22, 18, 0.12);
}

.cart-drawer.open {
  transform: none;
}

.drawer-head {
  padding: 28px 28px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gold-line);
}

.drawer-head h3 {
  font-size: 28px;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 8px 28px 20px;
}

.drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gold-line);
  align-items: start;
}

.drawer-item img {
  width: 72px;
  height: 90px;
  object-fit: cover;
}

.drawer-foot {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--gold-line);
}

.fly-img {
  position: fixed;
  z-index: 160;
  object-fit: cover;
  pointer-events: none;
  border-radius: 2px;
  transition: transform 0.85s var(--ease-out), opacity 0.85s var(--ease-out);
}

.badge-count {
  transition: transform 0.35s var(--ease-out);
}

.badge-count.pop {
  animation: heartPop 0.4s var(--ease-out);
}

/* ---------- Toast ---------- */
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

/* ---------- Product details ---------- */
.pdp .gallery-main img {
  transition: opacity 0.4s var(--ease-out);
}

.pdp .gallery-main img.is-switching {
  opacity: 0;
}

body[data-page="product"] .gallery-main {
  animation: heroImage 0.9s var(--ease-out) both;
}

body[data-page="product"] .thumbs button {
  opacity: 0;
  animation: gridIn 0.5s var(--ease-out) both;
}

body[data-page="product"] .thumbs button:nth-child(1) {
  animation-delay: 0.15s;
}
body[data-page="product"] .thumbs button:nth-child(2) {
  animation-delay: 0.25s;
}
body[data-page="product"] .thumbs button:nth-child(3) {
  animation-delay: 0.35s;
}

body[data-page="product"] .pdp-info > .eyebrow {
  animation: heroFade 0.7s var(--ease-out) 0.15s both;
}
body[data-page="product"] .pdp-info > h1 {
  animation: heroFade 0.8s var(--ease-out) 0.28s both;
}
body[data-page="product"] .pdp-info > .stars {
  animation: heroFade 0.7s var(--ease-out) 0.42s both;
}
body[data-page="product"] .pdp-info > .pdp-price {
  animation: heroFade 0.7s var(--ease-out) 0.52s both;
}
body[data-page="product"] .pdp-info > p,
body[data-page="product"] .pdp-info > .field,
body[data-page="product"] .pdp-info > .accordion {
  animation: heroFade 0.7s var(--ease-out) 0.62s both;
}
body[data-page="product"] .pdp-actions {
  animation: heroFade 0.75s var(--ease-out) 0.78s both;
}

/* ---------- Accordion body ---------- */
.acc-item .acc-body {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  padding: 0 !important;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.35s var(--ease-out),
    padding 0.35s var(--ease-out);
}

.acc-item.open .acc-body {
  max-height: 720px;
  opacity: 1;
  padding: 0 0 18px !important;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card:hover,
  .product-card {
    transform: none !important;
  }

  .hero-shimmer,
  .hero-sweep,
  .btn::before,
  .marquee-track {
    animation: none !important;
  }

  .page-loader {
    display: none !important;
  }

  .observe,
  .stagger-item,
  .hero-el,
  .hero-side,
  .img-reveal,
  .signature-media img,
  .story img,
  .about-block img,
  .promo-inner > *,
  .site-footer .footer-grid > *,
  .social-row a {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }

  .cat-banner img,
  .cat-banner-copy,
  #cat-products,
  .cat-stage {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }

  .cart-drawer,
  .drawer-backdrop {
    transition: none;
  }
}

@media (max-width: 768px) {
  .product-card:hover {
    transform: none;
  }

  .wish-btn,
  .cat-stage .wish-btn {
    opacity: 1;
    transform: none;
  }

  .quick-view,
  .card-actions {
    display: none !important;
  }

  .cat-card span {
    opacity: 1;
    transform: none;
  }

  .cat-card h3::after {
    transform: scaleX(1);
  }
}
