/* 
 * BMAGNIV Main Stylesheet 
 * This file will hold the CSS extracted from bmagniv-FULL-APP.html 
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #FF1B6B;
  --purple: #7B2CBF;
  --orange: #FF6B00;
  --accent-yellow: #FFB627;
  --cream: #FBF8F3;
  --light-gray: #E8E0D2;
  --black: #0A0A0A;
  --white: #FFFFFF;
}

body {
  font-family: 'Heebo', system-ui, sans-serif;
  background: var(--cream);
  color: var(--black);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
}

/* Animations from PRD */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-cta {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 27, 107, 0.5);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px 0 rgba(255, 27, 107, 0);
  }
}

/* Utility classes or basic layout to start */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Confetti Animation */
@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Utility Classes */
.display-none {
  display: none !important;
}

/* Product Lightbox */
.product-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.product-lightbox.show {
  display: flex;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10001;
}
.lightbox-content {
  width: 80%;
  max-width: 800px;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
#lightboxImg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.lightbox-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.lightbox-thumb {
  width: 60px;
  height: 60px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: all 0.2s;
}
.lightbox-thumb.active {
  border-color: var(--pink);
  opacity: 1;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Review Modal */
.review-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}
.review-modal-overlay.show {
  display: flex;
}
.review-modal {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  animation: modalAppear 0.3s ease-out;
}
@keyframes modalAppear {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.review-modal-header {
  padding: 24px;
  background: #f9f9f9;
  border-bottom: 1px solid var(--light-gray);
  text-align: center;
  position: relative;
}
.review-modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}
.review-modal-header p {
  font-size: 14px;
  color: var(--gray);
}
.review-modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
}
.review-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.review-product-summary {
  display: flex;
  gap: 15px;
  background: var(--cream);
  padding: 12px;
  border-radius: 12px;
  align-items: center;
}
.review-product-summary img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}
.review-product-summary .info {
  display: flex;
  flex-direction: column;
}
.review-product-summary .info p:first-child {
  font-size: 12px;
  color: var(--gray);
  margin: 0;
}
.review-product-summary .info p:nth-child(2) {
  font-weight: 700;
  margin: 0;
}
.review-stars-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
  cursor: pointer;
}
.review-star {
  color: var(--light-gray);
  transition: color 0.2s, transform 0.2s;
}
.review-star:hover {
  transform: scale(1.2);
}
.review-star.active {
  color: var(--orange);
}
.review-stars-label {
  text-align: center;
  font-weight: 600;
  margin-bottom: 10px;
}
#reviewTitle, #reviewText {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: inherit;
}
.review-char-count {
  text-align: left;
  font-size: 12px;
  color: var(--gray);
  margin-top: -15px;
}
.review-tags-input {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.review-tag-input {
  padding: 6px 12px;
  background: var(--cream);
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.review-tag-input.selected {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
}
.review-anon-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  justify-content: center;
}
#reviewSubmit {
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity 0.2s;
}
#reviewCancel {
  background: none;
  border: none;
  color: var(--gray);
  text-decoration: underline;
  cursor: pointer;
  text-align: center;
}

