/* StyleReels — Lightbox + Contact Form Component */

.sr-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
}
.sr-lightbox.open { display: flex; }

.sr-lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
}

.sr-lb-container {
  position: relative; z-index: 1;
  width: 95%; max-width: 1100px; max-height: 92vh;
  display: flex; flex-direction: column;
}

.sr-lb-close {
  position: absolute; top: -48px; right: 0;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1); border: none; border-radius: 50%;
  color: #fff; font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 2;
}
.sr-lb-close:hover { background: rgba(255,255,255,.25); }

.sr-lb-content {
  display: grid; grid-template-columns: 1.2fr 1fr;
  background: #111; border: 1px solid rgba(201,168,76,.2);
  border-radius: 16px; overflow: hidden;
  max-height: 88vh;
}

/* Image side */
.sr-lb-image-side {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #0a0a0a; padding: 24px; min-height: 400px;
}
.sr-lb-image-side img {
  max-width: 100%; max-height: 65vh;
  object-fit: contain; border-radius: 8px;
}
.sr-lb-caption {
  text-align: center; margin-top: 12px;
  font-size: .88rem; color: #888;
}
.sr-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%; color: #fff; font-size: 1.4rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.sr-lb-nav:hover { background: rgba(201,168,76,.3); border-color: rgba(201,168,76,.4); }
.sr-lb-prev { left: 12px; }
.sr-lb-next { right: 12px; }

/* Form side */
.sr-lb-form-side {
  padding: 32px 28px; overflow-y: auto;
  border-left: 1px solid rgba(255,255,255,.07);
}
.sr-lb-form-header { margin-bottom: 24px; }
.sr-lb-form-badge {
  display: inline-block;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.3);
  color: #c9a84c; padding: 4px 12px; border-radius: 16px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 12px;
}
.sr-lb-form-side h3 {
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  font-size: 1.3rem; font-weight: 800; color: #fff;
  margin-bottom: 6px;
}
.sr-lb-form-side p {
  font-size: .88rem; color: #888; line-height: 1.6;
}

.sr-field { margin-bottom: 14px; }
.sr-input {
  width: 100%; background: #1a1a1a;
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: 12px 14px;
  font-size: .9rem; color: #fff;
  font-family: 'Inter',sans-serif;
  outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.sr-input::placeholder { color: #444; }
.sr-input:focus { border-color: rgba(201,168,76,.5); box-shadow: 0 0 0 3px rgba(201,168,76,.08); }
.sr-textarea { resize: vertical; min-height: 80px; }
select.sr-input { cursor: pointer; }
select.sr-input option { background: #1a1a1a; }

.sr-lb-submit {
  width: 100%; background: #c9a84c; color: #0a0a0a;
  padding: 14px 24px; border-radius: 8px;
  font-weight: 800; font-size: .95rem; border: none;
  cursor: pointer; transition: all .2s;
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
}
.sr-lb-submit:hover {
  background: #e8c96a; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,168,76,.35);
}

.sr-lb-assurance {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 14px; justify-content: center;
}
.sr-lb-assurance span {
  font-size: .73rem; color: #666;
}

/* Success state */
.sr-lb-success { text-align: center; padding: 40px 0; }
.sr-lb-success-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: rgba(201,168,76,.12); border: 2px solid rgba(201,168,76,.4);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.8rem; color: #c9a84c;
}
.sr-lb-success h3 {
  font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; color: #fff;
}
.sr-lb-success p { color: #888; font-size: .9rem; line-height: 1.7; }

/* Responsive */
@media (max-width: 768px) {
  .sr-lb-content {
    grid-template-columns: 1fr;
    max-height: 95vh; overflow-y: auto;
  }
  .sr-lb-image-side { min-height: 250px; padding: 16px; }
  .sr-lb-image-side img { max-height: 40vh; }
  .sr-lb-nav { display: none; }
  .sr-lb-form-side { padding: 24px 20px; }
  .sr-lb-close { top: 8px; right: 8px; }
  .sr-lb-container { width: 100%; max-width: 100%; margin: 0; border-radius: 0; }
  .sr-lb-content { border-radius: 0; }
}
