/* ==========================================================================
   OPL Hero Widget — structural styles only.
   Colors, fonts, sizes and positions are injected per-instance by
   Elementor's control "selectors" — do not hardcode brand values here.
   ========================================================================== */

.opl-hero {
  position: relative;
  overflow: hidden;
  padding: 60px 5vw 40px;
  isolation: isolate;
}

.opl-hero__ring {
  position: absolute;
  top: 50%;
  right: -22%;
  width: 62vw;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  transform: translateY(-50%);
  -webkit-mask: radial-gradient(circle, transparent 63%, black 63.6%, black 64.4%, transparent 65%);
  mask: radial-gradient(circle, transparent 63%, black 63.6%, black 64.4%, transparent 65%);
  animation: opl-spin 40s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes opl-spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.opl-hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.opl-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.opl-hero__eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  flex: none;
}

.opl-hero__headline {
  max-width: 820px;
  line-height: 0.98;
}

.opl-hero__headline .opl-hero__highlight {
  -webkit-text-stroke-width: 1.5px;
  -webkit-text-stroke-style: solid;
  color: transparent;
}

.opl-hero__sub {
  max-width: 480px;
}

.opl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.opl-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.25s ease;
  white-space: nowrap;
}
.opl-hero__btn-primary:hover { transform: translateY(-2px); }
.opl-hero__btn-primary svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.opl-hero__btn-secondary {
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}

.opl-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.opl-hero__stat-num { display: block; }
.opl-hero__stat-label { display: block; text-transform: uppercase; }

.opl-hero__marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 3;
  padding: 20px 5vw;
  border-top: 1px solid rgba(16, 27, 51, 0.12);
}

.opl-hero__marquee {
  display: inline-flex;
  gap: 56px;
  animation: opl-scroll 26s linear infinite;
}

.opl-hero__marquee span {
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes opl-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- The 3D shoe: large, tilted, allowed to overlap the text column.
   A soft mask fades the edge nearest the text so it never fights legibility. ---- */
.opl-hero__product {
  position: absolute;
  z-index: 2; /* sits between the ring (1) and the text/content (3) by default */
  pointer-events: none;
  will-change: transform;
  --opl-shoe-rotate: 8deg;
  --opl-shoe-tilt: -14deg;
  transform: perspective(1400px) rotateY(var(--opl-shoe-tilt)) rotate(var(--opl-shoe-rotate));
}

.opl-hero__product img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(16, 27, 51, 0.25));
}

.opl-hero__product--fade-left {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 38%);
  mask-image: linear-gradient(to right, transparent 0%, black 38%);
}

.opl-hero__product--front { z-index: 4; }

@media (prefers-reduced-motion: reduce) {
  .opl-hero__ring,
  .opl-hero__marquee { animation: none; }
}

@media (max-width: 1024px) {
  .opl-hero__product { display: none; }
  .opl-hero__ring { right: -40%; width: 90vw; }
}

@media (max-width: 767px) {
  .opl-hero { padding: 40px 24px 28px; }
  .opl-hero__stats { gap: 28px; }
}
