/* 
 * Front Color: App-like Glassmorphism Metro Style
 */
/* Metro Colors Scale */
/* Product Detail Page */
.product-detail-container {
  max-width: 1000px;
  margin: 0 auto 5rem;
  padding: 20px;
}

/* Main Card Container */
.product-main-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6);
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
}

/* Swiper / Media Section */
.swiper {
  width: 100%;
  height: 500px;
  background: rgba(0, 0, 0, 0.2);
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Video Container */
.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: auto;
  /* Allow scrolling if content is too large */
}

/* Match theme scrollbar for video containers */
.video-container::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.video-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.video-container::-webkit-scrollbar-thumb {
  background: var(--primary-accent);
  border-radius: 10px;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Specific adjustments for Social Media Embeds */
.video-container iframe[src*="instagram.com"],
.video-container iframe[src*="tiktok.com"] {
  max-width: 340px;
  height: 100%;
  margin: 0 auto;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.8);
  background: #fff;
  /* Some IG embeds need a white background to look right */
  border-radius: 4px;
}

/* YouTube is usually 16:9 */
.video-container iframe[src*="youtube.com"],
.video-container iframe[src*="youtu.be"] {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  max-height: 100%;
}

/* Product Content Plate */
.product-detail-content {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-top: 1px solid var(--glass-border);
  padding: 3rem;
  flex-grow: 1;
  border-radius: 0 !important;
}

.product-title-main {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 950;
  color: white;
  letter-spacing: -0.02em;
}

/* Back Button */
.back-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.5rem;
  color: #fff;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: scale(1.1);
}

/* Info Row */
.product-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.product-page-price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.product-page-price {
  font-size: 2.5rem;
  font-weight: 950;
  color: #00ff88;
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.product-page-strike {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
  font-weight: 700;
}

.product-type-badge {
  margin-left: 10px;
  vertical-align: middle;
}

.product-page-sold {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  border: 1px solid var(--glass-border);
}

.product-page-sold i {
  color: var(--primary-accent);
  font-size: 1.2rem;
}

/* Description Area */
.product-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
  font-size: 1.05rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  font-weight: 400;
  /* List Typography */
}
.product-description p {
  margin-bottom: 1.5rem;
  /* Handle empty lines from editors */
}
.product-description p:last-child {
  margin-bottom: 0;
}
.product-description p br:only-child {
  display: none;
}
.product-description ol, .product-description ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.product-description ol li, .product-description ul li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}
.product-description ol li::marker, .product-description ul li::marker {
  color: var(--primary-accent);
  font-weight: 800;
}
.product-description ul {
  list-style-type: disc;
}
.product-description ol {
  list-style-type: decimal;
}
.product-description strong, .product-description b {
  color: white;
  font-weight: 700;
}
.product-description em, .product-description i {
  font-style: italic;
  opacity: 0.9;
}
@media (max-width: 480px) {
  .product-description {
    font-size: 1rem;
    line-height: 1.7;
  }
  .product-description ol, .product-description ul {
    padding-left: 1.25rem;
  }
}

/* Qty Selector */
.qty-wrapper label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.qty-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  width: max-content;
  overflow: hidden;
}

.qty-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  color: white;
  font-size: 1.25rem;
  border: none;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-input {
  width: 60px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--glass-border);
  border-right: 1px solid var(--glass-border);
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
}

/* Product Actions Footer */
.product-actions-footer {
  z-index: 3000 !important;
}

.product-actions-grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.product-actions-footer .btn {
  flex: 1 1 0%;
  height: 54px;
  min-width: 0;
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.product-actions-footer .btn i {
  font-size: 1.35rem !important;
  line-height: 1;
  flex-shrink: 0;
}

/* Specific weights for 3-button layout */
.product-actions-footer .btn-buy-now {
  flex: 2 1 0%;
}

.product-actions-footer .btn-add-to-cart {
  flex: 1 1 0%;
}

.product-actions-footer .offer {
  flex: 1 1 0%;
}

@media (max-width: 768px) {
  .product-actions-grid {
    max-width: 100%;
    gap: 8px;
    padding: 0 15px;
  }

  /* Hide text labels on mobile for secondary buttons when space is tight */
  .btn-add-to-cart span,
  .offer span {
    display: none !important;
  }

  .btn-add-to-cart,
  .offer {
    flex: 0 0 54px !important;
    padding: 0 !important;
  }

  .btn-buy-now {
    flex: 1 1 auto !important;
    font-size: 0.85rem;
    padding: 0 20px;
  }

  .product-actions-footer .btn {
    height: 54px;
  }

  .product-detail-container {
    margin-bottom: 120px !important;
    padding: 0;
  }

  .product-main-card {
    border-radius: 8px;
    border: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .product-detail-content {
    padding: 2.5rem 1.5rem;
  }

  .product-title-main {
    font-size: 2rem;
  }

  .product-page-price {
    font-size: 2rem;
  }

  .swiper {
    height: 400px;
  }
}

/*# sourceMappingURL=product-detail.css.map */
