html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

body {
  position: fixed;
  inset: 0;
  touch-action: none;
}

.home-slider {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  touch-action: pan-x;
}

body {
  margin: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: url('/assets/images/wood-bg.png') center/cover no-repeat;

  filter: blur(2px) brightness(0.7);
  transform: scale(1.02);

  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;

  background:
    radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.5)),
    linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));

  z-index: -1;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.partner-content h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  font-weight: 400;
  color: #cbd5e1;
}

.btn,
.partner-btn {
  font-weight: 600;
}

.partner-content h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.shop-stage{position:relative;max-width:900px;margin:auto;height:100vh;}
.stage-bg{position:absolute;inset:0;background:url('../images/shelf-bg-desktop-3-empty.png') center/contain no-repeat;}
.shop-stage {
  position: relative;
  z-index: 2;

  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}
.shop-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.05), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(0,0,0,0.18), transparent 40%);
}
.shop-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle at center,
    transparent 55%,
    rgba(0,0,0,0.25)
  );
}

.shop-stage::before,
.shop-stage::after,
.stage-bg,
.stage-bg::after {
  pointer-events: none;
}

.product-slot{position:absolute;}

.product-slot::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 6px;

  background: rgba(0,0,0,0.25);
  filter: blur(4px);
  border-radius: 50%;
}

.product-slot img {
  filter:
    drop-shadow(0 3px 3px rgba(0,0,0,0.35))   /* tight */
    drop-shadow(0 8px 10px rgba(0,0,0,0.2));  /* soft */
}

.stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
}

.product-slot {
  align-items: flex-end;
}

.product-slot img {
  max-height: 100%;
  object-fit: contain;
  
}

.product-slot img {
  transform: translateY(var(--product-offset-y, 0px));
}

.product-slot img {
  transform: translateY(calc(4px + var(--product-offset-y, 0px)));
}

.product-slot,
.product-slot img {
  pointer-events: auto;
}

.product-slot::after {
  pointer-events: none;
}

.slot-center,
.product-slot {
  z-index: 100;
}

.product-slot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.shop-stage::before,
.shop-stage::after,
.stage-bg,
.stage-bg::after {
  pointer-events: none;
}

/* TOP ROW */

.slot-top-left {
  left: 11%;
  top: 18%;
  width: 14%;
  height: 14%;
}

.slot-top-right {
  left: 74%;
  top: 18%;
  width: 14%;
  height: 14%;
}

/* MIDDLE ROW */

.slot-center {
  left: 38.5%;
  top: 43%;
  width: 24%;
  height: 28%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 25;
}

.slot-center-left {
  left: 18%;
  top: 43%;
  width: 16%;
  height: 24%;
}

.slot-mid-right {
  left: 73%;
  top: 42%;
  width: 14%;
  height: 20%;
}

/* BOTTOM ROW */

.slot-bottom-left {
  left: 14%;
  top: 73%;
  width: 23%;
  height: 26%;
}

.slot-bottom-right {
  left: 63%;
  top: 73%;
  width: 23%;
  height: 26%;
}

.home-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.home-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.home-slide.is-active {
  display: block;
}

.home-slide {
  pointer-events: none;
}

.home-slide.is-active {
  pointer-events: auto;
}

.home-slide.slide-out-left,
.home-slide.slide-out-right {
  pointer-events: none;
}

.character-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.character-slide.is-active {
  display: block;
}

.character-slide picture,
.character-slide img {
  width: 100%;
  height: 100%;
  display: block;
}

.character-slide img {
  object-fit: cover; /* THIS is the key change */
  width: 100vw;
  height: 100vh;

  border-radius: 0; /* remove boxed look */
  filter: none; /* optional, cleaner full-bleed look */
}

.slider-dots {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.18);
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}

.slider-dot.is-active {
  background: #ff3ecb;
  box-shadow: 0 0 12px rgba(255,62,203,0.9);
}

.home-slide {
  overflow: hidden;
}

.home-slide.is-active {
  animation: slideFadeIn 420ms ease forwards;
}

.home-slide.slide-in-right {
  animation: slideInRight 420ms ease forwards;
}

.home-slide.slide-in-left {
  animation: slideInLeft 420ms ease forwards;
}

.home-slide.slide-out-left {
  display: block;
  animation: slideOutLeft 420ms ease forwards;
}

.home-slide.slide-out-right {
  display: block;
  animation: slideOutRight 420ms ease forwards;
}

.partner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}

.partner-overlay .partner-btn,
.partner-overlay button,
.partner-overlay a,
.partner-overlay input,
.partner-overlay select,
.partner-overlay textarea {
  pointer-events: auto;
}

.partner-content {
  pointer-events: auto;
}

.partner-content {
  max-width: 300px;
  width: calc(100% - 40px);
  margin-bottom: 95px;
  padding: 18px 18px 20px;

  text-align: center;
  color: #fff;

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;

  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.partner-content h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.partner-content p {
  margin: 0 0 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.86);
  text-shadow: none;
}

.partner-logos {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.partner-logos img {
  height: 75px;
  object-fit: contain;
  opacity: 0.95;
  filter: none;
}

.partner-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: #ff3ecb;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255,62,203,0.35);
}

