/* Modern Classic UI Enhancements - Preserves original color theme */

/* Animation keyframes */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Global Styles */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
}

.fade-in-animation {
  animation: fadeIn 0.5s ease forwards;
}

.pulse-animation {
  animation: pulse 1s infinite;
}

.hover-active {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.animated {
  animation: fadeIn 0.5s ease forwards;
}

/* Section Titles - More modern look with same colors */
.section-title1-border {
  border: 2px solid #ff5252;
  margin: 0 0 35px;  /* Increased spacing */
  border-radius: 8px; /* More rounded corners */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Subtle shadow */
}

.section-title1 h3 {
  background: #ff5252;
  border-radius: 6px 0 0 6px;
  color: #fff;
  font-size: 18px; /* Slightly larger text */
  font-weight: 500;
  letter-spacing: 0.3px; /* Better letter spacing */
  padding: 10px 20px;
}

/* Product Cards - Modern look */
.single-product3 {
  background: #fff;
  border-radius: 8px; /* Rounded corners */
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); /* Subtle shadow */
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden; /* Keep rounded corners intact */
  margin-bottom: 10px;
}

.single-product3:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Product Image container */
.product-img {
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0; /* Match card radius at top */
}

/* Product content - text and buttons */
.product-content {
  padding: 15px; /* More breathing room */
}

.product-content h2 {
  font-weight: 500;
  margin-bottom: 10px;
}

.product-content h2 a {
  font-size: 16px;
  color: #333;
  transition: color 0.3s;
}

.product-content h2 a:hover {
  color: #ff5252;
}

/* Price styling */
.product-price {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
}

.price_holder {
  margin-bottom: 8px;
}

.new-price {
  font-size: 16px;
  font-weight: 600;
  color: #ff5252;
}

.old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
}

/* Rating stars */
.rating {
  margin: 8px 0;
}

/* Add to cart button */
.button.add-btn {
  background: #ff5252;
  color: #fff;
  border-radius: 30px; /* Rounded button */
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
  display: inline-block;
  text-align: center;
}

.button.add-btn:hover {
  background: #e03e3e;
  box-shadow: 0 5px 15px rgba(255, 82, 82, 0.3);
}

/* Action buttons (wishlist, quick view) */
.product-action {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s;
  z-index: 9;
  display: flex;
}

.single-product3:hover .product-action {
  opacity: 1;
}

.product-action li a {
  background: #fff;
  border-radius: 50%;
  color: #333;
  display: block;
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 40px;
  margin: 0 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.product-action li a:hover {
  background: #ff5252;
  color: #fff;
  transform: scale(1.1);
}

/* Sliders & Carousels */
.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  background: #fff;
  border-radius: 50%;
  color: #ff5252;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 40px;
  font-size: 20px;
  margin: 0 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
  background: #ff5252;
  color: #fff;
}

/* Product discount badge */
.sicker {
  background: #ff5252;
  border-radius: 30px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 12px;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Category and Brand containers */
.all_categori_list {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.all_categori_list:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.all_categori_list span {
  font-weight: 500;
  padding: 10px;
  display: block;
  background: #f8f8f8;
  text-align: center;
}

/* Hot deal section */
.hot-deal-list {
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.count-down-box {
  margin-top: 15px;
}

/* View all links */
.category_view_all a {
  background: #f8f8f8;
  border-radius: 30px;
  color: #ff5252;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 15px;
  transition: all 0.3s;
}

.category_view_all a:hover {
  background: #ff5252;
  color: #fff;
}

/* Enhanced Slider */
.nivoSlider {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Tablet & Mobile Optimizations */
@media only screen and (max-width: 767px) {
  .section-title1 h3 {
    font-size: 16px;
    padding: 8px 15px;
  }
  
  .product-content {
    padding: 10px;
  }
  
  .button.add-btn {
    padding: 6px 15px;
    font-size: 13px;
  }
}
