:root {
  --primary: #ff6b00;
  --primary-dark: #e55a00;
  --primary-light: #ff8533;
  --secondary: #1a1a2e;
  --accent: #ffd700;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --border-color: #dee2e6;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
}

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

a:hover {
  color: var(--primary-dark);
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: var(--secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: headerSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes headerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.top-bar {
  background: var(--primary);
  color: white;
  padding: 4px 0;
  font-size: 0.85rem;
}

.main-nav {
  padding: 12px 0;
  position: relative;
}

/* Subtle bottom glow line on the nav */
.main-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  opacity: 0.5;
  animation: headerGlowLine 4s ease-in-out infinite;
}

@keyframes headerGlowLine {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.7;
  }
}

.main-nav .navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent) !important;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav .navbar-brand:hover {
  transform: scale(1.03);
  filter: brightness(1.15);
}

.main-nav .navbar-brand span {
  color: white;
}

/* Enhanced Search Box */
.search-box {
  position: relative;
  flex: 1;
  max-width: 600px;
}

@media (min-width: 768px) {
  .main-nav .container .d-flex {
    position: relative;
  }

  .search-box {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: unset;
    width: 36%;
    max-width: 480px;
    z-index: 10;
  }
}

@media (min-width: 992px) {
  .search-box {
    width: 42%;
    max-width: 580px;
  }
}

.search-box input {
  border-radius: 50px;
  padding: 11px 50px 11px 22px;
  border: 2px solid rgba(255, 107, 0, 0.4);
  font-size: 0.95rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-box input::placeholder {
  color: #999;
  transition: color 0.3s ease;
}

.search-box input:hover {
  border-color: var(--primary);
  box-shadow: 0 3px 12px rgba(255, 107, 0, 0.12);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15), 0 4px 16px rgba(255, 107, 0, 0.12);
  background: #fff;
}

.search-box input:focus::placeholder {
  color: #bbb;
}

.search-box .search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.search-box .search-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), #cc4e00);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
}

.search-box .search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  z-index: 1060;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.06);
  animation: suggestionsDropdown 0.25s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes suggestionsDropdown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-suggestions .suggestion-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-suggestions .suggestion-item:hover {
  background: linear-gradient(135deg, #fff5f0, #fff8f4);
  padding-left: 20px;
}

.search-suggestions .suggestion-item.suggestion-active {
  background: linear-gradient(135deg, #fff5f0, #fff8f4);
  outline: none;
}

/* Nav Icons with animations */
.nav-icons .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.2rem;
  position: relative;
  padding: 8px 12px !important;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.nav-icons .nav-link:hover {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nav-icons .nav-link:active {
  transform: translateY(0) scale(0.92);
}

/* Price List Download Button - Header */
.price-list-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--accent), #ffb800);
  color: var(--secondary) !important;
  border: none;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.price-list-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.price-list-btn:hover {
  background: linear-gradient(135deg, #ffb800, var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(255, 215, 0, 0.45);
  color: var(--secondary) !important;
}

.price-list-btn:hover::before {
  left: 100%;
}

.price-list-btn:active {
  transform: translateY(0) scale(0.97);
}

/* Price List Download Button - Home Page CTA */
.btn-download-pricelist {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 215, 0, 0.8);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-download-pricelist::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--accent), #ffb800);
  transition: width 0.35s ease;
  z-index: -1;
  border-radius: 50px;
}

.btn-download-pricelist:hover {
  color: var(--secondary) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.35);
}

.btn-download-pricelist:hover::before {
  width: 100%;
}

.btn-download-pricelist:active {
  transform: translateY(0) scale(0.97);
}

/* ── Google Translate Widget ─────────────────────────────────────────── */
.translate-widget #translateToggleBtn {
  background: transparent;
  border: none;
  cursor: pointer;
}

.translate-widget #translateToggleBtn.active {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.08);
}

.translate-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 280px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  padding: 14px 16px 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 2000;
}

.translate-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.translate-dropdown-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary, #1a1a2e);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* Search box inside the translate dropdown */
.translate-search-box {
  position: relative;
  margin-bottom: 10px;
}

.translate-search-box i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 0.8rem;
  pointer-events: none;
}

.translate-search-box input {
  width: 100%;
  padding: 8px 10px 8px 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #333;
  outline: none;
  transition: border-color 0.2s ease;
}

.translate-search-box input:focus {
  border-color: var(--primary, #ff6b00);
}

/* Scrollable native-language list */
.translate-lang-list {
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.translate-lang-list::-webkit-scrollbar {
  width: 6px;
}

.translate-lang-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.translate-lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #333;
  transition: background 0.15s ease;
}

.translate-lang-item:hover {
  background: #fff5f0;
}

.translate-lang-item.active {
  background: linear-gradient(135deg, #fff5f0, #fff8f4);
  color: var(--primary, #ff6b00);
  font-weight: 700;
}

.translate-lang-item .lang-native {
  font-weight: 600;
}

.translate-lang-item .lang-english {
  font-size: 0.72rem;
  color: #999;
  margin-left: 8px;
  font-weight: 400;
  white-space: nowrap;
}

.translate-lang-item.active .lang-english {
  color: var(--primary, #ff6b00);
  opacity: 0.75;
}

.translate-lang-item i.fa-check {
  font-size: 0.75rem;
  margin-left: 6px;
}

.translate-lang-empty {
  padding: 16px 10px;
  text-align: center;
  color: #999;
  font-size: 0.82rem;
}

/* The real Google widget stays functionally active but visually hidden;
   we drive it entirely through our own searchable list above. */
.translate-hidden-widget {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Style the Google-generated <select> and hide the default "Powered by" label
   (attribution link is kept, just visually minimized) while everything still works */
#google_translate_element .goog-te-gadget {
  font-family: inherit !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 1;
}

#google_translate_element .goog-te-gadget .goog-te-combo {
  font-size: 0.85rem !important;
  color: #333 !important;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
}

#google_translate_element .goog-te-gadget > span > a {
  font-size: 0.65rem !important;
}

/* Neutralize the top banner iframe Google injects on the whole document once a
   language is selected, so the page layout never jumps/shifts down */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate.goog-te-banner-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-te-spinner-pos {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

html {
  top: 0px !important;
}

#google_translate_element .goog-te-gadget-icon {
  display: none !important;
}

.nav-icons .cart-badge {
  position: absolute;
  top: 0px;
  right: 2px;
  background: linear-gradient(135deg, var(--primary), #ff3d00);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: badgePop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  box-shadow: 0 2px 6px rgba(255, 61, 0, 0.4);
}

@keyframes badgePop {
  from {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.2);
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Category Nav */
.category-nav {
  background: linear-gradient(180deg, #232342, #1e1e3a);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.category-nav nav {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-nav nav::-webkit-scrollbar {
  display: none;
}

.category-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
}

.category-nav .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 10px 18px !important;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 4px;
}

.category-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-nav .nav-link:hover,
.category-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.05);
}

.category-nav .nav-link:hover::after,
.category-nav .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Hero Banner */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85) 0%, rgba(26, 26, 46, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 40px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

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

/* Product Card */
.product-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-image {
  position: relative;
  padding-top: 100%;
  background: var(--bg-light);
  overflow: hidden;
}

.product-card .product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-card .discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--danger);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-card .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: var(--transition);
  color: #ccc;
}

