.hero-brand {
  background: #f6ccd9;
  min-height: clamp(320px, 56.25vw, 760px);
  overflow: hidden;
}

.hero-brand img {
  display: block;
  width: 100%;
  height: clamp(320px, 56.25vw, 760px);
  object-fit: cover;
  object-position: center;
  animation: emisaHeroFloat 12s ease-in-out infinite alternate;
}

body {
  position: relative;
  isolation: isolate;
  background: #fff4f8;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -12%;
  background:
    linear-gradient(rgba(255, 244, 248, .58), rgba(255, 236, 244, .58)),
    url("emisa-bow-motion.gif") center / 760px 380px repeat;
  animation: emisaMovingBackdrop 3.2s ease-in-out infinite alternate;
  will-change: transform, filter;
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 62, 143, .38) 0 7%, transparent 20%),
    radial-gradient(circle at 78% 24%, rgba(255, 205, 84, .34) 0 6%, transparent 20%),
    radial-gradient(circle at 64% 78%, rgba(216, 63, 121, .34) 0 8%, transparent 23%);
  animation: emisaLightSweep 2.4s linear infinite;
  will-change: transform;
}

.hero-intro,
.category-shop,
.collections {
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(2px);
}

.category-shop { background: rgba(255, 255, 255, .64); }
.collections { background: rgba(255, 250, 248, .58); }

@keyframes emisaMovingBackdrop {
  0% { transform: translate3d(-7%, -5%, 0) scale(1.03) rotate(-1.2deg); filter: saturate(1.05) brightness(1); }
  45% { transform: translate3d(7%, 4%, 0) scale(1.13) rotate(1.5deg); filter: saturate(1.35) brightness(1.08); }
  100% { transform: translate3d(-3%, 8%, 0) scale(1.07) rotate(-.7deg); filter: saturate(1.18) brightness(1.03); }
}

@keyframes emisaLightSweep {
  0% { transform: translate3d(-14%, -8%, 0) rotate(0deg); }
  50% { transform: translate3d(12%, 10%, 0) rotate(8deg); }
  100% { transform: translate3d(-14%, -8%, 0) rotate(0deg); }
}

@keyframes emisaHeroFloat {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  .hero-brand img { animation: none; }
}

.hero-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 48px clamp(22px, 7vw, 110px);
  background: linear-gradient(135deg, #fff1f5, #fffaf8);
}

.hero-intro h1 {
  margin: 0;
  font: 600 clamp(2.3rem, 4.5vw, 4.6rem)/1.05 "Playfair Display", serif;
}

.hero-intro h1 em {
  color: var(--pink);
  font-weight: 500;
}

@media (max-width: 800px) {
  .hero-brand { min-height: 0; }
  .hero-brand img { height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: contain; object-position: center; }
  .hero-intro { align-items: start; flex-direction: column; gap: 18px; padding: 34px 24px 44px; }
}

.category-shop { padding: 90px clamp(22px, 7vw, 110px); background: #fff; }
.category-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 38px; }
.category-heading h2 { font: 600 clamp(2.3rem, 4vw, 4rem)/1.04 "Playfair Display", serif; margin: 0; }
.category-heading > p { max-width: 470px; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { border: 1px solid var(--line); border-radius: 22px; background: var(--cream); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 15px 35px #7f234615; }
.category-card[open] { background: var(--blush); border-color: #e8acc2; }
.category-card summary { list-style: none; cursor: pointer; padding: 20px; display: flex; align-items: center; gap: 14px; position: relative; }
.category-card summary::-webkit-details-marker { display: none; }
.category-card summary::after { content: "+"; margin-left: auto; color: var(--pink); font-size: 1.5rem; line-height: 1; }
.category-card[open] summary::after { content: "−"; }
.category-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pink); box-shadow: 0 7px 18px #7f234612; font: 700 .76rem "DM Sans", sans-serif; }
.category-card strong, .category-card small { display: block; }
.category-card strong { font: 600 1.2rem "Playfair Display", serif; }
.category-card small { color: var(--muted); font-size: .78rem; margin-top: 2px; }
.subcategory-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 0 20px 20px; }
.subcategory-list a { text-decoration: none; color: var(--berry); background: #fff; border: 1px solid #f0d6df; border-radius: 12px; padding: 10px 12px; font-size: .86rem; font-weight: 600; }
.subcategory-list a:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.offer-card { background: #fff7df; border-color: #efd99b; }
.offer-card[open] { background: #fff4cf; border-color: #dfbd5e; }
@media (max-width: 950px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .category-shop { padding: 64px 22px; }
  .category-heading { display: block; }
  .category-heading > p { margin-top: 14px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card summary { padding: 17px; }
  .subcategory-list { grid-template-columns: 1fr; padding: 0 17px 17px; }
}