.hair-form input,
.hair-form label {
  display: block;
  width: 100%;
  margin-bottom: 12px;
}

.hair-form label {
  background: rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

.partner-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.partner-modal.is-open {
  display: block;
}

.partner-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(8px);
}

.partner-modal-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(92vw, 460px);
  max-height: 88vh;
  overflow-y: auto;
  transform: translate(-50%, -50%);
  padding: 24px;
  border-radius: 26px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  color: #fff;
}

.partner-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.partner-modal-box h2 {
  margin: 0 32px 8px 0;
  font-size: 24px;
  font-weight: 800;
}

.partner-modal-box p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.partner-choice {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.partner-choice-btn {
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}

.partner-choice-btn.is-active {
  background: #ff3ecb;
  border-color: #ff3ecb;
}

.partner-form-panel {
  display: none;
}

.partner-form-panel.is-active {
  display: grid;
}

.partner-form {
  gap: 12px;
}

.partner-form input,
.partner-form textarea,
.partner-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
}

.partner-form textarea {
  min-height: 100px;
  resize: vertical;
}

.partner-form input::placeholder,
.partner-form textarea::placeholder {
  color: rgba(255,255,255,0.55);
}

.partner-form select option {
  color: #111;
}

.partner-submit {
  padding: 13px 18px;
  border-radius: 999px;
  border: 0;
  background: #ff3ecb;
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.hair-form .form-step {
  display: none;
}

.hair-form .form-step.is-active {
  display: block;
}

.hair-form h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.hair-form label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.86);
  margin-bottom: 8px;
}

.radio-group {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 0;
}

.radio-group input {
  width: auto;
  margin: 0;
}

.form-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin-bottom: 18px;
}

.form-progress-bar {
  height: 100%;
  width: 20%;
  background: #ff3ecb;
  border-radius: 999px;
  transition: width 250ms ease;
}

.form-buttons {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.form-buttons button {
  flex: 1;
}

.back-step {
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.partner-form input[type="text"],
.partner-form input[type="email"],
.partner-form input[type="tel"],
.partner-form input[type="url"],
.partner-form textarea,
.partner-form select {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
}

.partner-form input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  box-sizing: border-box;
}

.partner-form input[type="radio"],
.partner-form input[type="checkbox"] {
  width: auto;
  box-sizing: content-box;
}

.partner-form {
  overflow: hidden;
}

.partner-form {
  padding-right: 2px;
}

.partner-form textarea {
  word-break: break-word;
}

.success-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);

    background: #22c55e;
    color: #052e16;

    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;

    box-shadow: 0 10px 25px rgba(0,0,0,0.4);

    z-index: 9999;

    animation: fadeInUp 0.4s ease;
}

.product-slot {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.product-slot {
  z-index: 80;
  pointer-events: auto;
}

.shop-stage::before,
.shop-stage::after,
.stage-bg,
.stage-bg::after {
  pointer-events: none;
}

.product-video-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}

.product-video-modal.is-open {
  display: block;
}

.product-video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(10px);
}

.product-video-box {
  position: absolute;
  left: 50%;
  top: 50%;

  width: min(92vw, 390px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;

  transform: translate(-50%, -50%);
  padding: 18px;
  border-radius: 28px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

.product-video-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.product-video-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,62,203,0.18);
  color: #ffb8ef;
  font-size: 12px;
  font-weight: 700;
}

.product-video-box h2 {
  margin: 0 28px 14px;
  font-size: 22px;
  line-height: 1.15;
}

.video-preview-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-height: min(48vh, 430px);
  aspect-ratio: 9 / 16;

  border-radius: 22px;
  overflow: hidden;
  background: #000;
  margin-bottom: 14px;
}

.video-preview-link img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  display: block; /* this is fine, but not critical now */
}

.video-preview-link {
  margin-bottom: 18px; /* was probably 14px */
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62px;
  height: 62px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,62,203,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 35px rgba(255,62,203,0.45);
}

.product-video-box h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.product-video-box p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  line-height: 1.45;
}

.modal-product-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.watch-tiktok-btn {
  display: block;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ff3ecb;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255,62,203,0.35);
}

.view-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,.18);
}

.homepage-product-links {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 20;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 420px;
}

.homepage-product-links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.52);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(8px);
}

.homepage-product-links a:hover {
    background: rgba(255,0,180,.82);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(45px) scale(1.015);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-45px) scale(1.015);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-45px) scale(0.985);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(45px) scale(0.985);
  }
}

@media (max-width: 768px) {
  .stage-bg {
    background: url('/assets/images/shelf-bg-mobile-3-empty.png') center/cover no-repeat;
  }
}

@media (max-width: 768px) {
  .slot-center img, .slot-bottom-left img, .slot-bottom-right img {
    transform: scale(0.7);
  }

  .slot-center, .slot-bottom-left, .slot-bottom-right {
    height: 27%;
  }

  .slot-bottom-left, .slot-bottom-right {
    height: 24%;
    top: 67%;
  }

  .slot-bottom-right {
    width: 27%;
    left: 68%;
  }

  .slot-bottom-left {
    left: 15px;
    width: 27%;
    
  }

  .homepage-product-links {
    position: absolute;
    left: 24px;
    top: 24px;
    bottom: auto;
    z-index: 20;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 420px;
  }
  


}