.product-card .wishlist-btn:hover,
.product-card .wishlist-btn.active {
  color: var(--danger);
}

.product-card .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .product-category {
  font-size: clamp(0.62rem, 1.5vw, 0.75rem);
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.product-card .product-name {
  font-size: clamp(0.78rem, 2vw, 0.95rem);
  font-weight: 600;
  margin: 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-dark);
  min-height: 2.6em;
}

.product-card .product-price {
  padding-top: 8px;
}

.product-card .product-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.product-card .selling-price {
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: var(--text-dark);
}

.product-card .mrp-price {
  font-size: clamp(0.7rem, 1.5vw, 0.82rem);
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card .discount-text {
  font-size: clamp(0.68rem, 1.4vw, 0.78rem);
  color: var(--success);
  font-weight: 600;
}

.product-card .add-to-cart-btn {
  border-radius: 25px;
  padding: 6px 8px;
  font-size: clamp(0.68rem, 2vw, 0.85rem);
  transition: var(--transition);
  white-space: nowrap;
  min-width: 0;
}

/* Stock Badge */
.stock-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Section Titles */
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 25px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Category Card */
.category-card {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: white;
  border: 1px solid var(--border-color);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.category-card .category-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
  color: white;
}

.category-card .category-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.category-card .product-count {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* New Category Card Design */
.category-section {
  background: linear-gradient(180deg, #fff 0%, #fff5f0 100%);
}

.bg-primary-soft {
  background: rgba(255, 107, 53, 0.1) !important;
}

.category-scroll-row::-webkit-scrollbar {
  display: none;
}

.category-card-new {
  background: white;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
}

.category-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #ff8c42);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card-new:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.15);
  border-color: transparent;
}

.category-card-new:hover::before {
  transform: scaleX(1);
}

.category-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 16px;
  gap: 10px;
  text-align: center;
}

.category-icon-new {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.category-card-new:hover .category-icon-new {
  background: linear-gradient(135deg, var(--primary) 0%, #ff8c42 100%);
  transform: scale(1.1);
}

.category-card-new:hover .category-icon-new svg {
  color: white !important;
  fill: white !important;
}

.category-content {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.category-name-new {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 2px;
  white-space: normal;
  overflow: hidden;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

.product-count-new {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

.category-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.category-card-new:hover .category-arrow {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .category-card-inner {
    padding: 14px 10px;
    gap: 8px;
  }

  .category-icon-new {
    width: 50px;
    height: 50px;
  }

  .category-name-new {
    font-size: 0.9rem;
  }

  .category-arrow {
    display: none;
  }
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--bg-light);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

/* ===== CART PAGE STYLES ===== */

/* Cart page container */
.cart-page-container {
  animation: fadeInUp 0.5s ease-out;
}

/* Cart items card */
.col-lg-8>.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  background: linear-gradient(180deg, #fff 0%, #fefefe 100%);
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  gap: 16px;
  transition: all 0.3s ease;
  animation: cartItemSlideIn 0.4s ease-out backwards;
  position: relative;
}

.cart-item:nth-child(1) {
  animation-delay: 0.05s;
}

.cart-item:nth-child(2) {
  animation-delay: 0.1s;
}

.cart-item:nth-child(3) {
  animation-delay: 0.15s;
}

.cart-item:nth-child(4) {
  animation-delay: 0.2s;
}

.cart-item:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes cartItemSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cart-item:hover {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.cart-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, #ff6b35, #ff8c42);
  border-radius: 0 3px 3px 0;
  transition: transform 0.3s ease;
}

.cart-item:hover::before {
  transform: translateY(-50%) scaleY(1);
}

.cart-item .cart-image {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-item:hover .cart-image {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.cart-item .cart-image img {
  transition: transform 0.4s ease;
}

.cart-item:hover .cart-image img {
  transform: scale(1.1);
}

.cart-item .quantity-control {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8f9fa;
  padding: 4px;
  border-radius: 25px;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  color: #666;
}

.quantity-control button:hover {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.quantity-control button:active {
  transform: scale(0.95);
}

.quantity-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
  color: #333;
}

.quantity-control input[type="number"] {
  min-width: 36px;
  width: 40px;
  text-align: center;
  font-weight: 700;
  color: #333;
  border: none;
  background: transparent;
  -moz-appearance: textfield;
  padding: 0;
}

.quantity-control input[type="number"]:focus {
  outline: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.25);
}

.quantity-control input[type="number"]::-webkit-outer-spin-button,
.quantity-control input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product card manual quantity input */
.card-qty-input {
  width: 38px;
  min-width: 38px;
  text-align: center;
  font-weight: 700;
  color: #333;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 2px 0;
  -moz-appearance: textfield;
}

.card-qty-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.card-qty-input::-webkit-outer-spin-button,
.card-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Product detail page manual quantity input */
.detail-qty-input {
  width: 60px;
  text-align: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 6px 4px;
  -moz-appearance: textfield;
}

.detail-qty-input:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
}

.detail-qty-input::-webkit-outer-spin-button,
.detail-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Price Summary */
.price-summary {
  background: linear-gradient(180deg, #fff 0%, #fff5f0 100%);
  border: none;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 32px rgba(255, 107, 53, 0.1);
  animation: priceSummarySlideIn 0.5s ease-out 0.2s backwards;
  overflow: hidden;
}

.price-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42, #ffb347, #ff8c42, #ff6b35);
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

@keyframes priceSummarySlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-summary h5 {
  color: var(--primary);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.price-summary h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  border-radius: 2px;
}

.price-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
  animation: summaryRowFade 0.3s ease backwards;
}

.price-summary .summary-row:nth-child(2) {
  animation-delay: 0.1s;
}

.price-summary .summary-row:nth-child(3) {
  animation-delay: 0.15s;
}

.price-summary .summary-row:nth-child(4) {
  animation-delay: 0.2s;
}

.price-summary .summary-row:nth-child(5) {
  animation-delay: 0.25s;
}

@keyframes summaryRowFade {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.price-summary .total-row {
  font-weight: 700;
  font-size: 1.15rem;
  border-bottom: none;
  padding-top: 16px;
  margin-top: 8px;
  color: var(--text-dark);
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.08) 0%, transparent 100%);
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
}

.price-summary .savings-row {
  color: var(--success);
  font-weight: 600;
  background: rgba(40, 167, 69, 0.08);
  margin: 0 -24px;
  padding: 10px 24px;
  animation: savingsGlow 2s ease-in-out infinite;
}

@keyframes savingsGlow {

  0%,
  100% {
    background: rgba(40, 167, 69, 0.08);
  }

  50% {
    background: rgba(40, 167, 69, 0.12);
  }
}

/* Checkout button in price summary */
.price-summary .btn-warning,
.price-summary .btn-lg {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: white !important;
  position: relative;
  overflow: hidden;
}

.price-summary .btn-warning::before,
.price-summary .btn-lg::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.price-summary .btn-warning:hover,
.price-summary .btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.45);
}

.price-summary .btn-warning:hover::before,
.price-summary .btn-lg:hover::before {
  left: 100%;
}

.price-summary .btn-warning:active,
.price-summary .btn-lg:active {
  transform: translateY(-1px);
}

/* Cart coupon card */
.col-lg-4>.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: visible;
  animation: fadeInUp 0.4s ease-out;
}

.col-lg-4>.card .card-body h6 {
  color: var(--primary);
  font-size: 0.95rem;
}

/* Empty cart state */
.text-center .btn-primary.btn-lg {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.text-center .btn-primary.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

/* Cart page buttons */
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-outline-danger {
  border: 2px solid var(--danger);
  color: var(--danger);
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-danger:hover {
  background: var(--danger);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Cart item remove button */
.cart-item .btn-link.text-danger {
  transition: all 0.3s ease;
  position: relative;
}

.cart-item .btn-link.text-danger::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--danger);
  transition: width 0.3s ease;
}

.cart-item .btn-link.text-danger:hover::after {
  width: 100%;
}

.cart-item .btn-link.text-danger:hover {
  transform: translateX(2px);
}

/* Footer */
.site-footer {
  background: var(--secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 50px 0 0;
}

.site-footer h5 {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 0.85rem;
}

/* Skeleton Loader */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.skeleton-card {
  height: 350px;
  border-radius: var(--radius-lg);
}

.skeleton-text {
  height: 20px;
  margin-bottom: 10px;
}

.skeleton-text.sm {
  height: 14px;
  width: 60%;
}

.skeleton-text.lg {
  height: 28px;
  width: 80%;
}

/* Badge animations */
.pulse-badge {
  animation: pulse 2s infinite;
}

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

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Offer countdown */
.offer-countdown {
  background: linear-gradient(135deg, var(--danger), var(--primary));
  color: white;
  border-radius: var(--radius);
  padding: 15px;
  text-align: center;
}

.offer-countdown .countdown-block {
  display: inline-block;
  margin: 0 8px;
  text-align: center;
}

.offer-countdown .countdown-value {
  font-size: 1.5rem;
  font-weight: 800;
  display: block;
}

.offer-countdown .countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Toast customization */
.toast-custom {
  font-family: inherit;
  animation: toastSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes toastSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Toast container styling */
[data-sonner-toaster],
div[style*="position: fixed"][style*="z-index: 9999"] {
  z-index: 9999 !important;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
  z-index: 1041;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  color: white;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.7);
}

/* Download Pricelist Sticker */
.pricelist-sticker {
  position: fixed;
  right: 20px;
  bottom: 156px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1041;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.pricelist-sticker img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
}

.pricelist-sticker:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

/* Old .pricelist class kept for compat */
.pricelist {
  display: none;
}

/* Floating Cart Button */
.cart-float {
  position: fixed;
  bottom: 88px;
  right: 20px;
  background: linear-gradient(135deg, #ff6b00, #ff8c00);
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
  z-index: 1041;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.cart-float:hover {
  transform: scale(1.12);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6);
}

.cart-float-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #fff;
  color: #ff6b00;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  line-height: 1;
}


/* Responsive */

/* ===== MOBILE NAV FIXES ===== */
@media (max-width: 767px) {
  .main-nav .navbar-brand {
    font-size: 1rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
  }

  .main-nav .navbar-brand .brand-text {
    font-size: 0.95rem;
  }

  .nav-icons .nav-link {
    padding: 5px 8px !important;
    font-size: 1.05rem;
  }

  .nav-icons .cart-badge {
    width: 17px;
    height: 17px;
    font-size: 0.6rem;
    top: -1px;
    right: 0;
  }

  .main-nav {
    padding: 8px 0;
  }

  .main-nav .container>.d-flex {
    flex-wrap: nowrap;
    gap: 8px !important;
  }
}

/* ===== FILTER SIDEBAR MOBILE (works with Bootstrap d-lg-none) ===== */
.filter-sidebar-mobile {
  position: fixed;
  top: 0;
  left: 0;
  padding: 95px 16px 20px 16px;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  z-index: 1060;
  background: linear-gradient(180deg, #fff 0%, #fff5f0 100%);
  box-shadow: 4px 0 30px rgba(255, 107, 53, 0.2);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.filter-sidebar-mobile.open {
  transform: translateX(0);
}

@keyframes gradientSlide {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.filter-sidebar-mobile.open .p-3>* {
  animation: slideInItems 0.4s ease backwards;
}

.filter-sidebar-mobile.open .p-3>*:nth-child(1) {
  animation-delay: 0.1s;
}

.filter-sidebar-mobile.open .p-3>*:nth-child(2) {
  animation-delay: 0.15s;
}

.filter-sidebar-mobile.open .p-3>*:nth-child(3) {
  animation-delay: 0.2s;
}

.filter-sidebar-mobile.open .p-3>*:nth-child(4) {
  animation-delay: 0.25s;
}

.filter-sidebar-mobile.open .p-3>*:nth-child(5) {
  animation-delay: 0.3s;
}

.filter-sidebar-mobile.open .p-3>*:nth-child(6) {
  animation-delay: 0.35s;
}

@keyframes slideInItems {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.filter-sidebar-mobile h5 {
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin: 0;
}

.filter-sidebar-mobile h5::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  border-radius: 2px;
}

.filter-sidebar-mobile .filter-header {
  background: #fff;
  padding: 20px 16px 16px 16px;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 107, 53, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.filter-sidebar-mobile .filter-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42, #ffb347, #ff8c42, #ff6b35);
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

.filter-sidebar-mobile .filter-header h5 {
  color: var(--primary);
  margin: 0;
}

.filter-sidebar-mobile .filter-header .close-btn-animated {
  position: relative;
  z-index: 25;
}

.filter-sidebar-mobile>.p-3 {
  flex: 1;
  overflow-y: auto;
}

.filter-sidebar-mobile .form-label {
  color: #333;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 12px;
}

.filter-sidebar-mobile .form-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: linear-gradient(180deg, #ff6b35, #ff8c42);
  border-radius: 2px;
}

.filter-sidebar-mobile .form-select {
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 10px 12px;
  background-color: white;
}

.filter-sidebar-mobile .form-control {
  border: 2px solid #f0f0f0;
  border-radius: 10px;
  padding: 10px 12px;
}

.filter-sidebar-mobile .btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.filter-sidebar-mobile .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.filter-sidebar-mobile .btn-outline-secondary {
  border: 2px dashed #ddd;
  border-radius: 10px;
  color: #666;
  transition: all 0.3s ease;
}

.filter-sidebar-mobile .btn-outline-secondary:hover {
  border-color: var(--primary);
  border-style: solid;
  color: var(--primary);
  background: #fff5f0;
}

.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 1055;
  animation: fadeInOverlay 0.3s ease forwards;
  backdrop-filter: blur(2px);
}

@keyframes fadeInOverlay {
  to {
    background: rgba(0, 0, 0, 0.5);
  }
}

/* Filter animations */
.filter-sidebar-mobile .form-select:focus,
.filter-sidebar-mobile .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  transform: scale(1.02);
}

.filter-sidebar-mobile .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  animation: checkBounce 0.3s ease;
}

@keyframes checkBounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Desktop filter card animation */
.col-lg-3>.card {
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #fff 0%, #fff5f0 100%);
  border: none;
  border-radius: 16px;
  overflow: hidden;
  position: sticky !important;
  top: 80px !important;
  max-height: calc(100vh - 100px) !important;
  overflow-y: auto;
}

.col-lg-3>.card .card-body {
  padding: 12px 14px;
}

.col-lg-3>.card .card-title {
  font-size: 1rem;
  margin-bottom: 14px !important;
}

.col-lg-3>.card .mb-3 {
  margin-bottom: 10px !important;
}

.col-lg-3>.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42, #ffb347, #ff8c42, #ff6b35);
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

.col-lg-3>.card:hover {
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.12);
}

.col-lg-3>.card .card-title {
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.col-lg-3>.card .card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  border-radius: 2px;
}

.col-lg-3>.card .form-label {
  color: #333;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  position: relative;
  padding-left: 12px;
  margin-bottom: 4px;
}

.col-lg-3>.card .form-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 12px;
  background: linear-gradient(180deg, #ff6b35, #ff8c42);
  border-radius: 2px;
}

.col-lg-3>.card .form-select,
.col-lg-3>.card .form-control {
  transition: all 0.2s ease;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  padding: 8px 10px;
  background-color: white;
  font-size: 0.85rem;
}

.col-lg-3>.card .form-select:focus,
.col-lg-3>.card .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  transform: scale(1.02);
}

.col-lg-3>.card .form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
  animation: checkBounce 0.3s ease;
}

.col-lg-3>.card .btn-outline-secondary {
  transition: all 0.3s ease;
  border: 2px dashed #ddd;
  border-radius: 8px;
  color: #666;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.col-lg-3>.card .btn-outline-secondary:hover {
  border-color: var(--primary);
  border-style: solid;
  color: var(--primary);
  background: #fff5f0;
  transform: translateY(-2px);
}

.col-lg-3>.card .btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  transition: all 0.3s ease;
}

.col-lg-3>.card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Stagger animation for desktop filter items */
.col-lg-3>.card .card-body>* {
  animation: staggerFadeIn 0.4s ease-out backwards;
}

.col-lg-3>.card .card-body>*:nth-child(1) {
  animation-delay: 0.1s;
}

.col-lg-3>.card .card-body>*:nth-child(2) {
  animation-delay: 0.15s;
}

.col-lg-3>.card .card-body>*:nth-child(3) {
  animation-delay: 0.2s;
}

.col-lg-3>.card .card-body>*:nth-child(4) {
  animation-delay: 0.25s;
}

.col-lg-3>.card .card-body>*:nth-child(5) {
  animation-delay: 0.3s;
}

.col-lg-3>.card .card-body>*:nth-child(6) {
  animation-delay: 0.35s;
}

.col-lg-3>.card .card-body>*:nth-child(7) {
  animation-delay: 0.4s;
}

/* Card body animations */
.card-body {
  animation: fadeSlideIn 0.4s ease-out;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-body>* {
  animation: staggerFadeIn 0.3s ease-out backwards;
}

.card-body>*:nth-child(1) {
  animation-delay: 0.05s;
}

.card-body>*:nth-child(2) {
  animation-delay: 0.1s;
}

.card-body>*:nth-child(3) {
  animation-delay: 0.15s;
}

.card-body>*:nth-child(4) {
  animation-delay: 0.2s;
}

.card-body>*:nth-child(5) {
  animation-delay: 0.25s;
}

.card-body>*:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stylish Animated Close Button */
.close-btn-animated {
  position: relative;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border: none;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
  overflow: visible;
  z-index: 10;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.close-btn-animated::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.close-btn-animated:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.close-btn-animated:hover::before {
  opacity: 1;
}

.close-btn-animated:active {
  transform: scale(0.95) rotate(90deg);
}

.close-btn-animated .close-line {
  position: absolute;
  width: 16px;
  height: 2.5px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.close-btn-animated .close-line:first-child {
  transform: rotate(45deg);
}

.close-btn-animated .close-line:last-child {
  transform: rotate(-45deg);
}

.close-btn-animated:hover .close-line:first-child {
  transform: rotate(45deg) scaleX(1.2);
}

.close-btn-animated:hover .close-line:last-child {
  transform: rotate(-45deg) scaleX(1.2);
}

/* Pulse animation on appear */
.filter-sidebar-mobile.open .close-btn-animated {
  animation: closeBtnPulse 0.4s ease-out forwards;
}

@keyframes closeBtnPulse {
  0% {
    transform: scale(0) rotate(-90deg);
    opacity: 0;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

/* Animated Hamburger Menu Button */
.hamburger-btn {
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger-btn .hamburger-line {
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.hamburger-btn .hamburger-line:nth-child(2) {
  width: 14px;
}

.hamburger-btn:hover .hamburger-line:nth-child(2) {
  width: 18px;
}

/* Transform to X when active */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hamburger-btn.active:hover .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(135deg);
}

.hamburger-btn.active:hover .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-135deg);
}

@media (max-width: 768px) {
  .hero-slide {
    height: 220px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .hero-content .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .category-card .category-icon {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .category-card .category-name {
    font-size: 0.8rem;
  }

  .category-card {
    padding: 14px 10px;
  }

  .search-box {
    max-width: 100%;
  }

  /* Product Card Mobile Fix */
  .product-card .discount-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
  }

  .product-card .wishlist-btn {
    width: 28px;
    height: 28px;
    top: 6px;
    right: 6px;
    font-size: 0.75rem;
  }

  /* Cart Page Mobile */
  .cart-item {
    flex-wrap: wrap;
    padding: 14px 12px;
    gap: 12px;
  }

  .cart-item .cart-image {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }

  .cart-item .flex-grow-1 {
    flex-basis: calc(100% - 86px);
    min-width: 0;
  }

  .cart-item .flex-grow-1 h6 {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cart-actions-row {
    width: 100%;
    padding-top: 8px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
  }

  .cart-item .quantity-control {
    margin-left: 0;
    background: #f5f5f5;
    padding: 3px;
    border-radius: 20px;
  }

  .cart-item .text-end {
    margin-left: auto;
    min-width: 80px !important;
  }

  .quantity-control button {
    width: 28px;
    height: 28px;
  }

  .quantity-control input[type="number"] {
    width: 34px;
    min-width: 34px;
  }

  /* Price Summary Mobile */
  .price-summary {
    position: static;
    margin-top: 16px;
    border-radius: 14px;
    padding: 18px;
  }

  .price-summary .total-row {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .price-summary .savings-row {
    margin: 0 -18px;
    padding: 10px 18px;
  }

  /* Cart buttons mobile */
  .btn-outline-primary,
  .btn-outline-danger {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  /* ===== PRODUCT DETAIL PAGE MOBILE ===== */
  .price-summary {
    position: static;
    margin-top: 16px;
  }

  /* Section Titles */
  .section-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  /* Footer */
  .site-footer {
    padding: 30px 0 0;
  }

  .site-footer h5 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .footer-bottom {
    margin-top: 24px;
    padding: 15px 0;
    font-size: 0.75rem;
  }

  /* Checkout Steps Mobile */
  .checkout-steps {
    gap: 2px;
    flex-wrap: nowrap;
  }

  .checkout-step {
    padding: 8px 10px;
    font-size: 0.8rem;
    gap: 4px;
  }

  .checkout-step .step-number {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .checkout-steps .mx-2 {
    margin-left: 4px !important;
    margin-right: 4px !important;
  }

  /* Offer countdown */
  .offer-countdown .countdown-value {
    font-size: 1.1rem;
  }

  .offer-countdown .countdown-block {
    margin: 0 5px;
  }

  /* WhatsApp button */
  .whatsapp-float .pricelist {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 15px;
    right: 15px;
  }

  /* Breadcrumb */
  .breadcrumb-section {
    padding: 10px 0;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }

  /* ===== PRODUCT DETAIL PAGE MOBILE ===== */
  .product-detail-actions .btn-lg {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  /* ===== SEARCH / CATEGORY FILTER SIDEBAR MOBILE ===== */
  /* (Moved outside media query - see below) */

  /* ===== ORDER CONFIRMATION MOBILE ===== */
  .order-confirm-card .card-body {
    padding: 24px 16px !important;
  }

  .order-confirm-card h2 {
    font-size: 1.2rem;
  }

  .order-confirm-card .bg-light {
    padding: 16px !important;
  }

  .order-confirm-card h3 {
    font-size: 1.3rem;
  }

  /* ===== CHECKOUT MOBILE ===== */
  .checkout-actions .btn {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .checkout-actions .btn-lg {
    font-size: 0.9rem;
    padding: 10px 16px;
  }

  /* ===== ADMIN PANEL MOBILE ===== */
  .admin-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .admin-header h5 {
    font-size: 0.95rem;
  }

  .admin-content .card-body {
    padding: 12px;
  }

  /* Admin stat cards */
  .stat-card {
    padding: 16px;
  }

  .stat-card .stat-value {
    font-size: 1.4rem;
  }

  .stat-card .stat-icon {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .stat-card .stat-label {
    font-size: 0.72rem;
  }

  /* Admin tables */
  .admin-content .table thead th {
    font-size: 0.7rem;
    padding: 10px 8px;
    white-space: nowrap;
  }

  .admin-content .table tbody td {
    font-size: 0.8rem;
    padding: 8px;
  }

  /* Ensure admin tables scroll horizontally on mobile */
  .admin-content .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .admin-content .card-body {
    overflow-x: auto !important;
  }

  /* Admin button groups */
  .admin-content .d-flex.gap-2 {
    flex-wrap: wrap;
  }

  .admin-content .btn-sm {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  /* Admin order detail sidebar */
  .admin-content .sticky-top {
    position: static !important;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .main-nav .navbar-brand {
    font-size: 0.85rem;
  }

  .nav-icons .nav-link {
    padding: 4px 6px !important;
    font-size: 0.95rem;
  }

  .product-card .product-name {
    font-size: 0.78rem;
    min-height: 2.6em;
  }

  .hero-slide {
    height: 180px;
  }

  .hero-content h1 {
    font-size: 1.1rem;
  }

  .hero-content p {
    font-size: 0.8rem;
  }

  .checkout-step span:not(.step-number) {
    font-size: 0.7rem;
  }

  /* Section titles extra small */
  .section-title {
    font-size: 1rem;
  }

  /* Category cards extra small */
  .category-card .category-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .category-card .category-name {
    font-size: 0.72rem;
  }

  .category-card {
    padding: 10px 6px;
  }

  /* USP strip extra small */
  .col-6.col-md-3 .fw-bold {
    font-size: 0.75rem !important;
  }

  /* Home CTA section extra small */
  section .fs-5 {
    font-size: 0.9rem !important;
  }

  /* Admin tables extra small */
  .admin-content .table thead th {
    font-size: 0.65rem;
    padding: 6px 4px;
  }

  .admin-content .table tbody td {
    font-size: 0.72rem;
    padding: 6px 4px;
  }

  /* Filter buttons on search/category */
  .btn-outline-primary.btn-sm {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
}

/* ===== ADMIN PANEL STYLES ===== */

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 270px;
  height: 100vh;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  color: white;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1040;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.3);
}

.admin-sidebar::-webkit-scrollbar {
  width: 4px;
}

.admin-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.3);
  border-radius: 4px;
}

.admin-sidebar .sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  background: rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.admin-sidebar .sidebar-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
}

.admin-sidebar .sidebar-nav .nav-item {
  position: relative;
}

.admin-sidebar .sidebar-nav .nav-link {
  color: rgba(255, 255, 255, 0.65);
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  border-left: 3px solid transparent;
}

.admin-sidebar .sidebar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.admin-sidebar .sidebar-nav .nav-link:hover::before {
  opacity: 1;
}

.admin-sidebar .sidebar-nav .nav-link:hover {
  color: #ffd700;
  padding-left: 26px;
  border-left-color: rgba(255, 215, 0, 0.5);
}

.admin-sidebar .sidebar-nav .nav-link.active {
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.2), rgba(255, 215, 0, 0.05));
  color: #ffd700;
  border-left-color: #ffd700;
  font-weight: 600;
}

.admin-sidebar .sidebar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  animation: admin-dot-pulse 2s ease-in-out infinite;
}

@keyframes admin-dot-pulse {

  0%,
  100% {
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
  }
}

.admin-sidebar .sidebar-nav .nav-link svg {
  transition: transform 0.3s ease;
  font-size: 1.05rem;
}

.admin-sidebar .sidebar-nav .nav-link:hover svg {
  transform: scale(1.15);
}

.admin-content {
  margin-left: 270px;
  padding: 24px;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #f0f2f5 100%);
  animation: admin-fadeIn 0.5s ease-out;
}

@keyframes admin-fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.admin-header {
  background: white;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  animation: admin-slideDown 0.4s ease-out;
  backdrop-filter: blur(10px);
}

@keyframes admin-slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== STAT CARDS ===== */
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  animation: admin-cardEntrance 0.5s ease-out both;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

@keyframes admin-cardEntrance {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.row .col-sm-6:nth-child(1) .stat-card {
  animation-delay: 0s;
}

.row .col-sm-6:nth-child(2) .stat-card {
  animation-delay: 0.08s;
}

.row .col-sm-6:nth-child(3) .stat-card {
  animation-delay: 0.16s;
}

.row .col-sm-6:nth-child(4) .stat-card {
  animation-delay: 0.24s;
}

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.12) rotate(8deg);
}

.stat-card .stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== ADMIN CARDS ===== */
.admin-content .card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
  overflow: hidden;
  animation: admin-cardEntrance 0.5s ease-out both;
}

.admin-content .card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.admin-content .card .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
}

/* ===== ADMIN TABLE ===== */
.admin-content .table {
  margin-bottom: 0;
}

.admin-content .table thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom-width: 1px;
  padding: 14px 16px;
}

.admin-content .table tbody tr {
  transition: all 0.2s ease;
}

.admin-content .table tbody tr:hover {
  background-color: rgba(255, 107, 0, 0.03);
}

.admin-content .table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
}

/* ===== CHART BARS ===== */
.admin-content .card-body [style*="linear-gradient(to top"] {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: admin-barGrow 0.8s ease-out both;
  position: relative;
}

.admin-content .card-body [style*="linear-gradient(to top"]:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.3);
}

@keyframes admin-barGrow {
  from {
    transform: scaleY(0);
    transform-origin: bottom;
  }

  to {
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

/* ===== ADMIN BADGES ===== */
.admin-content .badge {
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 5px 10px;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.admin-content .badge:hover {
  transform: scale(1.05);
}

/* ===== ADMIN BUTTONS ===== */
.admin-content .btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.admin-content .btn:hover {
  transform: translateY(-1px);
}

.admin-content .btn:active {
  transform: translateY(0) scale(0.98);
}

/* ===== ADMIN MODAL ===== */
.admin-content~.modal .modal-dialog,
.modal.show .modal-dialog {
  animation: admin-modalEntrance 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes admin-modalEntrance {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== ADMIN SPINNER ===== */
.admin-content .spinner-border {
  border-width: 3px;
  animation: spinner-grow-custom 0.75s linear infinite, admin-fadeIn 0.3s ease;
}

@keyframes spinner-grow-custom {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===== ADMIN MOBILE ===== */
@media (max-width: 992px) {
  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }

  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(0, 0, 0, 0.4);
  }

  .admin-content {
    margin-left: 0;
    padding: 16px;
  }
}

/* Checkout steps */
.checkout-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: var(--text-muted);
}

.checkout-step.active {
  color: var(--primary);
  font-weight: 600;
}

.checkout-step.completed {
  color: var(--success);
}

.checkout-step .step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.checkout-step.active .step-number,
.checkout-step.completed .step-number {
  background: currentColor;
  color: white;
}

/* ===== PROFESSIONAL ANIMATIONS ===== */

/* Fade In Up - for page sections */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(255, 107, 0, 0.15);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Section entrance animations */
section {
  animation: fadeInUp 0.6s ease-out both;
}

.hero-banner {
  animation: fadeIn 0.8s ease-out both;
}

.hero-slide .hero-content h1 {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.hero-slide .hero-content p {
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.hero-slide .hero-content .btn {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

/* Category cards entrance */
.category-card {
  animation: scaleIn 0.5s ease-out both;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 36px rgba(255, 107, 0, 0.2);
}

.category-card .category-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.category-card:hover .category-icon {
  transform: scale(1.15);
}

/* Product card enhanced animations */
.product-card {
  animation: fadeInUp 0.5s ease-out both;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.product-card .product-image img {
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-card .add-to-cart-btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .add-to-cart-btn {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.4);
}

.product-card .wishlist-btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card .wishlist-btn:hover {
  transform: scale(1.2);
}

.product-card .wishlist-btn.active {
  animation: heartBeat 0.6s ease;
}

@keyframes heartBeat {
  0% {
    transform: scale(1);
  }

  25% {
    transform: scale(1.3);
  }

  50% {
    transform: scale(0.95);
  }

  75% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

/* Discount badge pulse */
.discount-badge {
  animation: pulseGlow 2s infinite;
}

/* Admin stat cards */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.5s ease-out both;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Navigation link hover effect */
.sidebar-nav .nav-link {
  transition: all 0.3s ease;
  position: relative;
}

.sidebar-nav .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 70%;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  transition: transform 0.3s ease;
}

.sidebar-nav .nav-link:hover::before,
.sidebar-nav .nav-link.active::before {
  transform: translateY(-50%) scaleY(1);
}

/* Price summary card - animation handled in cart section */

/* Button animations */
.btn-primary,
.btn-warning,
.btn-danger,
.btn-success {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover,
.btn-warning:hover,
.btn-danger:hover,
.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:active,
.btn-warning:active,
.btn-danger:active,
.btn-success:active {
  transform: translateY(0);
}

/* Badge animations */
.cart-badge {
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Countdown timer pulse */
.countdown-block {
  transition: transform 0.3s ease;
}

.countdown-block:hover {
  transform: scale(1.05);
}

/* Search box focus animation */
.search-box input:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

/* Search suggestions entrance */
.search-suggestions {
  animation: fadeInUp 0.25s ease-out both;
}

.suggestion-item {
  transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.suggestion-item:hover {
  padding-left: 20px;
}

/* Empty state animations */
.text-center svg {
  animation: float 3s ease-in-out infinite;
}

/* Card entrance with stagger effect */
.card {
  animation: fadeInUp 0.4s ease-out both;
}

/* Table row hover */
.table tbody tr {
  transition: background-color 0.2s ease;
}

/* WhatsApp float button enhanced */
.whatsapp-float {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


/* Offer countdown section gradient animation */
.offer-countdown {
  position: relative;
}

/* Smooth page transitions */
main {
  animation: fadeIn 0.4s ease-out both;
}

/* Spinner animation (used in admin login) */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* SVG icon inline alignment helper */
svg.d-inline-block {
  vertical-align: middle;
}

/* Modal entrance */
.modal.show .modal-dialog {
  animation: scaleIn 0.3s ease-out both;
}

/* Breadcrumb subtle animation */
.breadcrumb {
  animation: slideInLeft 0.4s ease-out both;
}

/* Top bar ticker/shimmer effect */
.top-bar {
  position: relative;
  overflow: hidden;
}

.top-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 6s infinite;
}

/* Loading skeleton pulse */
.skeleton-pulse {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Responsive: reduce animations on mobile for performance */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  .category-card:hover {
    transform: translateY(-4px);
  }

  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .product-card:hover .add-to-cart-btn {
    transform: none;
    box-shadow: none;
  }
}

/* Mobile fullscreen fix - prevent empty space on zoom out */
@media (max-width: 991px) {

  html,
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container,
  .container-fluid {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .site-header,
  .site-footer,
  main,
  section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Allow horizontal scroll inside admin tables */
  .admin-content .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .admin-content .card-body {
    overflow-x: auto !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  [class*="col-"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* Prevent images from causing overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Fix any potential wide elements */
  .d-flex {
    flex-wrap: wrap;
  }

  /* Cards full width */
  .card {
    max-width: 100%;
  }

  /* Order confirmation responsive */
  .order-confirm-card .card-body {
    padding: 20px !important;
  }

  /* Price display responsive text */
  .fs-2,
  .fs-3 {
    font-size: 1.5rem !important;
  }

  /* Button groups wrap */
  .btn-group-wrap {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Checkout steps responsive */
  .checkout-steps {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Extra small devices (phones < 400px) */
@media (max-width: 400px) {

  .container,
  .container-fluid {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  [class*="col-"] {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }

  .card-body {
    padding: 12px !important;
  }

  /* Smaller buttons */
  .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Flexible text sizes */
  h1,
  .h1 {
    font-size: 1.4rem !important;
  }

  h2,
  .h2 {
    font-size: 1.2rem !important;
  }

  h3,
  .h3 {
    font-size: 1.1rem !important;
  }

  h4,
  .h4 {
    font-size: 1rem !important;
  }

  h5,
  .h5 {
    font-size: 0.9rem !important;
  }
}

/* ===== COMPREHENSIVE MOBILE RESPONSIVE STYLES ===== */

/* Admin Panel Mobile Responsive */
@media (max-width: 992px) {
  .admin-sidebar {
    width: 280px;
    transform: translateX(-100%);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0 !important;
    padding: 12px !important;
    overflow-x: auto !important;
  }

  /* Ensure tables in admin show all columns */
  .admin-content .card {
    overflow: visible !important;
  }

  .admin-content .card-body {
    overflow-x: auto !important;
  }

  .admin-content .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .admin-header {
    padding: 12px 16px !important;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start !important;
  }

  .admin-header>div:last-child {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {

  /* Admin stat cards */
  .stat-card {
    padding: 14px !important;
  }

  .stat-card .stat-value {
    font-size: 1.3rem !important;
  }

  .stat-card .stat-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1rem !important;
  }

  .stat-card .stat-label {
    font-size: 0.7rem !important;
  }

  /* Admin tables mobile */
  .admin-content .table-responsive {
    margin: 0 -12px;
  }

  .admin-content .table {
    font-size: 0.78rem !important;
  }

  .admin-content .table thead th {
    padding: 8px 6px !important;
    font-size: 0.68rem !important;
    white-space: nowrap;
  }

  .admin-content .table tbody td {
    padding: 8px 6px !important;
    font-size: 0.75rem !important;
  }

  /* Admin action buttons */
  .admin-content .btn-sm {
    padding: 4px 6px !important;
    font-size: 0.7rem !important;
  }

  .admin-content .d-flex.gap-1 {
    gap: 4px !important;
  }

  .admin-content .d-flex.gap-2 {
    gap: 6px !important;
    flex-wrap: wrap;
  }

  /* Admin cards */
  .admin-content .card-body {
    padding: 12px !important;
  }

  .admin-content .card-header {
    padding: 10px 12px !important;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Admin badges */
  .admin-content .badge {
    font-size: 0.65rem !important;
    padding: 3px 6px !important;
  }

  /* Admin forms */
  .admin-content .form-control,
  .admin-content .form-select {
    font-size: 0.85rem !important;
    padding: 8px 10px !important;
  }

  .admin-content .form-label {
    font-size: 0.8rem !important;
  }

  /* Admin input groups */
  .admin-content .input-group {
    max-width: 100% !important;
  }
}

/* Orders Page Mobile */
@media (max-width: 991px) {

  /* Order detail sidebar becomes full width below table */
  .col-lg-7 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .col-lg-5 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-top: 16px;
  }

  /* Order detail card not sticky on mobile */
  .col-lg-5 .sticky-top {
    position: relative !important;
    top: 0 !important;
  }
}

@media (max-width: 576px) {

  /* Order status buttons wrap */
  .col-lg-5 .d-flex.gap-1 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px !important;
  }

  .col-lg-5 .d-flex.gap-1 .btn {
    font-size: 0.65rem !important;
    padding: 4px 6px !important;
  }
}

/* Checkout / Payment Page Mobile */
@media (max-width: 768px) {

  /* Checkout steps */
  .checkout-steps {
    padding: 0 8px;
    gap: 4px !important;
    justify-content: space-between !important;
  }

  .checkout-step {
    padding: 8px 10px !important;
    font-size: 0.75rem !important;
    flex-direction: column;
    text-align: center;
    gap: 4px !important;
  }

  .checkout-step .step-number {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.7rem !important;
  }

  .checkout-step span:not(.step-number) {
    font-size: 0.65rem !important;
  }

  .checkout-steps .mx-2 {
    margin: 0 2px !important;
    font-size: 0.7rem;
  }

  /* Payment methods */
  .form-check-label {
    font-size: 0.9rem !important;
  }

  .form-check-label svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* UPI QR code */
  .checkout-step~.card .bg-white canvas,
  .checkout-step~.card .bg-white svg[width="200"] {
    width: 160px !important;
    height: 160px !important;
  }

  /* Payment icons grid */
  .d-flex.flex-wrap.gap-2 {
    gap: 6px !important;
  }

  .d-flex.flex-wrap.gap-2>div {
    min-width: 40px !important;
  }

  .d-flex.flex-wrap.gap-2 svg {
    width: 32px !important;
    height: 20px !important;
  }

  /* Checkout buttons */
  .checkout-actions .btn,
  .card-body .btn {
    font-size: 0.85rem !important;
  }

  /* Order summary in checkout */
  .col-lg-4 .price-summary {
    margin-top: 16px;
  }
}

/* Modal Mobile Responsive */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 8px !important;
    max-width: calc(100% - 16px) !important;
  }

  .modal-dialog-lg {
    max-width: calc(100% - 16px) !important;
  }

  .modal-content {
    border-radius: 12px !important;
  }

  .modal-header {
    padding: 12px 16px !important;
  }

  .modal-header .modal-title {
    font-size: 0.95rem !important;
  }

  .modal-body {
    padding: 12px 16px !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
  }

  .modal-footer {
    padding: 10px 16px !important;
    flex-wrap: wrap;
    gap: 8px;
  }

  .modal-footer .btn {
    flex: 1;
    min-width: 80px;
  }

  /* Products modal table */
  .modal-body .table-responsive {
    margin: 0 -16px;
  }

  .modal-body .table {
    font-size: 0.75rem !important;
  }

  .modal-body .table th,
  .modal-body .table td {
    padding: 6px 8px !important;
  }

  /* Hide less important columns in modal */
  .modal-body .table th:nth-child(1),
  .modal-body .table td:nth-child(1),
  .modal-body .table th:nth-child(2),
  .modal-body .table td:nth-child(2) {
    display: none;
  }
}

/* Product Detail Page Mobile */
@media (max-width: 768px) {

  /* Product image area */
  .col-lg-5 .position-sticky {
    position: relative !important;
    top: 0 !important;
  }

  /* Product info */
  .col-lg-7 .h3,
  .col-lg-7 h1 {
    font-size: 1.25rem !important;
  }

  /* Price section */
  .col-lg-7 .fs-3,
  .col-lg-7 .fs-2 {
    font-size: 1.5rem !important;
  }

  /* Quantity controls */
  .col-lg-7 .d-flex.gap-3 {
    gap: 12px !important;
    flex-wrap: wrap;
  }

  /* Action buttons */
  .col-lg-7 .btn-lg {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
  }

  /* Trust badges */
  .col-lg-7 .row.g-3 .col-4 {
    text-align: center;
  }
}

/* Cart Page Mobile */
@media (max-width: 576px) {

  /* Cart item layout */
  .cart-item {
    padding: 12px !important;
    gap: 10px !important;
  }

  .cart-item .cart-image {
    width: 60px !important;
    height: 60px !important;
  }

  .cart-item h6 {
    font-size: 0.85rem !important;
  }

  /* Quantity controls */
  .quantity-control {
    padding: 2px !important;
  }

  .quantity-control button {
    width: 26px !important;
    height: 26px !important;
  }

  .quantity-control span {
    width: 28px !important;
    font-size: 0.85rem !important;
  }

  .quantity-control input[type="number"] {
    width: 28px !important;
    min-width: 28px !important;
    font-size: 0.85rem !important;
  }

  /* Price text */
  .cart-item .fw-bold {
    font-size: 0.9rem !important;
  }

  /* Remove button */
  .cart-item .btn-outline-danger {
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
  }
}

/* Category/Search Page Filter Mobile */
@media (max-width: 991px) {
  .filter-sidebar-mobile {
    width: 85% !important;
    max-width: 320px;
  }

  /* Sort/filter buttons row */
  .d-flex.gap-2.mb-3 {
    flex-wrap: wrap;
  }

  /* Product grid adjustment */
  .col-6.col-md-4.col-lg-3 {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* Admin Products/Categories List Mobile */
@media (max-width: 768px) {

  /* Product image in table */
  .admin-content .table img {
    width: 40px !important;
    height: 40px !important;
  }

  /* Product name truncate */
  .admin-content .table td:nth-child(2) {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Admin Settings Page Mobile */
@media (max-width: 576px) {

  /* Settings tabs */
  .nav-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-tabs .nav-link {
    white-space: nowrap;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }

  /* Settings form */
  .tab-pane .row.g-3 {
    margin: 0 !important;
  }

  .tab-pane .col-md-6,
  .tab-pane .col-md-4 {
    padding: 0 !important;
    margin-bottom: 12px !important;
  }
}

/* Print Styles - Hide non-essential on print */
@media print {

  .admin-sidebar,
  .admin-header,
  .btn,
  .modal-footer {
    display: none !important;
  }

  .admin-content {
    margin: 0 !important;
    padding: 0 !important;
  }

  .table {
    font-size: 10pt !important;
  }
}

/* ===== Admin Search Toolbar ===== */
.admin-search-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-search-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.admin-search-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-search-box {
  position: relative;
  width: 100%;
  max-width: 380px;
  min-width: 200px;
}

.admin-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 2;
  transition: color 0.3s ease;
}

.admin-search-input {
  width: 100%;
  padding: 10px 40px 10px 42px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.admin-search-input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.admin-search-input:hover {
  border-color: var(--primary-light);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.08);
}

.admin-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1), 0 2px 12px rgba(255, 107, 0, 0.12);
}

.admin-search-input:focus~.admin-search-icon,
.admin-search-input:focus+.admin-search-icon {
  color: var(--primary-dark);
}

.admin-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #adb5bd;
  font-size: 0.8rem;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.admin-search-clear:hover {
  background: #f1f1f1;
  color: var(--danger);
}



/* ===== ADMIN DROPDOWN ANIMATIONS ===== */

@keyframes adminSelectFocusPop {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.07);
  }

  55% {
    box-shadow: 0 0 0 6px rgba(255, 107, 0, 0.12), 0 4px 14px rgba(255, 107, 0, 0.12);
  }

  100% {
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.10), 0 4px 14px rgba(255, 107, 0, 0.08);
  }
}

@keyframes adminSelectArrowBounce {
  0% {
    transform: translateY(0);
  }

  35% {
    transform: translateY(-3px);
  }

  65% {
    transform: translateY(1px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes adminDropdownMenuSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scaleY(0.93);
    transform-origin: top center;
  }

  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
    transform-origin: top center;
  }
}

@keyframes adminSelectEntrance {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Status Filter */
.admin-status-filter {
  padding: 9px 36px 9px 14px;
  border: 2px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center / 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
}

.admin-status-filter:hover {
  border-color: var(--primary-light);
}

.admin-status-filter:focus {
  border-color: var(--primary);
  /* Flip chevron to point upward on focus (open state) */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff6b00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M14 11l-6-6-6 6'/%3e%3c/svg%3e");
  animation: adminSelectFocusPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform: translateY(-1px);
}

/* form-select animation in admin panel */
.admin-content .form-select,
.modal-content .form-select {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  transform-origin: top;
}

.admin-content .form-select:focus,
.modal-content .form-select:focus {
  border-color: var(--primary) !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff6b00' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='M14 11l-6-6-6 6'/%3e%3c/svg%3e") !important;
  animation: adminSelectFocusPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transform: translateY(-1px);
}

/* Bootstrap dropdown-menu slide in admin */
.admin-content .dropdown-menu.show,
.admin-layout .dropdown-menu.show,
.modal-content .dropdown-menu.show {
  animation: adminDropdownMenuSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: top center;
}

/* Entrance animation for all admin selects on page load */
.admin-search-filters .admin-status-filter {
  animation: adminSelectEntrance 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

/* Add New Button */
.btn-add-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.25);
}

.btn-add-new:hover {
  background: linear-gradient(135deg, var(--primary-dark), #cc4e00);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  transform: translateY(-1px);
}

.btn-add-new:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(255, 107, 0, 0.2);
}

/* Search Bar Responsive */
@media (max-width: 768px) {
  .admin-search-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .admin-search-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .admin-search-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .admin-search-box {
    max-width: 100%;
    min-width: unset;
  }

  .admin-search-input {
    font-size: 0.85rem;
    padding: 10px 38px 10px 40px;
  }


  .admin-status-filter {
    width: 100%;
    min-width: unset;
  }

  .btn-add-new {
    justify-content: center;
    padding: 10px 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .admin-search-box {
    max-width: 280px;
  }
}

/* ===== MOBILE NAV DRAWER ===== */

/* Body scroll lock when drawer is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Backdrop overlay */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1065;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 82%;
  max-width: 300px;
  height: 100vh;
  z-index: 1070;
  background: var(--secondary);
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.45);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

/* Drawer header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  position: relative;
}

/* Top accent bar on header */
.mobile-nav-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientSlide 3s ease infinite;
}

/* Close button */
.mobile-nav-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.mobile-nav-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Scrollable nav links body */
.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 0;
}

/* Individual nav links */
.mobile-nav-link {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  padding: 13px 20px;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(255, 107, 0, 0.15);
  color: #fff;
  padding-left: 26px;
}

.mobile-nav-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link--accent {
  color: var(--accent);
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link--accent:hover {
  color: var(--accent);
  background: rgba(255, 215, 0, 0.1);
}

/* Staggered entry animation for links */
.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link {
  animation: slideInItems 0.35s ease backwards;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(2) {
  animation-delay: 0.10s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(3) {
  animation-delay: 0.13s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(4) {
  animation-delay: 0.16s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(5) {
  animation-delay: 0.19s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(6) {
  animation-delay: 0.22s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(7) {
  animation-delay: 0.25s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(8) {
  animation-delay: 0.28s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(9) {
  animation-delay: 0.31s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(10) {
  animation-delay: 0.34s;
}

.mobile-nav-drawer.open .mobile-nav-body .mobile-nav-link:nth-child(n+11) {
  animation-delay: 0.37s;
}

/* ============================================
   Product Demo Video (YouTube / Google Drive link)
   Plays inline inside a fixed frame matching the product photo frame,
   instead of taking users to the source platform's page.
   ============================================ */
.product-media-tabs .btn {
  font-weight: 600;
}

.product-media-tabs .btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 100%; /* square frame — matches the product photo frame */
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden; /* crops away anything outside our fixed frame */
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-frame video {
  object-fit: contain;
}

