/* ========== GENERAL STYLES ========== */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  color: #333;
}

/* ========== PRODUCT CARD ========== */
.product {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  background-color: white;
  margin-bottom: 20px;
  transition: transform 0.5s ease;
}

.product:hover {
  transform: scale(1.05);
}

.product img {
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-why {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.footer {
  background-color: #23272b;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 16px;
}

.footer a {
  color: #ffffff;
  text-decoration: underline;
}

.footer a:hover {
  color: #ffc107;
}

.footer .social-icons a {
  font-size: 28px;
  margin: 0 10px;
  color: white;
}

.footer .social-icons a:hover {
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CART TOGGLE ========== */
#cartToggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  transition: all 0.3s ease;
}

#cartToggle:hover {
  background-color: #ffc107;
  color: black;
}

/* ========== HEADER SECTION ========== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf6f0;
  padding: 20px;
  border-bottom: 2px solid #eee;
  flex-wrap: wrap;
}

.header-image {
  flex: 1;
  text-align: center;
}

.header-image img {
  height: 110px;
  max-height: 110px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
}

.header-text {
  flex: 2;
  padding: 0 20px;
}

.header-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #b56c74;
}

.header-text p {
  font-size: 1.1rem;
  color: #555;
}

/* ========== PRODUCT DETAIL PAGE ========== */
.product-detail-container {
  display: flex;
  gap: 30px;
  margin: 50px;
  align-items: flex-start;
}

.image-section img {
  max-width: 300px;
  border-radius: 10px;
}

.info-section {
  max-width: 500px;
}

.info-section h2 {
  color: #007bff;
  margin-bottom: 20px;
}

/* ========== SOCIAL ICON HOVER ========== */
.social-icons a:hover {
  color: #198754; /* Bootstrap success green */
}

/* ========== OPTIONAL BACKGROUND ANIMATION ========== */
@keyframes backgroundAnimation {
  0% { background-color: #333333; }
  50% { background-color: #4682B4; }
  100% { background-color: #2F4F4F; }
}

/* ========== MOBILE OPTIMIZATION ========== */
@media (max-width: 576px) {
  .floating-cart {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 999;
  }

  .cart-count {
    background: red;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 4px;
  }

  .hero-section {
    padding-top: 80px;
    text-align: center;
    background-color: #fbeee6;
  }

  .title-wrapper h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .title-wrapper p {
    font-size: 16px;
    margin: 0 auto 20px;
    color: #555;
  }

  .hero-buttons {
    margin-bottom: 20px;
  }

  .floating-image-left,
  .floating-image-right {
    display: none;
  }

  .welcome-section {
    padding: 20px;
    text-align: center;
  }

  .welcome-section h2 {
    color: #007bff;
    font-size: 22px;
    margin-bottom: 10px;
  }

  .welcome-section p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }

  .product-detail-container {
    flex-direction: column;
    margin: 20px;
  }

  .image-section img {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .info-section {
    max-width: 100%;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
  }

  .header-text {
    padding: 10px 0;
  }
}
.old-price {
  text-decoration: line-through;
  color: red;
  margin-right: 8px;
  font-weight: bold;
}

.new-price {
  color: #28a745; /* Optional: Green for positive price */
  font-weight: bold;
}
.old-price {
  color: red;
  text-decoration: line-through;
  margin-right: 8px;
}

.new-price {
  font-weight: bold;
  color: #000;
}
.center-title {
  text-align: center;
}
