:root {
  --primary: #3a0ca3;
  --secondary: #f5802a;
  --accent: #f72585;
  --light: #f8f9fa;
  --dark: #212529;
  --gradient-bg: linear-gradient(135deg, #3a0ca3 0%, #f5802a 100%);
  --pattern-bg: radial-gradient(
    circle at 10% 20%,
    rgba(114, 9, 183, 0.1) 0%,
    rgba(58, 12, 163, 0.1) 90%
  );
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* Header & Navigation */
.top-bar {
  background: var(--gradient-bg);
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  margin: 0 10px;
  transition: all 0.3s;
}

.nav-link:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Header Slider */
.header-slider {
  background: var(--pattern-bg);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.slider-shape {
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.slider-content {
  position: relative;
  z-index: 2;
}

.caption-frame {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.caption-frame::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(58, 12, 163, 0.1),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.star-caption {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.star-caption i {
  color: gold;
  margin: 0 5px;
  font-size: 1.5rem;
}

/* Products Section */
.products {
  padding: 80px 0;
  background: white;
}

.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 30px;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-img {
  height: 250px;
  object-fit: cover;
}

/* Sections with Background Patterns */
.pattern-section {
  padding: 80px 0;
  background: var(--pattern-bg);
}

.pattern-shape-1 {
  background: linear-gradient(
    45deg,
    rgba(114, 9, 183, 0.05) 0%,
    rgba(58, 12, 163, 0.05) 100%
  );
}

.pattern-shape-2 {
  background: radial-gradient(
      circle at top right,
      rgba(247, 37, 133, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(58, 12, 163, 0.05) 0%,
      transparent 50%
    );
}

.pattern-shape-3 {
  background: linear-gradient(
      to right,
      rgba(114, 9, 183, 0.03) 0%,
      transparent 20%,
      transparent 80%,
      rgba(58, 12, 163, 0.03) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(247, 37, 133, 0.03) 0%,
      transparent 20%,
      transparent 80%,
      rgba(114, 9, 183, 0.03) 100%
    );
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 0;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.sub-footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 40px;
}

.text-logo {
  font-weight: 700;
  font-size: 1.8rem;
  color: white;
  letter-spacing: 1px;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* Product Gallery */
.product-gallery {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.main-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnails {
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s;
  background: linear-gradient(45deg, #f1f8ff, #e0f7fa);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Product Info */
.product-info {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.product-title {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--secondary);
}

.product-price {
  font-size: 24px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 20px;
}

.product-rating {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.product-rating .stars {
  color: var(--accent);
  margin-right: 10px;
}

.product-description {
  margin-bottom: 25px;
  line-height: 1.7;
}

.product-features {
  margin-bottom: 25px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.feature-item i {
  color: var(--primary);
  margin-right: 10px;
}

/* Color Options */
.color-options {
  margin-bottom: 25px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.color-option.active {
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Quantity */
.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.quantity-input {
  width: 60px;
  height: 40px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 16px;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-add-to-cart {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  flex: 2;
  transition: all 0.3s;
}

.btn-add-to-cart:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-wishlist {
  background: white;
  border: 1px solid #ddd;
  color: var(--dark);
  width: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.btn-wishlist:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* Product Details Tabs */
.product-tabs {
  margin-top: 50px;
}

.nav-tabs .nav-link {
  padding: 15px 25px;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--dark);
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
  background: transparent;
}

.tab-content {
  padding: 30px;
  background: white;
  border-radius: 0 0 15px 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Specifications */
.specs-table {
  width: 100%;
}

.specs-table tr {
  border-bottom: 1px solid #eee;
}

.specs-table td {
  padding: 15px 10px;
}

.specs-table td:first-child {
  font-weight: 500;
  color: var(--secondary);
  width: 40%;
}

/* Reviews */
.review-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-author {
  font-weight: 500;
}

.review-date {
  color: #6c757d;
}

/* Related Products */
.related-products {
  margin-top: 80px;
}

.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background-color: #fff;
}
.product-card .card-body {
  padding: 20px;
}
.product-card .card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-img {
  object-fit: cover;
  background: linear-gradient(45deg, #f1f8ff, #e0f7fa);
  border-bottom: 1px solid #eee;
}
/* Contact Header */
.contact-header {
  background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  border-radius: 0 0 30% 30% / 0 0 20% 20%;
  margin-bottom: 60px;
}

.contact-header h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.contact-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Cards */
.contact-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  text-align: center;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-control {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(42, 157, 143, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--secondary);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.input-group .btn {
  height: 55px;
  overflow: hidden;
}
