/* Decorative products remain within the desktop gutters, away from reading and ordering. */
.ambient-badges { pointer-events:none; }
.ambient-rail { position:fixed; top:155px; bottom:115px; width:140px; z-index:0; overflow:hidden; pointer-events:none; mask-image:linear-gradient(transparent,#000 15%,#000 85%,transparent); opacity:.72; }
.ambient-rail--left { left:max(18px,calc((100vw - 1440px)/4 - 70px)); }
.ambient-rail--right { right:max(18px,calc((100vw - 1440px)/4 - 70px)); }
.ambient-track { animation:ambient-travel 48s linear infinite; will-change:transform; }
.ambient-rail--right .ambient-track { animation-direction:reverse; animation-duration:54s; }
.ambient-group { display:flex; flex-direction:column; align-items:center; gap:90px; padding:45px 0; }
.ambient-group img { display:block; width:128px; height:145px; object-fit:contain; filter:drop-shadow(0 7px 9px #58452c14); }
.ambient-group img:nth-child(2) { width:85px; transform:rotate(-9deg); }
.ambient-group img:nth-child(3) { transform:rotate(7deg); }
@keyframes ambient-travel { to { transform:translateY(-50%); } }
@media(max-width:1799px) { .ambient-rail { display:none; } }
@media print { .ambient-badges { display:none; } }

.studio-visual .november-collection {
  min-height: 0;
  padding: clamp(14px, 1.75vw, 24px);
  border-radius: 18px;
  background: #f2ebe0;
  box-shadow: 0 3px 0 #e8d9c5, 0 13px 25px -23px #633b22;
}
.november-collection .collection-edition {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  padding: 0;
  gap: 4px 12px;
}
.collection-edition h2 {
  margin: 0;
  color: #432932;
  font: 500 clamp(22px, 2vw, 30px)/1.15 Georgia, serif;
  letter-spacing: -.025em;
}
.november-collection .collection-edition > span {
  display: inline;
  font-size: 11px;
  letter-spacing: 0;
}
.studio-visual:has(.november-collection) { padding: 0; }
.studio-visual:has(.november-collection) .hero-inset,
.studio-visual:has(.november-collection) .edition-mark { display: none; }
.november-collection .collection-price strong { font-size: clamp(35px, 4vw, 52px); }
.november-collection .collection-link { color: inherit; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  .ambient-track { animation: none; will-change: auto; }
}

.hero-display {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(84px, 8.5vw, 124px);
  align-items: center;
  gap: clamp(8px, 1.5vw, 20px);
  align-self: stretch;
  margin: 14px 0 10px;
  padding: 7px 10px 7px 6px;
  border: 1px solid #fdf9f0;
  border-radius: 12px;
  background: #faf5eb;
  box-shadow: inset 0 -2px #ecdfcc, 0 4px 9px -8px #765032;
}
.hero-earring {
  position: relative;
  display: block;
  color: #562938;
  text-align: center;
  text-decoration: none;
  perspective: 460px;
}
.hero-earring-clip {
  position: absolute;
  z-index: 1;
  top: -12px;
  left: calc(50% - 8px);
  width: 16px;
  height: 23px;
  box-sizing: border-box;
  border: 2px solid #9b713d;
  border-top-color: #e7c68c;
  border-left-color: #cfa769;
  border-radius: 7px 7px 4px 4px;
  background: linear-gradient(110deg, #b68b52, #f1d9a8 42%, #a17645);
  box-shadow: 1px 2px 3px #492d233c;
}
.hero-earring-card {
  display: grid;
  gap: 4px;
  padding: 9px 5px 7px;
  border: 1px solid #e7d7c0;
  border-radius: 6px;
  background: #fcf7ed;
  box-shadow: 2px 3px 0 #e5d6bf, 6px 12px 17px -11px #6c3b2d88;
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.2;
  transform: rotateZ(6deg) rotateY(-8deg);
  transform-origin: 50% 0;
}
.hero-earring-photo {
  position: relative;
  display: block;
  aspect-ratio: 1.65;
  overflow: hidden;
  border-radius: 3px;
}
.hero-earring-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}
.hero-earring:focus-visible { outline: 2px solid #632b3b; outline-offset: 5px; }
.november-collection .collection-offer { padding-top: 10px; }
.november-collection .collection-price { margin: 4px 0; }
.november-collection .collection-link { margin-top: 7px; padding-bottom: 2px; }
@keyframes hero-earring-swing {
  0%, 100% { transform: rotateZ(6deg) rotateY(-8deg); }
  42% { transform: rotateZ(-4deg) rotateY(6deg); }
  73% { transform: rotateZ(8deg) rotateY(-10deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-earring-card { animation: hero-earring-swing 3.4s ease-in-out; }
  .hero-earring:is(:hover, :focus-visible) .hero-earring-card { animation: hero-earring-swing 2.6s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .hero-earring:not(:hover, :focus-visible) .hero-earring-card {
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

.hero-workshop {
  position: relative;
  grid-column: 1 / -1;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  isolation: isolate;
  border-radius: 7px;
  background: #e5d4bc;
}
.hero-workshop-backdrop { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-workshop-assembly {
  --badge-face: url('/assets/optimized/turk-bayragi-yuvarlak-rozet-vitrin-kirpim.webp');
  position: absolute;
  left: 50%;
  top: 49%;
  width: 25%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(-13deg) scaleY(.74);
}
.hero-workshop-piece,
.hero-workshop-finished { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-workshop-finished { filter: drop-shadow(3px 8px 4px #53321975); }
.hero-workshop-piece { opacity: 0; background: var(--badge-face) center / 100% 100% no-repeat; }
.hero-workshop-piece--rim {
  mask-image: radial-gradient(circle, transparent 61%, #000 62%);
  --travel-x: 137%;
  --travel-y: -98%;
  --arrival: 0s;
}
.hero-workshop-piece--enamel {
  clip-path: circle(43% at 50% 50%);
  background: radial-gradient(circle at 38% 26%, #ca222a, #930d19 66%, #560813);
  --travel-x: -136%;
  --travel-y: 37%;
  --arrival: .55s;
}
.hero-workshop-piece--crescent {
  clip-path: polygon(10% 22%, 60% 16%, 63% 32%, 53% 44%, 54% 59%, 64% 69%, 60% 83%, 13% 83%);
  --travel-x: -35%;
  --travel-y: -85%;
  --arrival: 1.16s;
}
.hero-workshop-piece--star {
  clip-path: polygon(75% 31%, 92% 45%, 89% 63%, 75% 65%, 60% 51%, 65% 40%);
  --travel-x: 134%;
  --travel-y: 73%;
  --arrival: 1.75s;
}
.hero-workshop.is-assembling .hero-workshop-piece {
  animation: workshop-place 2.7s cubic-bezier(.24,.65,.28,1) var(--arrival) both;
}
.hero-workshop.is-assembling .hero-workshop-finished { animation: workshop-finish 3s ease both; }
@keyframes workshop-place {
  0% { opacity: 0; transform: translate(var(--travel-x), var(--travel-y)) rotate(18deg) scale(.7); }
  8% { opacity: 1; }
  28%, 100% { opacity: 1; transform: none; }
}
@keyframes workshop-finish { 0%, 84% { opacity: 0; } 100% { opacity: 1; } }
.hero-workshop-replay {
  position: absolute;
  z-index: 1;
  right: 8px;
  bottom: 8px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #e4d4bb;
  border-radius: 50%;
  background: #fff9ef;
  color: #562938;
  cursor: pointer;
  font: 22px/1 system-ui, sans-serif;
}
.hero-workshop-replay:focus-visible,
.hero-badge-tile:focus-visible { outline: 2px solid #632b3b; outline-offset: 2px; }
.hero-badge-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-badge-tile {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 4px;
  color: #512f3a;
  text-align: center;
  text-decoration: none;
  font-size: clamp(10px, 1vw, 13px);
  line-height: 1.2;
}
.hero-badge-tile img { width: 100%; height: clamp(27px, 3vw, 42px); object-fit: contain; }
.hero-earring-card strong { color: #662638; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .hero-workshop-replay { display: none; }
  .hero-workshop.is-assembling .hero-workshop-piece,
  .hero-workshop.is-assembling .hero-workshop-finished { animation: none; }
}
