* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #16a34a;
  --primary-light: #22c55e;
  --primary-dark: #15803d;
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  --accent: #10b981;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient-primary: linear-gradient(
    135deg,
    #16a34a 0%,
    #10b981 50%,
    #059669 100%
  );
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --gradient-glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 40px rgba(22, 163, 74, 0.3);
}

body {
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

#hero {
  background: linear-gradient(
    135deg,
    hsl(222 47% 11%),
    hsl(220 30% 20%),
    hsl(222 47% 11%)
  ) !important;
}
.heading-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    135deg,
    hsl(217 91% 45%) 0%,
    hsl(180 70% 45%) 100%
  );
  border-radius: 2px;
}
.heading-underline {
  position: relative;
  display: inline-block;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s infinite ease-in-out;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(
    135deg,
    hsl(217 91% 45%) 0%,
    hsl(180 70% 45%) 100%
  ) !important;
  border-radius: 9999px;
  box-shadow: 0 4px 20px hsla(217, 91%, 45%, 0.35);
  transition: all 0.3s ease;
}
.blob-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.3),
    rgba(16, 185, 129, 0.2)
  );
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(5, 150, 105, 0.3)
  );
  bottom: -150px;
  left: -150px;
  animation-delay: -7s;
}

.blob-3 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.2),
    rgba(22, 163, 74, 0.2)
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(-30px, 30px) scale(0.95);
  }
  75% {
    transform: translate(40px, 20px) scale(1.05);
  }
}

/* Main Content */
.main-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

/* Back Button */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-radius: 50px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.back-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  transform: translateX(-5px);
}

.back-btn svg {
  width: 18px;
  height: 18px;
}

/* Product Details Section */
.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Image Gallery */
.image-gallery {
  background: var(--surface);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.main-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-image .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.main-image .placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.thumbnail-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
  transform: scale(1.05);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Card */
.product-info {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.05),
    rgba(16, 185, 129, 0.05)
  );
  border-radius: 12px;
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.meta-label {
  font-weight: 600;
  color: var(--text-primary);
}

.meta-value {
  color: var(--text-secondary);
}

.meta-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.current-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: "Outfit", sans-serif;
}

.original-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.discount-badge {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.add-to-cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(
    135deg,
    hsl(217 91% 45%) 0%,
    hsl(180 70% 45%) 100%
  ) !important;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Outfit", sans-serif;
    margin-top: auto;
}
.add-to-cart-btn.alreadyCart {
  pointer-events: none;
  background: #7f8080 !important;
}
.add-to-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.add-to-cart-btn svg {
  width: 20px;
  height: 20px;
}

/* Product Media Section */
.media-section {
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title svg {
  width: 28px;
  height: 28px;
}

/* Media List */
.media-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  /* cursor: pointer; */
}

.media-item:hover {
  border-color: var(--primary);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.media-thumbnail {
  width: 100px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.media-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumbnail .play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.media-item:hover .play-overlay {
  opacity: 1;
}

.play-overlay svg {
  width: 30px;
  height: 30px;
  color: white;
}

.media-info {
  flex: 1;
}

.media-title {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.media-type {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.media-type svg {
  width: 14px;
  height: 14px;
}

.media-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.demo-btn svg {
  width: 18px;
  height: 18px;
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.video-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--secondary);
  border-radius: 20px;
  overflow: hidden;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.close-modal {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

.close-modal svg {
  width: 24px;
  height: 24px;
  color: white;
}

.video-container {
  aspect-ratio: 16/9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.video-placeholder svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .media-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .demo-btn {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .main-content,
  .product-info,
  .image-gallery,
  .media-section {
    padding: 1rem !important;
  }
  .main-image {
    margin-bottom: 0px !important;
  }
  .product-title {
    font-size: 1.5rem !important;
  }
  .meta-item {
    flex-direction: column;
    justify-content: start;
    align-items: start;
  }
  .add-to-cart-btn{
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    bottom: 0;
  }
  .media-item {
    flex-direction: column;
    display: flex !important;
    align-items: start;
    /* gap:5px !important; */
}
.demo-btn{
  margin-top:0px !important;
}
.media-thumbnail {
    width: 100%;
    height: 160px;
}
.media-description{
  margin:0px !important;
}
}
