/* Piezas de ejemplo. El giro vive aquí para ropa, zapatillas, flores y regalos. */

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.45;
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

img { max-width: 100%; display: block; }

button { font: inherit; }

.aviso {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.55rem 1.15rem;
  background: #111;
  color: #fff8e8;
  font-size: 0.92rem;
}

.aviso a {
  color: #fff;
  font-weight: 700;
}

.barra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.2rem;
  position: relative;
  z-index: 4;
}

.marca {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
  font-size: 0.95rem;
}

.menu-sitio {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.menu-sitio a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.burger {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.escena,
.pieza {
  perspective: 1200px;
}

.giro {
  transform-style: preserve-3d;
  animation: giro 6.8s ease-in-out infinite;
  will-change: transform;
}

.sombra {
  width: 46%;
  height: 18px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.42), transparent 70%);
  animation: sombra 6.8s ease-in-out infinite;
}

@keyframes giro {
  0%,
  100% { transform: translate3d(0, 0, 0) rotateY(-18deg) rotateX(7deg) scale(1); }
  50% { transform: translate3d(0, -18px, 30px) rotateY(18deg) rotateX(2deg) scale(1.07); }
}

@keyframes sombra {
  0%,
  100% { transform: scaleX(1); opacity: 0.75; }
  50% { transform: scaleX(0.62); opacity: 0.32; }
}

.escena:hover .giro,
.pieza:hover .giro {
  animation: none;
  transform: translate3d(0, -12px, 40px) rotateY(-8deg) rotateX(4deg) scale(1.16);
  transition: transform 0.45s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.escena:hover .sombra,
.pieza:hover .sombra {
  animation: none;
  transform: scaleX(0.7);
  opacity: 0.4;
}

@media (max-width: 800px) {
  .burger { display: inline-flex; }

  .menu-sitio {
    display: none;
    position: absolute;
    top: 100%;
    right: 0.8rem;
    min-width: 200px;
    padding: 0.8rem;
    border-radius: 14px;
    background: #111;
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .menu-sitio.is-abierto { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .giro,
  .sombra {
    animation: none;
  }
}
