
    :root {
      --military-green: #715100;
      --light-military: #bb7900;
      --orange-accent: #ffbf00;
      --dark-charcoal: #2c2c2c;
      --light-gray: #f8f9fa;
      --white: #ffffff;
    }
    * { font-family: 'Cairo', 'Inter', sans-serif; }

    body {
      background: var(--white);
    }
   
    /* Navbar  */
    .navbar-nav .nav-link {
      transition: color 0.3s, background-color 0.3s, transform 0.2s;
      border-radius: 8px;
      margin: 0 4px;
      font-weight: 500;

    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
      color: var(--white) !important;
      background: linear-gradient(135deg, var(--military-green), var(--light-military));
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(74, 93, 35, 0.3);
    }
    .navbar-brand {
      font-weight: 700 !important;
      color: var(--military-green) !important;
      font-size: 1.7rem;
      letter-spacing: 1px;
    }

    main h1 {
      font-weight: 700;
      color: var(--military-green);
      letter-spacing: 0.5px;
    }

    /* Product Card Styling */
    /* Modern Product Card Grid */
.product-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.4rem;
  border: none !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.product-img-box {
  width: 100%;
  min-height: 210px;
  max-height: 260px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 20px 0 0;
  overflow: hidden;
  position: relative;
}

.product-card-title {
  font-weight: 700;
  color: var(--military-green, #715100);
      font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.2;
}

.product-card-title:hover {
  color: var(--orange-accent, #ffbf00);
}

.product-card-price {
  font-size: 1.10rem;
  color: rgb(255, 115, 0);
  font-weight: 700;
  margin-bottom: 0.8rem;
  margin-top: -0.2rem;
  letter-spacing: 0.1px;
}

.product-card-body {
  padding: 0 0.8rem 0.8rem 0.8rem;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
  border-radius: 0 0 20px 20px;
  margin: 0%;
}

.product-card-button {
  background: var(--military-green, #715100);
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 0.7rem 0;
  border-radius: 12px;
  transition: background 0.21s, color 0.15s;
  font-size: 1.04em;
  box-shadow: 0 4px 13px rgba(232,123,25,0.12);
  margin-top: 1%;
}

.product-card-button:hover {
  background: var(--orange-accent, #ffbf00);
  color: var(--dark-charcoal, #2c2c2c);
  font-weight: 700;
}

/* Star ratings in product cards */
.stars-container {
  display: inline-flex;
  align-items: center;
}

.stars-container i {
  margin-right: 1px;
}

/* badge for low stock */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange-accent, #ffbf00);
  color: #222;
  padding: 0.36em 0.85em;
  border-radius: 12px;
  font-size: 0.97em;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232,123,25,0.13);
  letter-spacing: 0.07em;
  z-index: 3;
}
.product-badge[style*="right:12px"] { left: auto; right: 12px; }


@media (max-width: 800px) {
  /* Let Bootstrap grid handle widths */
  .product-img-box { min-height: 150px; max-height: 200px; }
  .product-card-button { padding: 0.5rem 0 !important; font-size: 0.9em !important; }
}

    /* Search bar */
    #search-bar {
      border-radius: 12px;
      font-size: 1.05em;
      box-shadow: 0 2px 10px rgba(113,81,0,0.04);
      border: 1.5px solid #e2e2e2;
      transition: border 0.2s;
    }
    #search-bar:focus {
      border-color: var(--orange-accent);
      box-shadow: 0 0 0 0.10rem rgba(255,191,0,.13);
    }

    /* Filter section styling */
    .filter-section {
      background: linear-gradient(to bottom, #ffffff, #f9f9f9);
      border: 1px solid rgba(113,81,0,0.1);
      transition: box-shadow 0.3s ease;
    }
    
    .filter-section:hover {
      box-shadow: 0 10px 25px rgba(113,81,0,0.08);
    }
    
    .filter-control {
      border-radius: 10px;
      border: 1.5px solid #e6e6e6;
      transition: all 0.2s ease;
    }
    
    .filter-control:focus, .filter-control.active {
      border-color: var(--orange-accent);
      box-shadow: 0 0 0 2px rgba(255,191,0,0.15);
    }
    
    .text-military {
      color: var(--military-green);
    }
    
    #active-filters .badge {
      padding: 0.6em 1em;
      font-size: 0.85em;
      border-radius: 20px;
      transition: all 0.2s ease;
      cursor: pointer;
    }
    
    #active-filters .badge:hover {
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .filter-badge-search {
      background-color: #e7f3ff !important;
      color: #0d6efd !important;
      border-color: #b8daff !important;
    }
    
    .filter-badge-category {
      background-color: #f0e8ff !important;
      color: #6610f2 !important;
      border-color: #d9c8ff !important;
    }
    
    .filter-badge-price {
      background-color: #fff3cd !important;
      color: #bb8c05 !important;
      border-color: #ffe69c !important;
    }
    
    .filter-badge-rating {
      background-color: #d1e7dd !important;
      color: #146c43 !important;
      border-color: #a3cfbb !important;
    }
    
    .filter-badge-sort {
      background-color: #f8d7da !important;
      color: #b02a37 !important;
      border-color: #f5c2c7 !important;
    }
    
    #clear-filters {
      border-radius: 20px;
      padding: 0.3em 1em;
      transition: all 0.2s ease;
    }
    
    #clear-filters:hover {
      background-color: #dc3545;
      color: white;
      border-color: #dc3545;
    }

    /* Buying Methods Section Styles */
    .buying-methods-section {
      background: linear-gradient(to bottom, #ffffff, #f8f9fa);
      border: 1px solid rgba(25, 118, 210, 0.1);
      transition: box-shadow 0.3s ease;
    }
    
    .buying-methods-section:hover {
      box-shadow: 0 8px 20px rgba(25, 118, 210, 0.08);
    }
    
    .method-section {
      border-radius: 12px;
      padding: 1rem;
      background: white;
      border: 1px solid rgba(0,0,0,0.05);
    }
    
    .step-item {
      padding: 0.5rem 0;
      transition: all 0.2s ease;
    }
    
    .step-item:hover {
      background: rgba(0,0,0,0.02);
      border-radius: 8px;
      padding-left: 0.5rem;
      margin-left: -0.5rem;
    }
    
    .step-text {
      font-size: 0.95rem;
      line-height: 1.4;
    }
    
    .step-number {
      flex-shrink: 0;
      font-weight: 600;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Sliding Filter Panel Styles */
    .filter-toggle-btn {
      position: fixed;
      right: 20px;
      bottom: 100px;
      z-index: 1030;
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: var(--military-green);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 15px rgba(113, 81, 0, 0.3);
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 1.2rem;
    }

    .filter-toggle-btn:hover {
      transform: scale(1.1);
      background: var(--light-military);
      box-shadow: 0 6px 20px rgba(113, 81, 0, 0.4);
    }

    .sliding-filter-panel {
      position: fixed;
      top: 0;
      right: -420px;
      width: 420px;
      height: 100vh;
      background-color: white;
      box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
      z-index: 1040;
      padding: 0;
      overflow-y: auto;
      transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .sliding-filter-panel.active {
      right: 0;
    }

    .sliding-filter-panel-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1039;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .sliding-filter-panel-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .sliding-filter-panel-header {
      background: linear-gradient(135deg, var(--military-green), var(--light-military));
      color: white;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 10;
    }

    .sliding-filter-panel-header h5 {
      margin: 0;
      font-weight: 600;
      font-size: 1rem;
      color: var(--orange-accent);
    }
    .sliding-filter-panel-header h5 i {
      font-size: 0.9rem;
    }

    .sliding-filter-panel-close {
      background: none;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      padding: 5px;
      border-radius: 50%;
      transition: all 0.2s;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .sliding-filter-panel-close:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }

    .sliding-filter-panel-content {
      padding: 20px;
    }

    .sliding-filter-section {
      background: #fff;
      border: 1px solid #f0f0f0;
      border-radius: 12px;
      padding: 12px;
      margin-bottom: 12px;
    }

    .sliding-filter-section h6 {
      color: #666;
      font-weight: 600;
      margin-bottom: 8px;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .sliding-filter-section h6 i {
      font-size: 0.75rem;
    }

    .sliding-filter-control {
      border-radius: 8px;
      border: 1px solid #e6e6e6;
      transition: all 0.2s ease;
      margin-bottom: 10px;
      font-size: 0.8rem !important;
      padding: 0.4rem 0.5rem !important;
    }
    select.sliding-filter-control {
      text-align: center;
    }
    .sliding-filter-section .input-group-text {
      font-size: 0.8rem !important;
      padding: 0.4rem 0.5rem !important;
    }
    .sliding-filter-section .input-group-text i {
      font-size: 0.75rem !important;
    }

    .sliding-filter-control:focus, .sliding-filter-control.active {
      border-color: var(--orange-accent);
      box-shadow: 0 0 0 2px rgba(255,191,0,0.15);
    }

    .sliding-active-filters {
      background: #f8f9fa;
      border-radius: 10px;
      padding: 15px;
      margin-top: 20px;
    }

    .sliding-active-filters .badge {
      padding: 0.6em 1em;
      font-size: 0.85em;
      border-radius: 20px;
      transition: all 0.2s ease;
      cursor: pointer;
      margin: 2px;
    }

    .sliding-clear-filters {
      width: 100%;
      border-radius: 8px;
      padding: 8px;
      background: var(--orange-accent);
      color: #444;
      border: 1px solid #ccc;
      font-weight: 600;
      font-size: 0.85rem;
      transition: all 0.3s ease;
      margin-top: 20px;
    }

    .sliding-clear-filters i {
      font-size: 0.8rem;
    }

    .sliding-clear-filters:hover {
      opacity: 0.9;
    }

    @media (max-width: 576px) {
      .sliding-filter-panel {
        width: 90vw;
        right: -90vw;
      }
      
      .filter-toggle-btn {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 15px;
      }
    }

    /* Footer  */
    
    
    
    
    footer a:hover {
      color: var(--orange-accent) !important;
      text-shadow: 0 0 8px rgba(255, 191, 0, 0.25);
    }
    
    
    
    
    
    
    
    
    
    

    



    .chatbot-window {
      position: fixed; /* Changed from absolute to fixed */
      top: 50%; /* Center vertically */
      right: 20px; /* Position from right side */
      transform: translateY(-50%); /* Center perfectly */
      width: 350px; /* Slightly smaller width */
      height: 400px; /* Reduced height */
      border-radius: 20px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
      background-color: white;
      display: none;
      flex-direction: column;
      overflow: hidden;
      border: 1px solid rgba(113, 81, 0, 0.1);
    }

    .chatbot-header {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #ff7300;
      color: #fff;
      border-top-left-radius: 16px;
      border-top-right-radius: 16px;
      min-height: 48px;
      position: relative;
    }

    .chatbot-header h5 {
      margin: 0;
      font-size: 1.1em;
      font-weight: 700;
      letter-spacing: 0.5px;
    }

    #close-chatbot {
      background: none !important;
      border: none !important;
      color: white !important;
      font-size: 24px !important;
      cursor: pointer !important;
      width: 35px !important;
      height: 35px !important;
      border-radius: 50% !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      transition: all 0.3s ease !important;
      position: absolute;
      left: 10px;
      top: 10px;
    }

    #close-chatbot:hover {
      background: rgba(255, 255, 255, 0.2) !important;
      transform: rotate(90deg) !important;
    }

    .chatbot-messages {
      flex-grow: 1;
      padding: 20px;
      overflow-y: auto;
      background: linear-gradient(to bottom, #f8f9fa, #ffffff);
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .message {
      max-width: 85%;
      padding: 12px 18px;
      border-radius: 18px;
      line-height: 1.4;
      word-wrap: break-word !important;
      word-break: break-word !important;
      white-space: pre-wrap !important;
      overflow-wrap: break-word !important;
      hyphens: auto;
      animation: messageSlide 0.3s ease-out;
    }

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

    .user-message {
      background: linear-gradient(135deg, var(--military-green), var(--light-military));
      color: white;
      align-self: flex-end;
      border-bottom-right-radius: 5px;
      box-shadow: 0 2px 8px rgba(113, 81, 0, 0.2);
    }

    .bot-message {
      background: linear-gradient(135deg, #ffffff, #f8f9fa);
      color: var(--dark-charcoal);
      align-self: flex-start;
      border-bottom-left-radius: 5px;
      border: 1px solid rgba(0, 0, 0, 0.05);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    /* Specific style for Arabic messages */
    .bot-message.arabic {
      text-align: right;
      direction: rtl;
    }

    .chatbot-input {
      display: flex;
      padding: 20px;
      border-top: 1px solid #e0e0e0;
      background: white;
      gap: 12px;
      align-items: flex-end;
    }

    .chatbot-input input, .chatbot-input textarea {
      flex-grow: 1;
      border: 2px solid #e0e0e0;
      border-radius: 25px;
      padding: 12px 18px;
      font-size: 16px; /* Increased from 14px to prevent auto-zoom */
      transition: all 0.3s ease;
      resize: none;
      min-height: 40px;
      max-height: 120px;
      overflow-y: auto;
      font-family: inherit;
      line-height: 1.4;
      word-wrap: break-word;
      -webkit-appearance: none; /* Prevent iOS styling */
      -moz-appearance: none;
      appearance: none;
      font-size-adjust: none; /* Prevent font scaling */
      text-size-adjust: 100%; /* Prevent text size adjustment */
    }

    .chatbot-input input:focus, .chatbot-input textarea:focus {
      outline: none;
      border-color: var(--orange-accent);
      box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.1);
    }

    .chatbot-input button {
      background: linear-gradient(135deg, var(--military-green), var(--light-military));
      color: white;
      border: none;
      border-radius: 50%;
      width: 45px;
      height: 45px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(113, 81, 0, 0.3);
    }

    .chatbot-input button:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(113, 81, 0, 0.4);
    }

    /* CHATBOT PRODUCT CARD - VERTICAL LAYOUT */
    .product-card-chatbot {
      background: linear-gradient(135deg, #ffffff, #f8f9fa);
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(44,44,44,0.12);
      overflow: hidden;
      margin: 12px 0;
      transition: all 0.3s ease;
      border: 1px solid rgba(113, 81, 0, 0.1); /* Even thinner border */
      display: flex !important;
      flex-direction: column !important;
      width: 200px;
      height: 250px;
      animation: productCardAppear 0.4s ease-out;
    }

    @keyframes productCardAppear {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    .product-card-chatbot:hover {
      box-shadow: 0 15px 35px rgba(255,191,0,0.2), 0 5px 15px rgba(44,44,44,0.1);
      transform: translateY(-3px);
    }

    .product-card-chatbot a {
      text-decoration: none;
      color: inherit;
      display: flex !important;
      flex-direction: column !important;
      height: 100%;
    }

    .product-card-chatbot .product-img-box {
      width: 100%;
      height: 120px;
      background: linear-gradient(135deg, #f6f6f6, #ffffff);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
      order: 1; /* Image first */
    }

    .product-card-chatbot .product-img-box img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: transform 0.3s ease;
    }

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

    .product-card-chatbot .product-card-body {
      padding: 12px;
      text-align: center;
      background: white;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      order: 2; /* Content second */
      height: 110px;
      justify-content: space-between;
    }

    .product-card-chatbot .product-card-title {
      font-weight: 700;
      color: var(--military-green, #715100);
      font-size: 0.9rem;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      line-height: 1.3;
      min-height: 35px;
      order: 1; /* Title first in body */
    }

    .product-card-chatbot .product-card-price {
      font-size: 1rem;
      color: var(--orange-accent);
      font-weight: 700;
      margin-top: auto;
      text-shadow: 0 1px 3px rgba(0,0,0,0.1);
      order: 2; /* Price last in body */
    }

    /* ENHANCED SOCIAL AND CONTACT LINKS - SIMPLE COLORED TEXT */
    .bot-message a {
      display: block;
      padding: 4px 8px;
      margin: 2px 0;
      border-radius: 6px;
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      transition: all 0.3s ease;
      border: none;
      background: none;
    }

    .bot-message a:hover {
      text-decoration: underline;
      transform: none;
      box-shadow: none;
    }

    /* Phone links */
    .bot-message a[href^="tel:"] {
      color: #28a745;
    }

    .bot-message a[href^="tel:"]:before {
      content: "📞 ";
    }

    /* WhatsApp links */
    .bot-message a[href*="whatsapp"], .bot-message a[href*="wa.me"] {
      color: #25D366;
    }

    .bot-message a[href*="whatsapp"]:before, .bot-message a[href*="wa.me"]:before {
      content: "💬 ";
    }

    /* Facebook links */
    .bot-message a[href*="facebook"] {
      color: #1877F2;
    }

    .bot-message a[href*="facebook"]:before {
      content: "📘 ";
    }

    /* Instagram links */
    .bot-message a[href*="instagram"] {
      color: #E4405F;
    }

    .bot-message a[href*="instagram"]:before {
      content: "📷 ";
    }

    /* TikTok links */
    .bot-message a[href*="tiktok"] {
      color: #000000;
    }

    .bot-message a[href*="tiktok"]:before {
      content: "🎵 ";
    }
    
    /* Email links */
    .bot-message a[href^="mailto:"] {
      color: #d93025;
    }

    .bot-message a[href^="mailto:"]:before {
      content: "✉️ ";
    }
    
    /* Custom links for chatbot */
    .chatbot-link {
      direction: ltr;
      display: inline-block;
      text-align: left;
    }
    
    /* Make links more responsive on mobile */
    @media (max-width: 576px) {
      .bot-message a {
        word-break: break-word;
        hyphens: auto;
      }
    }

    /* Email links */
    .bot-message a[href^="mailto:"] {
      color: #dc3545;
    }

    .bot-message a[href^="mailto:"]:before {
      content: "✉️ ";
    }

    /* Generic links */
    .bot-message a:not([href^="tel:"]):not([href*="whatsapp"]):not([href*="wa.me"]):not([href*="facebook"]):not([href*="instagram"]):not([href*="tiktok"]):not([href^="mailto:"]) {
      color: var(--military-green);
    }

    /* MOBILE RESPONSIVE CHATBOT - SMALLER, NOT FULLSCREEN */
    @media (max-width: 768px) {
      .chatbot-container {
        top: 110px; /* Below navbar on mobile */
        right: 15px;
      }

      .chatbot-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
      }

      .chatbot-window {
        width: calc(100vw - 40px);
        height: 70vh;
        max-height: calc(100vh - 140px) !important;
        max-width: 350px;
        top: 60px; /* Adjusted for smaller button */
        right: 0;
      }

      .chatbot-header {
        padding: 15px;
      }

      .chatbot-header h5 {
        font-size: 1rem;
      }

      .chatbot-messages {
        padding: 15px;
      }

      .message {
        max-width: 90%;
        padding: 10px 15px;
        font-size: 14px;
      }

      .chatbot-input {
        padding: 15px;
      }

      .chatbot-input input {
        padding: 10px 15px;
        font-size: 14px;
      }

      .chatbot-input button {
        width: 40px;
        height: 40px;
        font-size: 16px;
      }

      .product-card-chatbot {
        width: 180px;
        margin: 8px 0;
      }

      .product-card-chatbot .product-img-box {
        height: 100px;
      }

      .product-card-chatbot .product-card-title {
        font-size: 0.85rem;
        min-height: 30px;
      }

      .product-card-chatbot .product-card-price {
        font-size: 0.9rem;
      }

      .bot-message a {
        display: block;
        padding: 6px 12px;
        font-size: 13px;
        margin: 3px 0;
      }
    }

    @media (max-width: 480px) {
      .chatbot-window {
        width: calc(100vw - 30px);
        height: 60vh; /* Reduced height */
        max-width: 320px;
        top: 50%; /* Center vertically */
        right: 10px; /* Positioning from right */
        transform: translateY(-50%); /* Perfect vertical centering */
      }

      .chatbot-container {
        top: 50%; /* Center vertically on mobile */
        right: 10px;
        transform: translateY(-50%); /* Perfect centering */
      }

      .chatbot-button {
        width: 35px;
        height: 35px;
        font-size: 16px;
      }

      .product-card-chatbot {
        width: 160px;
      }

      .product-card-chatbot .product-img-box {
        height: 90px;
      }

      .bot-message a {
        display: block;
        text-align: center;
        margin: 6px 0;
        width: 100%;
      }
    }

    .product-card-chatbot {
  min-width: 140px !important;
  max-width: 140px !important;
  border-radius: 14px !important;
  margin: 8px 0 !important;
  box-shadow: 0 4px 12px rgba(44,44,44,0.10);
  padding: 0 !important;
  height: 170px !important;
  display: flex !important;
  flex-direction: column !important;
}
.product-card-chatbot .product-img-box {
  min-height: 80px !important;
  max-height: 90px !important;
  height: 80px !important;
  border-radius: 12px 12px 0 0 !important;
  background: #f8f8f8 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-chatbot .product-img-box img {
  height: 80px !important;
  width: 100% !important;
  object-fit: contain !important;
  background: #f8f8f8 !important;
}
.product-card-chatbot .product-card-body {
  padding: 0.5rem 0.5rem 0.7rem 0.5rem !important;
  min-height: 60px !important;
  height: 60px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff !important;
  border-radius: 0 0 14px 14px !important;
}
.product-card-chatbot .product-card-title {
  font-size: 0.85rem !important;
  min-height: 28px !important;
  line-height: 1.1 !important;
  margin-bottom: 0.2rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card-chatbot .product-card-price {
  font-size: 0.95rem !important;
  margin: 0.1em 0 0 0 !important;
  color: rgb(255,115,0) !important;
  font-weight: 700 !important;
}

/* =========================================================
   NEW AESTHETICS & MODERNIZATION
   ========================================================= */

/* Glassmorphism Badges */
.product-badge {
  background: rgba(255, 191, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Softer, Modern Product Card */
.product-card {
  border-radius: 16px;
  box-shadow: none !important;
  border: none !important;
}

/* Image Crossfade Disabled for cleaner look */
.product-img-box {
  background: #fff;
  border-radius: 24px 24px 0 0;
  height: 180px;
}
.product-img-primary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
.product-img-hover {
  display: none;
}

/* Staggered Entry Animation for product cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.col.mb-4 {
  animation: fadeInUp 0.5s ease-out forwards;
  opacity: 0;
}
.col.mb-4:nth-child(1) { animation-delay: 0.05s; }
.col.mb-4:nth-child(2) { animation-delay: 0.10s; }
.col.mb-4:nth-child(3) { animation-delay: 0.15s; }
.col.mb-4:nth-child(4) { animation-delay: 0.20s; }
.col.mb-4:nth-child(5) { animation-delay: 0.25s; }
.col.mb-4:nth-child(6) { animation-delay: 0.30s; }
.col.mb-4:nth-child(7) { animation-delay: 0.35s; }
.col.mb-4:nth-child(8) { animation-delay: 0.40s; }
.col.mb-4:nth-child(9) { animation-delay: 0.45s; }
.col.mb-4:nth-child(10) { animation-delay: 0.50s; }
.col.mb-4:nth-child(11) { animation-delay: 0.55s; }
.col.mb-4:nth-child(12) { animation-delay: 0.60s; }

/* Sticky Desktop Sidebar */
@media (min-width: 992px) {
  .page-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }
  .desktop-sidebar {
    display: block !important;
    position: sticky;
    top: 140px;
    width: 200px;
    flex-shrink: 0;
    background: #fff;
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
  }
  .desktop-sidebar h5 {
    font-size: 0.85rem;
    margin-bottom: 12px !important;
    color: var(--orange-accent) !important;
  }
  .desktop-sidebar h5 i {
    font-size: 0.8rem;
  }
  .desktop-sidebar .sliding-filter-section {
    padding: 8px;
    margin-bottom: 8px !important;
  }
  .desktop-sidebar .sliding-filter-section h6 {
    font-size: 0.7rem;
    margin-bottom: 6px;
    color: #666;
  }
  .desktop-sidebar .sliding-filter-section h6 i {
    font-size: 0.65rem;
  }
  .desktop-sidebar .sliding-filter-control,
  .desktop-sidebar .input-group-text {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.3rem !important;
    height: auto !important;
  }
  .desktop-sidebar select.sliding-filter-control {
    text-align: center;
  }
  .desktop-sidebar .input-group-text i {
    font-size: 0.6rem !important;
  }
  .desktop-sidebar .sliding-clear-filters {
    font-size: 0.7rem;
    padding: 6px;
    background-color: var(--orange-accent);
    color: #444;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  .desktop-sidebar .sliding-clear-filters i {
    font-size: 0.65rem;
  }
  .products-main-area {
    flex-grow: 1;
    min-width: 0;
  }
  .filter-section, .filter-toggle-btn {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .desktop-sidebar {
    display: none !important;
  }
  .products-main-area {
    width: 100%;
  }
}

.desktop-sidebar {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.desktop-sidebar::-webkit-scrollbar {
  width: 6px;
}
.desktop-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
  border-radius: 10px;
}