/* Spice Bazaar Custom Styling */
:root {
  --primary-color: #e63946;
  --secondary-color: #f1a208;
  --accent-color: #457b9d;
  --light-color: #f1faee;
  --dark-color: #1d3557;
  --success-color: #2a9d8f;
  --warning-color: #e9c46a;
  --info-color: #4cc9f0;
  --gradient-1: linear-gradient(to right, var(--primary-color), var(--accent-color));
  --gradient-2: linear-gradient(to right, var(--secondary-color), var(--success-color));
}

/* Sticky Menu Styles */
.sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: slideDown 0.3s ease;
}

.has-sticky-nav {
  padding-top: 60px;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

body {
  background-color: #fff8f0;
  animation: fadeIn 0.5s ease;
}

/* Global Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animated-element {
  animation: fadeInUp 0.8s ease;
}

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

.btn, .of_btn {
  transition: all 0.3s ease;
}

.btn:hover, .of_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.of_header_wrapper {
  background-color: var(--dark-color);
}

.of_menu ul li a {
  color: var(--light-color);
}

.of_menu ul li a:hover {
  color: var(--secondary-color);
}

.of_btn, .btn-primary {
  background: var(--gradient-1);
  border-color: var(--primary-color);
  border-radius: 30px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.of_btn:hover, .btn-primary:hover {
  background: var(--gradient-2);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Consistent Card Styling */
.panel {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  margin-bottom: 25px;
}

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

.panel-heading {
  background: var(--gradient-1);
  color: white;
  border: none;
}

.category-card, .product-card {
  border-radius: 8px;
  overflow: hidden;
}

.ch_heading_wrapper h1 {
  color: var(--dark-color);
}

.page-header {
  position: relative;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #4CAF50, #2E7D32);
  padding: 25px 0;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-bottom: 3px solid #2E7D32;
}

.of_product_box {
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

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

/* Image Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  border-radius: 8px;
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

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

.slide-content {
  position: absolute;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 20px;
  background-color: rgba(0,0,0,0.5);
  border-radius: 8px;
  max-width: 600px;
  animation: fadeInUp 1s ease;
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--light-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.slider-btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--gradient-1);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: white;
  text-decoration: none;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.prev-btn, .next-btn {
  background: rgba(255,255,255,0.3);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background: rgba(255,255,255,0.5);
}

.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced Product Styling */
.of_product_box {
  border: 1px solid #eee;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.of_product_box:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}

.of_product_box .of_product_img {
  position: relative;
  overflow: hidden;
}

.of_product_box .of_product_img img {
  transition: all 0.5s ease;
}

.of_product_box:hover .of_product_img img {
  transform: scale(1.05);
}

.of_product_box .of_product_text h2 {
  color: var(--dark-color);
}

.of_product_box .of_product_text h3 {
  color: var(--primary-color);
}

.of_product_box .of_product_text .of_btn {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.of_product_box .of_product_text .of_btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Submenu styling */
.of_menu ul li .submenu {
  display: none;
  position: absolute;
  background-color: var(--dark-color);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
  padding: 10px 0;
}

.of_menu ul li:hover .submenu {
  display: block;
}

.of_menu ul li .submenu li {
  display: block;
  padding: 0;
}

.of_menu ul li .submenu li a {
  color: var(--light-color);
  padding: 8px 15px;
  display: block;
  text-transform: capitalize;
}

.of_menu ul li .submenu li a:hover {
  background-color: rgba(255,255,255,0.1);
  color: var(--secondary-color);
}

/* Cart styling */
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(241, 162, 8, 0.1);
}

.btn-success {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-success:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}