/* Rounded card styling for About store / How to apply / Q&A sections */
.people-also-ask-container {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  margin-bottom: 16px;
}

.people-also-ask-container table {
  width: 100%;
  border: 0 !important; /* override border=1 */
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

/* Force-remove borders from all table elements inside the container */
.people-also-ask-container table,
.people-also-ask-container table tr,
.people-also-ask-container table td,
.people-also-ask-container table th {
  border: 0 !important;
}

.people-also-ask-container td,
.people-also-ask-container th {
  padding: 12px 16px;
  vertical-align: top;
  border: 0 !important; /* override inline borders */
}

.people-also-ask-container tr + tr td,
.people-also-ask-container tr + tr th {
  border-top: 1px solid #f1f3f5 !important;
}

@media (max-width: 576px) {
  .people-also-ask-container {
    border-radius: 10px;
  }
  .people-also-ask-container td,
  .people-also-ask-container th {
    padding: 10px 12px;
  }
}
/* Rounded card styling for About store / How to apply / Q&A sections */
.people-also-ask-container {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
  margin-bottom: 16px;
}

.people-also-ask-container table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.people-also-ask-container td,
.people-also-ask-container th {
  padding: 12px 16px;
  vertical-align: top;
}

.people-also-ask-container tr + tr td,
.people-also-ask-container tr + tr th {
  border-top: 1px solid #f1f3f5;
}

@media (max-width: 576px) {
  .people-also-ask-container {
    border-radius: 10px;
  }
  .people-also-ask-container td,
  .people-also-ask-container th {
    padding: 10px 12px;
  }
}
/* DEBUG: This should make the admin background slightly different if CSS loads */
body.admin-interface {
  background-color: #f8f9fa !important;
}

/* Enhanced Search Input Styling - Modern UI/UX */
#select-search-coupons, .form-search-header input[type="text"], .navbar input[type="text"] {
  /* Base styling */
  background: #ffffff !important;
  /* border-radius: 16px 0 0 16px !important; */
  outline: none !important;
  /* Override any dashed borders */
  border-style: solid !important;
  /* Override any dashed borders from app.css */
  border: 1px solid #e9ecef !important;

  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;

  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500 !important;
  color: #495057 !important;

  /* Spacing and sizing - Made smaller */
  padding: 16px 24px !important;
  height: 56px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;

  /* Visual effects - Clean, subtle shadow */
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.12) !important;

  /* Placeholder styling */
  &::placeholder {
    color: #6c757d !important;
    font-weight: 400 !important;
    opacity: 0.8 !important;
  }
}

/* Enhanced Focus State */
#select-search-coupons:focus, .form-search-header input[type="text"]:focus, .navbar input[type="text"]:focus {
  background: #ffffff !important;
  border: 2px solid #1877F2 !important;
  border-top-left-radius: 50px !important;
  border-bottom-left-radius: 50px !important;
  color: #1a1a1a !important;
  /* Override any dashed borders from app.css */
  border-style: solid !important;

  /* Enhanced shadow and glow */
  box-shadow:
    0 0 0 3px rgba(24, 119, 242, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08) !important;

  /* Enhanced placeholder on focus */
  &::placeholder {
    color: #1a1a1a !important;
    opacity: 0.8 !important;
  }
}

/* Input Group Container Enhancement */
.form-search-header .input-group {
  position: relative !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  background: transparent !important;
  border-radius: 50px !important;
  overflow: hidden !important;
}

/* Enhanced Search Input Container */
.search-input-container {
  position: relative !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  background: transparent !important;
  border-radius: 50px !important;
  overflow: visible !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.08) !important;
  /* Ensure no dashed borders */
  border: none !important;
  border-style: none !important;
}

/* Enhanced Search Input Field */
.search-input-field {
  /* Base styling */
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-right: none !important;
  border-radius: 16px 0 0 16px !important;
  outline: none !important;

  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500 !important;
  color: #495057 !important;

  /* Spacing and sizing - Made bigger */
  padding: 24px 32px !important;
  height: 80px !important;
  font-size: 18px !important;
  line-height: 1.5 !important;

  /* Visual effects - Clean, subtle shadow */
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.12) !important;

  /* Placeholder styling */
  &::placeholder {
    color: #6c757d !important;
    font-weight: 400 !important;
    opacity: 0.8 !important;
  }
}

/* Enhanced Focus State for search-input-field */
.search-input-field:focus {
  background: #ffffff !important;
  border-color: #1877F2 !important;
  color: #1a1a1a !important;

  /* Enhanced shadow and glow */
  box-shadow:
    0 0 0 3px rgba(24, 119, 242, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08) !important;

  /* Enhanced placeholder on focus */
  &::placeholder {
    color: #1877F2 !important;
    opacity: 0.6 !important;
  }
}

/* Enhanced Search Button */
.search-submit-btn {
  display: flex;
  align-items: center;
  background: #1877F2 !important;
  border: none !important;
  /* border-radius: 0 16px 16px 0 !important; */
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  color: white !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  /* padding: 10px 24px !important; */
  height: 54px !important;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.12) !important;

  /* Icon styling */
  i {
    font-size: 20px !important;
    margin-right: 8px !important;
  }
}

/* Clear Button Enhancement */
#clear-search-btn {
  position: absolute;
  right: 80px; /* Position relative to search button */
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  height: 40px !important;
  width: 40px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: 2px solid #e9ecef !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08) !important;
  opacity: 0.8 !important;

  /* Hover effects */
  &:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    /* border-color: #adb5bd !important; */
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.15),
      0 2px 8px rgba(0, 0, 0, 0.1) !important;
    opacity: 1 !important;
  }

  /* Icon styling */
  .close-icon-btn {
    color: #6c757d !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
  }

  &:hover .close-icon-btn {
    color: #dc3545 !important;
    transform: rotate(90deg) !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .search-input-field {
    height: 50px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    border-radius: 12px 0 0 12px !important;
  }

  .search-submit-btn {
    height: 54px !important;
    /* padding: 14px 20px !important; */
    font-size: 15px !important;
    border-radius: 0 12px 12px 0 !important;
  }

  #clear-search-btn {
    height: 32px !important;
    width: 32px !important;
    /* right: 60px !important; */
  }
}

/* Search Input Layout Fixes */
.form-search-header .input-group {
  position: relative !important;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  /* Debug: Add background to see positioning */
  background: rgba(0, 255, 0, 0.1) !important;
}

.form-search-header .input-group input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border-right: none;
}

.form-search-header .input-group .btn-primary {
  flex-shrink: 0;
  border-left: none;
  position: relative;
  z-index: 2;
}

/* Clear Button Styling */
#clear-search-btn {
  position: absolute;
  right: auto;
  left: calc(100% - 130px); /* Position relative to input group */
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  height: 40px !important;
  width: 40px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #1877F2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
}

#clear-search-btn:hover {
  background: #f8f9fa !important;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

#clear-search-btn .close-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #1877F2;
  font-size: 1.2rem;
}

#clear-search-btn:hover .close-icon-btn {
  color: #0d6efd;
}

/* Store Navbar Search Specific Styles */
.store-navbar .search-form {
  max-width: 600px;
  width: 100%;
}

.store-navbar .input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.store-navbar .search-input {
  flex: 1 1 auto;
  min-width: 0;
  border-right: none;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.store-navbar .search-button {
  flex-shrink: 0;
  border-left: none;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  position: relative;
  z-index: 2;
}

.store-navbar .clear-button {
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  height: 40px;
  width: 40px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #1877F2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
}

.store-navbar .clear-button:hover {
  background: #f8f9fa !important;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.store-navbar .clear-button .close-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #1877F2;
  font-size: 1.2rem;
}

.store-navbar .clear-button:hover .close-icon-btn {
  color: #0d6efd;
}

/* Global Font Family */
/* body, * {
  font-family: 'Work Sans', sans-serif !important;
} */

/* Event Badge Styling */
.event-badge {
    text-align: center;
}

.event-badge .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-badge .badge.bg-primary {
    background: linear-gradient(135deg, #1877F2 0%, #0b6ae5 100%) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.event-badge .badge.bg-success {
    background: linear-gradient(135deg, #1877F2 0%, #20c997 100%) !important;
    border: none;
    box-shadow: 0 2px 8px rgba(63, 169, 236, 0.3);
}

.event-badge .badge i {
    font-size: 0.7rem;
}

/* Custom Color Variables */
:root {
  --custom-yellow: #fff7c4;
  --custom-pink: #ffc4d6;
  --custom-green: #b2f8cc;
  --custom-orange: #ffcc8e;
}

/* Category Cards - Styling with hover effects */
.category-card {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.category-card:hover,
a:hover .category-card {
  /* border-color: #b0b0b0 !important; */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Specific hover color transitions for category cards */
.category-card[style*="background-color: #ffc4d6"]:hover,
a:hover .category-card[style*="background-color: #ffc4d6"] {
  background-color: #ffaac6 !important;
}

.category-card[style*="background-color: #b2f8cc"]:hover,
a:hover .category-card[style*="background-color: #b2f8cc"] {
  background-color: #71eeae !important;
}

.category-card[style*="background-color: #ffcc8e"]:hover,
a:hover .category-card[style*="background-color: #ffcc8e"] {
  background-color: #ffb35f !important;
}

.category-card[style*="background-color: #fff7c4"]:hover,
a:hover .category-card[style*="background-color: #fff7c4"] {
  background-color: rgb(255, 227, 155) !important;
}

/* Elegant Blues & Teals Hover Colors */
.category-card[style*="background-color: #e3f2fd"]:hover,
a:hover .category-card[style*="background-color: #e3f2fd"] {
  background-color: #b3d9f7 !important;
}

.category-card[style*="background-color: #e0f2f1"]:hover,
a:hover .category-card[style*="background-color: #e0f2f1"] {
  background-color: #a7e6d9 !important;
}

.category-card[style*="background-color: #f3e5f5"]:hover,
a:hover .category-card[style*="background-color: #f3e5f5"] {
  background-color: #d1b3e8 !important;
}

.category-card[style*="background-color: #e8f5e8"]:hover,
a:hover .category-card[style*="background-color: #e8f5e8"] {
  background-color: #b8e6b8 !important;
}

/* Sophisticated Purples & Pinks Hover Colors */
.category-card[style*="background-color: #fce4ec"]:hover,
a:hover .category-card[style*="background-color: #fce4ec"] {
  background-color: #f8b3d1 !important;
}

.category-card[style*="background-color: #e8eaf6"]:hover,
a:hover .category-card[style*="background-color: #e8eaf6"] {
  background-color: #b3b7e6 !important;
}

.category-card[style*="background-color: #fff3e0"]:hover,
a:hover .category-card[style*="background-color: #fff3e0"] {
  background-color: #ffd699 !important;
}

/* Warm Earth Tones Hover Colors */
.category-card[style*="background-color: #fff8e1"]:hover,
a:hover .category-card[style*="background-color: #fff8e1"] {
  background-color: #ffedb3 !important;
}

.category-card[style*="background-color: #f1f8e9"]:hover,
a:hover .category-card[style*="background-color: #f1f8e9"] {
  background-color: #c8e6c9 !important;
}

.category-card[style*="background-color: #fafafa"]:hover,
a:hover .category-card[style*="background-color: #fafafa"] {
  background-color: #e0e0e0 !important;
}

.category-card[style*="background-color: #f5f5f5"]:hover,
a:hover .category-card[style*="background-color: #f5f5f5"] {
  background-color: #d0d0d0 !important;
}

/* Modern Neutrals Hover Colors */
.category-card[style*="background-color: #f8f9fa"]:hover,
a:hover .category-card[style*="background-color: #f8f9fa"] {
  background-color: #d8d9da !important;
}

.category-card[style*="background-color: #f0f8ff"]:hover,
a:hover .category-card[style*="background-color: #f0f8ff"] {
  background-color: #b3d9f7 !important;
}

.category-card[style*="background-color: #f0fff0"]:hover,
a:hover .category-card[style*="background-color: #f0fff0"] {
  background-color: #b3e6b3 !important;
}

/* Subtle Accents Hover Colors */
.category-card[style*="background-color: #e8f4fd"]:hover,
a:hover .category-card[style*="background-color: #e8f4fd"] {
  background-color: #b3d9f7 !important;
}

.category-card[style*="background-color: #fdf2f8"]:hover,
a:hover .category-card[style*="background-color: #fdf2f8"] {
  background-color: #f8b3d1 !important;
}

/* Warm Reds Hover Colors */
.category-card[style*="background-color: #dd7575"]:hover,
a:hover .category-card[style*="background-color: #dd7575"] {
  background-color: #f76c6c !important;
}

.view-all-stores-link {
  margin-top: 80px;
}
/* Category Logo Styling */
.category-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.category-logo-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2px;
  transition: all 0.3s ease;
}

.category-card:hover .category-logo-img {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ensure category cards have proper spacing for logo */
.category-card .card-body {
  padding: 12px 8px;
}

/* Stores List Page Styling */
.store-item {
  transition: all 0.3s ease;
}

.store-item:hover {
  transform: translateY(-2px);
}

.store-image-container {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.store-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .store-image-container {
    height: 64px;
  }
}

.store-title {
  color: #2d3436;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.store-title a {
  color: #2d3436;
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-event-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: italic;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff !important;
  background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%) !important;
  border: none !important;
  box-shadow: 0 4px 10px rgba(238, 9, 121, 0.25);
  text-transform: none;
}

.store-event-name:before {
  font-family: "FontAwesome";
  font-size: 0.9em;
  line-height: 1;
  opacity: 0.95;
}

.store-event-name:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(238, 9, 121, 0.3);
}

@media (max-width: 767px) {
  .store-event-name {
    font-size: 0.8rem;
    padding: 5px 10px;
    gap: 6px;
  }
}

.store-title a:hover {
  color: #1877F2;
  text-decoration: none;
}

.store-description {
  color: #636e72;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.sidebar .card {
  border-radius: 12px;
  transition: all 0.3s ease;
}

.sidebar .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-item {
  padding: 8px 0;
  border-bottom: 1px solid #f1f2f6;
}

.stats-item:last-child {
  border-bottom: none;
}

.stats-item span {
  color: #636e72;
}

.stats-item strong {
  color: #2d3436;
  font-weight: 600;
}

.quick-links-section .list-group-item {
  border: none;
  padding: 12px 0;
  color: #636e72;
  transition: all 0.3s ease;
}

.quick-links-section .list-group-item:hover {
  color: #1877F2;
  background-color: #f8f9fa;
  transform: translateX(5px);
}

.quick-links-section .list-group-item i {
  color: #1877F2;
  width: 20px;
}

/* Sidebar Categories Styling */
.categories-section .category-card-vertical {
  border-radius: 8px;
  padding: 12px;
  transition: all 0.3s ease;
  min-height: 50px;
}

.categories-section .category-card-vertical:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-logo-small {
  flex-shrink: 0;
}

.category-logo-img-small {
  width: 24px;
  height: 24px;
  object-fit: cover;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1px;
}

.category-info {
  flex: 1;
}

.category-name {
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Category Detail Page Star Rating - SVG System */
.rating-section .stars {
  display: inline-flex;
  align-items: center;
  margin-right: 8px;
}

.star-rating-container {
  position: relative;
  display: inline-block;
  width: 110px;
}

.star-group-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.star-normal-group {
  display: flex;
  align-items: center;
  gap: 1px;
  position: relative;
  z-index: 1;
}

.star-rated-group {
  position: absolute;
  top: 0;
  left: 1;
  z-index: 2;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1px;
}

/* START: Category Detail Page Styling */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  margin-bottom: 30px;
}

.category-title {
  font-size: 42px;
  font-weight: 500;
  color: #2d3436;
  margin-bottom: 30px;
}

.info-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #6c757d;
  border-radius: 50%;
  margin-left: 10px;
  position: relative;
  vertical-align: middle;
}

.info-icon::after {
  content: "i";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.filters {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background-color: white;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn:hover {
  border-color: #0066cc;
  background-color: #f8f9ff;
}

.filter-icon {
  width: 16px;
  height: 16px;
}

.star-icon {
  color: #ffc107;
  font-size: 18px;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  border: 1px solid #f0f0f0;
}

.companies-count {
  font-size: 22px;
  font-weight: 400;
  color: #2d3436;
}

.sort-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-label {
  font-size: 14px;
  color: #6c757d;
}

.sort-dropdown {
  background-color: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  min-width: 150px;
}

/* Company Card Styling - Enhanced */
.company-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 24px;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.company-header {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 18px;
}

.company-logo {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 19px;
  flex-shrink: 0;
}

.tadi-logo {
  background: linear-gradient(135deg, #00bcd4 0%, #ff9800 100%);
  color: white;
}

.pop-logo {
  background: linear-gradient(135deg, #8b4513 0%, #daa520 100%);
  color: white;
  border-radius: 50%;
  position: relative;
}

.pop-logo::after {
  content: "POP";
  font-size: 10px;
  position: absolute;
  top: 15px;
}

.pop-logo::before {
  content: "ART";
  font-size: 8px;
  position: absolute;
  bottom: 15px;
}

.company-info {
  flex: 1;
}

.company-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.relevance-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.company-location {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.company-name {
  font-size: 24px;
  font-weight: 500;
  color: #2d3436;
  margin-bottom: 6px;
}

.company-url {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 18px;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  border: 1px solid #f0f0f0;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ffc107;
  font-size: 20px;
}

.rating-score {
  font-size: 16px;
  font-weight: 500;
  color: #2d3436;
  background: white;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.review-count {
  color: #667eea;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  background: white;
}

/* Pagination Styling */
.pagination-container {
  background: white;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #f0f0f0;
}

.pagination .page-link {
  color: #667eea;
  border: 2px solid #e9ecef;
  margin: 0 3px;
  border-radius: 8px;
  padding: 10px 15px;
  font-weight: 500;
}

.pagination .page-item.active .page-link {
  background-color: #667eea;
  border-color: #667eea;
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  border-color: #e9ecef;
  background-color: #f8f9fa;
  cursor: not-allowed;
}

.page-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #f0f0f0;
  font-weight: 500;
}

/* Deals List Page Styling */
.deals-title {
  font-size: 48px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 10px;
  text-align: center;
}

.deals-subtitle {
  font-size: 18px;
  color: #6c757d;
  text-align: center;
  margin-bottom: 40px;
}

/* Deals List Page Content Header */
.deals-list .content-header {
  text-align: center;
  padding: 25px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.deals-list .content-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.deals-count {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.deals-count::before {
  content: '🎯';
  margin-right: 12px;
  font-size: 28px;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 1200px) {
  .deals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .deals-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .deals-grid {
    grid-template-columns: 1fr;
  }
}

.deal-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.deal-image-container {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.deal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 48px;
}

.deal-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff6b6b;
  color: white;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.deal-content {
  padding: 16px;
}

.deal-name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 8px;
  line-height: 1.3;
}

.deal-description {
  color: #6c757d;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.deal-pricing {
  margin-bottom: 12px;
}

.price-comparison {
  display: flex;
  align-items: center;
  gap: 12px;
}

.original-price {
  color: #6c757d;
  text-decoration: line-through;
  font-size: 16px;
}

.current-price {
  color: #1877F2;
  font-size: 20px;
  font-weight: 600;
}

.special-deal {
  color: #ff6b6b;
  font-size: 18px;
  font-weight: 600;
}

.deal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.get-deal-btn {
  flex: 1;
  padding: 8px 12px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 14px;
}

.favorite-btn {
  padding: 8px;
  border-radius: 6px;
  min-width: 36px;
}

.no-deals {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.no-deals-content {
  color: #6c757d;
}

.no-deals-content i {
  margin-bottom: 20px;
  color: #dee2e6;
}

.no-deals-content h3 {
  margin-bottom: 10px;
  color: #495057;
}

/* Popular Stores Section */
.popular-stores-section {
  margin-bottom: 40px;
  padding: 30px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 25px;
  text-align: center;
}

.stores-slider {
  position: relative;
  margin: 0 -10px;
}

.stores-carousel {
  width: 100%;
}

.store-slide {
  width: 280px;
  padding: 0 10px;
}

.store-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.store-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

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

.store-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.store-logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: bold;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 5px;
}

.store-category {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 12px;
}

.store-link {
  color: #667eea;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.store-link:hover {
  color: #764ba2;
}

/* Deals Description Section */
.deals-description-section {
  margin-bottom: 40px;
  padding: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 16px;
  border: 1px solid #f0f0f0;
}

.description-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.description-title {
  font-size: 32px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 20px;
}

.description-text p {
  font-size: 16px;
  color: #495057;
  line-height: 1.6;
  margin-bottom: 15px;
}

.deals-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1877F2;
  font-weight: 500;
}

.feature i {
  font-size: 20px;
}

/* Prevent banner carousel flash-of-unstyled-content until Flickity is ready */
.main-carousel#carouselBanner { visibility: hidden !important; }
.main-carousel#carouselBanner.flickity-enabled { visibility: visible !important; transition: opacity 200ms ease-in; }
#carouselBanner .carousel-cell { display: none; }
#carouselBanner.flickity-enabled .carousel-cell {
  display: block;
  height: auto;
}

/* Keep banner images centered and fully visible without cropping */
#carouselBanner .carousel-cell {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}
#carouselBanner .carousel-cell img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

/* Flickity Carousel Customization for Stores */
.stores-carousel .flickity-button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e9ecef;
  color: #667eea;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.stores-carousel .flickity-button:hover {
  background: #667eea;
  color: white;
  /* transform: scale(1.1); */
}

.stores-carousel .flickity-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stores-carousel .flickity-button-icon {
  fill: currentColor;
}

.stores-carousel .flickity-prev-next-button.previous {
  left: -20px;
}

.stores-carousel .flickity-prev-next-button.next {
  right: -20px;
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .stores-carousel .flickity-prev-next-button.previous {
    left: -10px;
  }

  .stores-carousel .flickity-prev-next-button.next {
    right: -10px;
  }

  .store-slide {
    width: 250px;
  }
}

/* Event Stores Page Styling */
.event-stores-page {
  padding: 30px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.event-header {
  background: linear-gradient(135deg, #3571be 0%, #3a85de 100%);
  border-radius: 24px;
  padding: 50px;
  margin-bottom: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(24, 119, 242, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
}

.event-info {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.event-image {
  width: 140px;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}

.event-image:hover {
  transform: scale(1.05);
}

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

.event-details {
  flex: 1;
}

.event-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.2);
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.event-type {
  background: rgba(255, 255, 255, 0.25);
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-type:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.event-dates {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  opacity: 0.95;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-dates i {
  color: #1877F2;
  font-size: 18px;
}

.event-description {
  font-size: 19px;
  line-height: 1.7;
  opacity: 0.98;
  max-width: 650px;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.stores-count-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 35px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.stores-count-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1877F2, #0d5bb8, #42a5f5);
  background-size: 200% 100%;
  animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.stores-count-title {
  font-size: 32px;
  font-weight: 700;
  color: #2d3436;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.stores-count-title i {
  color: #1877F2;
  font-size: 28px;
  animation: pulse 2s ease-in-out infinite;
}

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

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

@media (min-width: 1200px) {
  .stores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .stores-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .stores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .stores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .stores-grid {
    grid-template-columns: 1fr;
  }
}

.store-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.store-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1877F2, #0d5bb8);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.store-card:hover {
  /* transform: translateY(-8px) scale(1.02); */
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: #1877F2;
}

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

.store-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
}

.store-logo {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fa;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.store-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.store-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-logo:hover img {
  transform: scale(1.1);
}

.store-logo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1877F2 0%, #0d5bb8 100%);
  color: white;
  font-weight: bold;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.store-info {
  flex: 1;
}

.store-name {
  font-size: 18px;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.store-card:hover .store-name {
  color: #1877F2;
}

.store-category {
  font-size: 13px;
  color: #6c757d;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 6px 14px;
  border-radius: 15px;
  display: inline-block;
  font-weight: 600;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.store-card:hover .store-category {
  background: linear-gradient(135deg, #1877F2 0%, #0d5bb8 100%);
  color: white;
  transform: translateY(-1px);
}

.store-description {
  color: #6c757d;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.store-card:hover .store-description {
  color: #495057;
}

.store-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-score {
  font-size: 16px;
  font-weight: 700;
  color: #2d3436;
  background: white;
  padding: 4px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.review-count {
  font-size: 14px;
  color: #6c757d;
  font-weight: 500;
}

.store-actions {
  display: flex;
  gap: 10px;
}

.view-store-btn {
  flex: 1;
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 10px;
  font-size: 14px;
  background: linear-gradient(135deg, #1877F2 0%, #0d5bb8 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(24, 119, 242, 0.3);
}

.view-store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
  background: linear-gradient(135deg, #0d5bb8 0%, #0a4a9a 100%);
  color: white;
}

.coupon-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  border: 2px solid #1877F2;
  color: #1877F2;
  background: white;
  transition: all 0.3s ease;
}

.coupon-btn:hover {
  background: #1877F2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.no-stores {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.no-stores-content {
  max-width: 450px;
  margin: 0 auto;
}

.no-stores-content i {
  color: #1877F2;
  margin-bottom: 25px;
  opacity: 0.8;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.no-stores-content h3 {
  font-size: 28px;
  color: #2d3436;
  margin-bottom: 15px;
  font-weight: 700;
}

.no-stores-content p {
  color: #6c757d;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

/* Responsive adjustments for event stores */
@media (max-width: 768px) {
  .event-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .event-image {
    width: 100px;
    height: 100px;
  }

  .event-title {
    font-size: 28px;
  }

  .event-meta {
    justify-content: center;
  }

  .stores-grid {
    grid-template-columns: 1fr;
  }

  .store-header {
    flex-direction: column;
    text-align: center;
  }

  .store-logo {
    margin: 0 auto;
  }
}

/* Event Cards on Home Page */
.event-card {
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.event-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card .p-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.event-card .badge {
  margin-top: auto;
  align-self: flex-start;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  border-color: #667eea;
}

.event-card:hover .p-title {
  color: #667eea !important;
}

.event-card:hover .badge.bg-success {
  background-color: #1877F2 !important;
  transform: scale(1.05);
}

.event-card:hover .badge.bg-secondary {
  background-color: #6c757d !important;
  transform: scale(1.05);
}

/* Special Events Section Responsive Styling */
.special-events-section {
  margin-bottom: 3rem;
}

.special-events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.special-events-title {
  color: #1877F2;
  font-weight: 600;
  margin: 0;
}

.special-events-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
  margin: 0;
  text-align: right;
}

/* Event Cards Grid Responsive */
.events-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Responsive breakpoints for Special Events */
@media (max-width: 1200px) {
  .events-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .special-events-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .special-events-subtitle {
    text-align: left;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .special-events-section {
    margin-bottom: 2rem;
  }

  .special-events-header {
    margin-bottom: 1rem;
  }

  .special-events-title {
    font-size: 1.5rem;
  }

  .special-events-subtitle {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .special-events-section {
    margin-bottom: 1.5rem;
  }

  .special-events-header {
    margin-bottom: 0.75rem;
  }

  .special-events-title {
    font-size: 1.25rem;
  }

  .special-events-subtitle {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .special-events-section {
    margin-bottom: 1rem;
  }

  .special-events-title {
    font-size: 1.1rem;
  }

  .special-events-subtitle {
    font-size: 0.7rem;
  }
}

@media (max-width: 440px) {
  .page-title-section {
    display: block !important;
  }
  .page-title {
    font-size: large !important;
  }
  .breadcrumb-right {
    font-size: 12px;
  }
}

/* iPhone and similar mobile devices */
@media (max-width: 430px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .special-events-section {
    margin-bottom: 1rem;
  }

  .special-events-title {
    font-size: 1rem;
  }

  .special-events-subtitle {
    font-size: 0.65rem;
  }

  .page-title-section {
    display: block !important;
  }
  .page-title {
    font-size: large !important;
  }
  .breadcrumb-right {
    font-size: 12px;
  }
}

/* 425px screens and similar mobile devices */
@media (max-width: 425px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .special-events-section {
    margin-bottom: 1rem;
  }

  .special-events-title {
    font-size: 0.95rem;
  }

  .special-events-subtitle {
    font-size: 0.68rem;
  }
  .page-title-section {
    display: block !important;
  }
  .page-title {
    font-size: large !important;
  }
  .breadcrumb-right {
    font-size: 12px;
  }
}

/* Event Card Content Responsive */
@media (max-width: 768px) {
  .event-card .p-title {
    font-size: 0.85rem;
    line-height: 1.2;
  }

  .event-card .small {
    font-size: 0.75rem !important;
  }

  .event-card .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .event-card .p-title {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .event-card .small {
    font-size: 0.7rem !important;
  }

  .event-card .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
  }

  .event-card .card-body {
    padding: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .event-card .p-title {
    font-size: 0.75rem;
    line-height: 1.1;
  }

  .event-card .small {
    font-size: 0.65rem !important;
  }

  .event-card .badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.3rem;
  }

  .event-card .card-body {
    padding: 0.5rem !important;
  }
}

/* iPhone and similar mobile devices - Event Card Content */
@media (max-width: 430px) {
  .event-card .p-title {
    font-size: 0.7rem;
    line-height: 1.1;
  }

  .event-card .small {
    font-size: 0.6rem !important;
  }

  .event-card .badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.25rem;
  }

  .event-card .card-body {
    padding: 0.4rem !important;
  }
}

/* 425px screens - Event Card Content */
@media (max-width: 425px) {
  .event-card .p-title {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  .event-card .small {
    font-size: 0.58rem !important;
  }

  .event-card .badge {
    font-size: 0.53rem;
    padding: 0.12rem 0.28rem;
  }

  .event-card .card-body {
    padding: 0.45rem !important;
  }
}

/* END: Category Detail Page Styling */

/* Footer Pages Styling */
.footer-page-container,
.footer-pages-list-container {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 100vh;
}

.page-header {
  margin-bottom: 40px;
  text-align: center;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 20px;
  justify-content: center;
}

.breadcrumb-item a {
  color: #1877F2;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: #0d5bb8;
  text-decoration: underline;
}

.page-title-section {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

.page-title {
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 15px;
}

.page-subtitle {
  font-size: 18px;
  color: #6c757d;
  margin: 0;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-type {
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
}

.page-date {
  color: #6c757d;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-content {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.content-wrapper {
  padding: 40px;
  line-height: 1.8;
  font-size: 16px;
  color: #2d3436;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
  color: #2d3436;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-wrapper p {
  margin-bottom: 20px;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.content-wrapper li {
  margin-bottom: 8px;
}

.page-footer {
  background: #f8f9fa;
  padding: 30px 40px;
  border-top: 1px solid #e9ecef;
}

.meta-info h3 {
  font-size: 20px;
  color: #2d3436;
  margin-bottom: 15px;
}

.meta-info p {
  margin-bottom: 8px;
  color: #6c757d;
}

/* Footer Pages List */
.pages-content {
  max-width: 1200px;
  margin: 0 auto;
}

.page-type-section {
  margin-bottom: 40px;
}

.type-title {
  font-size: 28px;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.type-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #1877F2, #0d5bb8);
  border-radius: 2px;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.page-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  border-color: #1877F2;
}

.page-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.page-name {
  font-size: 20px;
  font-weight: 600;
  color: #2d3436;
  margin: 0;
  flex: 1;
  margin-right: 15px;
}

.page-type-badge {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 15px;
  flex-shrink: 0;
}

.page-description {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-card-footer .btn {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
}

/* Error States */
.error-section {
  text-align: center;
  padding: 80px 20px;
}

.error-content {
  max-width: 500px;
  margin: 0 auto;
}

.error-title {
  font-size: 32px;
  color: #2d3436;
  margin: 25px 0 15px;
}

.error-message {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.no-pages {
  text-align: center;
  padding: 80px 20px;
}

.no-pages-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-pages-content h3 {
  font-size: 28px;
  color: #2d3436;
  margin: 25px 0 15px;
}

.no-pages-content p {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-title {
    font-size: 28px;
  }

  .content-wrapper {
    padding: 25px;
  }

  .pages-grid {
    grid-template-columns: 1fr;
  }

  .page-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-name {
    margin-right: 0;
  }

  .page-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
}

/* Footer */
.footer {
    background-color: #ffffff;
    padding: 40px 40px 40px;
    margin: 0 auto;
    border-top: 1px dashed lightgrey;
}

/* Modal Logo Styling for Better UI/UX */
.modal-logo-container {
    margin-bottom: 30px;
    text-align: center;
}

.modal-logo {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.modal-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #1877F2;
}

.modal-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.modal-logo:hover .modal-logo-image {
    transform: scale(1.05);
}

.modal-logo-text {
    font-size: 32px;
    font-weight: 900;
    color: #212529;
    line-height: 1;
    margin-bottom: 3px;
    font-family: 'Arial', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-logo-subtext {
    font-size: 11px;
    font-weight: 700;
    color: #495057;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Arial', sans-serif;
}

/* Modal Content Styling */
#offerModal .modal-content {
    border-radius: 25px;
    border: none;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#offerModal .modal-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 25px 30px 20px;
}

#offerModal .modal-body {
    padding: 0 30px 25px;
    text-align: center;
    background: #ffffff;
}

#offerModal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

/* Main Title Styling */
.main-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
    line-height: 1.3;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Arial', sans-serif;
}

/* Instruction Text Styling */
.instruction-text {
    font-size: 17px;
    color: #6c757d;
    margin-bottom: 35px;
    line-height: 1.6;
    font-weight: 500;
}

.brand-name {
    color: #1877F2;
    font-weight: 700;
    background: linear-gradient(45deg, #1877F2, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coupon Container Styling */
.coupon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.coupon-code {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 3px dashed #1877F2;
    border-radius: 15px;
    padding: 18px 25px;
    font-size: 20px;
    font-weight: 800;
    color: #1877F2;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.1);
    transition: all 0.3s ease;
}

.coupon-code:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
    border-color: #0056b3;
}

.copy-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0056b3 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.copy-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.copy-btn:active {
    transform: translateY(-1px);
}

.go-to-store-btn {
    background: linear-gradient(135deg, #1877F2 0%, #0b6ae5 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(71, 136, 225, 0.3);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.go-to-store-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #0070e8 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(71, 136, 225, 0.3);
}

.go-to-store-btn:active {
    transform: translateY(-1px);
}

/* More Link Styling */
.more-link {
    color: #1877F2;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.1) 0%, rgba(24, 119, 242, 0.05) 100%);
    border: 2px solid transparent;
}

.more-link:hover {
    color: #0056b3;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15) 0%, rgba(24, 119, 242, 0.1) 100%);
    border-color: #1877F2;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.2);
}

/* Responsive Design */
@media (max-width: 576px) {
    .modal-logo {
        width: 80px;
        height: 80px;
    }

    .modal-logo-text {
        font-size: 26px;
    }

    .modal-logo-subtext {
        font-size: 9px;
    }

    .main-title {
        font-size: 22px;
    }

    .coupon-container {
        flex-direction: column;
        gap: 20px;
    }

    .coupon-code {
        min-width: 200px;
        font-size: 18px;
        padding: 15px 20px;
    }

    .copy-btn {
        min-width: 120px;
        padding: 15px 25px;
    }

    .go-to-store-btn {
        min-width: 120px;
        padding: 15px 25px;
    }
}

/* Animation for modal appearance */
#offerModal .modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Custom close button styles */
.btn-close {
    background-size: 1.3em;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 50%;
    padding: 8px;
}

.btn-close:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}

/* Modal backdrop enhancement */
.modal-backdrop {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Store Logo Styling for Better UI/UX */
.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 4px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #1877F2;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

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

/* Responsive design for store logo */
@media (max-width: 768px) {
    .logo {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
}

/* Minimal Tab Content Styling */
.tab-content {
    display: none !important;
}

.tab-content.active {
    display: block !important;
}

/* Ensure all articles inside active tabs are visible */
.tab-content.active article {
    display: block !important;
}

/* Hide articles inside inactive tabs */
.tab-content:not(.active) article {
    display: none !important;
}

/* Footer */
.footer {
    background-color: #fafafa;
    padding: 40px 40px 40px;
    margin: 0 auto;
    border-top: 1px dashed lightgrey;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.brand-name {
  font-weight: bold;
  color: #1877F2;
  align-items: center;
}

.brand-name .store {
  color: #1877F2;
}

.brand-name .relief {
  color: #374151;
  margin-left: 5px;
}

.brand-description {
  color: #000000;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 30px;
  text-align: justify;
  text-justify: inter-word;
  max-width: 100%;
  width: 100%;
  word-spacing: 0.1em;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 40px;
  height: auto;
  overflow: visible;
  visibility: visible;
  opacity: 1;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icons a:hover {
  background-color: #1877F2;
  color: white;
  transform: translateY(-2px);
}

.footer-pages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin: 0 auto;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.footer-pages ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-pages h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-pages ul {
  list-style: none;
}

.footer-pages ul li {
  margin-bottom: 5px;
  text-align: left;
  width: 100%;
}

.footer-pages ul li a {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-pages ul li a:hover {
  color: #1877F2;
}

.footer-blogs {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
  height: auto;
  overflow: visible;
}

.footer-blogs h3 {
  font-size: 24px;
  color: #111827;
  margin-bottom: 30px;
  font-weight: 600;
}

.blog-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateX(5px);
}

.blog-image {
  width: 60px;
  height: 60px;
  background-color: #f3f4f6;
  border-radius: 8px;
  margin-right: 15px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.blog-content {
  flex: 1;
}

.blog-title {
  font-size: 16px;
  color: #111827;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.blog-date {
  font-size: 13px;
  color: #9ca3af;
}

.footer-bottom {
  border-top: 1px dashed lightgrey;
  padding-top: 30px;
  text-align: center;
  color: #000000;
  font-size: 14px;
}

.footer-bottom p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 20px 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brand-name {
    font-size: 28px;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 20px;
  }
}

/* Additional responsive breakpoints for footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 30px 15px 20px;
  }

  .footer-content {
    gap: 30px;
  }

  .social-icons {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .footer-pages ul li a {
    font-size: 14px;
  }

  .brand-description {
    font-size: 14px;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 10px 10px 60px 10px;
  }

  .footer-content {
    gap: 25px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .footer-pages ul li a {
    font-size: 13px;
  }

  .brand-description {
    font-size: 13px;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .footer {
    padding: 20px 8px 10px;
  }

  .footer-content {
    gap: 20px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 15px;
  }

  .footer-pages ul li a {
    font-size: 12px;
  }

  .brand-description {
    font-size: 12px;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }
}

/* Ensure footer content is always visible */
@media (max-height: 600px) {
  .footer {
    padding: 20px 20px 20px;
  }

  .footer-content {
    gap: 20px;
    margin-bottom: 20px;
  }

  .social-icons {
    margin-top: 15px;
  }
}

@media (max-height: 500px) {
  .footer {
    padding: 15px 15px 15px;
  }

  .footer-content {
    gap: 15px;
    margin-bottom: 15px;
  }

  .brand-description {
    margin-bottom: 15px;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    margin-bottom: 8px;
  }
}
/* End footer */

/* Full width styling for Jazzmin admin forms with 3:9 grid layout */


/* Custom CSS for Modal Layout */
#offerModal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

#offerModal .modal-header {
  background: transparent;
  padding: 20px 30px 0;
  height: 60px;
}

#offerModal .modal-body {
  padding: 0 30px 20px;
  text-align: center;
  position: relative;
}

#offerModal .modal-footer {
  background: transparent;
  padding: 0 30px 20px;
  justify-content: center;
}

/* Modal Logo Container Styles */
.modal-logo-container {
  margin-bottom: 25px;
}

.modal-logo {
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 3px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
}

.modal-logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.modal-logo-text {
  font-size: 28px;
  font-weight: 900;
  color: #212529;
  line-height: 1;
  margin-bottom: 2px;
}

.modal-logo-subtext {
  font-size: 10px;
  font-weight: 600;
  color: #495057;
  line-height: 1;
  letter-spacing: 0.5px;
}

/* Main Title Styles */
.main-title {
  font-size: 24px;
  font-weight: 700;
  color: #212529;
  margin-bottom: 20px;
  line-height: 1.3;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* Instruction Text Styles */
.instruction-text {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.5;
}

.brand-name {
  color: #1877F2;
  font-weight: 600;
}

/* Coupon Container Styles */
.coupon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.coupon-code {
  background: #f8f9fa;
  border: 2px dashed #1877F2;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #495057;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
  min-width: 200px;
  text-align: center;
}

.copy-btn {
  background: #1877F2;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 15px 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.copy-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.copy-btn:active {
  transform: translateY(0);
}

/* More Link Styles */
.more-link {
  color: #1877F2;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 25px;
  display: inline-block;
  transition: color 0.3s ease;
}

.more-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 576px) {
  #offerModal .modal-dialog {
      margin: 10px;
  }

  #offerModal .modal-body {
      padding: 0 20px 20px;
  }

  .main-title {
      font-size: 20px;
  }

  .coupon-container {
      flex-direction: column;
      gap: 15px;
  }

  .coupon-code {
      min-width: 180px;
      font-size: 16px;
  }

  .copy-btn {
      min-width: 100px;
      padding: 12px 20px;
  }
}

/* Animation for modal appearance */
#offerModal .modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
      opacity: 0;
      transform: translateY(-50px) scale(0.9);
  }
  to {
      opacity: 1;
      transform: translateY(0) scale(1);
  }
}

/* Custom close button styles */
.btn-close {
  background-size: 1.2em;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

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

/* Modal backdrop enhancement */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
/* End modal css */

/* View More Link Styling */
.view-more-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 2px solid #FFBF00;
  animation: zoomInOut 2s ease-in-out infinite;
}

.view-more-link:hover {
  /* background-color: rgba(24, 119, 242, 0.15); */
  border-color: #FFBF00;
  border-width: 3px;
  transform: translateY(-2px) scale(1.15);
  animation-play-state: paused;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.view-more-link:hover .fa-chevron-down {
  transform: translateY(2px);
}

.view-more-link .fa-chevron-down {
  color: #FFD700 !important;
  transition: transform 0.3s ease;
}

.row.deal-view-more {
  padding-top: 60px;
}

.view-more-link span {
  font-weight: 500 !important;
  font-size: 14px;
  font-style: italic;
  color: #FFC000 !important;
  transition: all 0.3s ease;
}

.view-more-link:hover span {
  color: #1877F2;
  font-weight: 700;
}

/* Footer Page Detail - Other Pages Section */
.other-pages-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.other-pages-section h3 {
  color: #2d3436;
  margin-bottom: 25px;
  font-size: 24px;
  font-weight: 600;
}

.pages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.page-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: #1877F2;
}

.page-card-title h4 {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
}

.page-card-title a {
  color: #2d3436;
  transition: color 0.3s ease;
}

.page-card-title a:hover {
  color: #1877F2;
}

.page-card-type {
  margin-bottom: 15px;
}

.page-card-type .badge {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
}

.page-card-description {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pages-grid {
    grid-template-columns: 1fr;
  }

  .page-card {
    padding: 16px;
  }
}


/* START: Follow on shop */
.follow-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 19px;
  background: linear-gradient(135deg, #7c3aed, #9333ea, #a855f7);
  /* background: linear-gradient(135deg, #8553f9, #a651f4, #c084fc); */
  border: none;
  border-radius: 50px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  width: 180px;
  text-decoration: none;
  cursor: default;
  animation: followButtonZoom 3s ease-in-out infinite;
}

.follow-button:hover {
  cursor: default !important;
  animation-play-state: paused;
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.follow-button:active {
  transform: translateY(0);
}

.heart-icon {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}

.button-text {
  white-space: nowrap;
  letter-spacing: 0.025em;
}

/* Alternative sizes */
.follow-button.small {
  padding: 8px 18px;
  font-size: 14px;
}

/* Social Icons Styling */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 50%;
  color: #6c757d;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icon-link:hover {
  background: linear-gradient(135deg, #1877F2 0%, #0b6ae5 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
  border-color: #1877F2;
}

.social-icon {
  width: 20px;
  height: 20px;
  transition: all 0.3s ease;
}

.social-icon-link:hover .social-icon {
  transform: scale(1.1);
}

/* Platform-specific colors */
.social-icon-link.facebook-icon {
  color: white;
  background: linear-gradient(135deg, #1877F2 0%, #0d6efd 100%);
  border-color: #1877F2;
}

.social-icon-link.twitter-icon {
  color: white;
  background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
  border-color: #1DA1F2;
}

.social-icon-link.instagram-icon {
  color: white;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
  position: relative;
  overflow: hidden;
}

.social-icon-link.instagram-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-icon-link.instagram-icon:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
}

.social-icon-link.youtube-icon {
  color: white;
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  border-color: #FF0000;
}

.social-icon-link.pinterest-icon {
  color: white;
  background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
  border-color: #FF0000;
}

.social-icon-link.tiktok-icon {
  color: white;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  border-color: #000000;
}

/* Handle empty href attributes */
.social-icon-link[href=""] {
  cursor: default;
  opacity: 0.6;
}

.social-icon-link[href=""]:hover {
  transform: none;
  box-shadow: none;
}

.social-icon-link[href=""] .social-icon {
  transform: none;
}

.follow-button.small .heart-icon {
  width: 16px;
  height: 16px;
}

.follow-button.large {
  padding: 16px 32px;
  font-size: 18px;
}

.follow-button.large .heart-icon {
  width: 24px;
  height: 24px;
}

/* Demo container */
.demo-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.demo-label {
  color: #666;
  font-size: 14px;
  margin-bottom: -10px;
}
/* END: Follow on shop */

/* Store Count Badge Styling */
.store-count-badge {
  font-size: 20px;
  color: #212529;
  font-weight: 700;
  margin-left: -1px;
  vertical-align: middle;
}

/* Store Navbar Responsive Styling */
.store-navbar {
  background: transparent;
  box-shadow: none;
  min-height: 90px;
}

.store-navbar .navbar-brand img {
  height: 64px;
  margin-left: 0;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.store-navbar .search-form {
  max-width: 600px;
  width: 100%;
}

.store-navbar .input-group {
  flex-wrap: nowrap;
  overflow: hidden;
  position: relative;
}

.store-navbar .search-input {
  height: 50px;
  font-size: 1.1rem;
  background: #fff;
  border-radius: 32px 0 0 32px;
  flex: 1;
  min-width: 0;
}

.store-navbar .search-button {
  height: 50px;
  font-size: 1.1rem;
  border-radius: 0 32px 32px 0;
}

/* Old clear button styles removed - replaced with new styles above */

/* Old hover styles removed - replaced with new styles above */

/* Old clear button styles removed - replaced with new styles above */

/* Responsive breakpoints */
@media (min-width: 1201px) {
  .store-navbar .clear-button {
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
  }
}

@media (max-width: 1200px) {
  .store-navbar .search-input {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
  }

  .store-navbar .clear-button {
    /* right: 100px; */
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
  }
}

@media (max-width: 992px) {
  .store-navbar .search-input {
    width: 300px;
    min-width: 300px;
    max-width: 300px;
  }

  .store-navbar .clear-button {
    /* right: 90px; */
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
  }

  .store-navbar .navbar-brand img {
    height: 56px;
  }
}

@media (max-width: 768px) {
  .store-navbar {
    min-height: 80px;
  }

  .store-navbar .search-input {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    font-size: 1rem;
  }

  .store-navbar .clear-button {
    /* right: 80px; */
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
  }

  .store-navbar .search-button {
    font-size: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .store-navbar .navbar-brand img {
    height: 48px;
  }
}

@media (max-width: 576px) {
  .store-navbar {
    min-height: 70px;
  }

  .store-navbar .search-input {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    font-size: 0.9rem;
  }

  .store-navbar .clear-button {
    /* right: 90px; */
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .store-navbar .search-button {
    font-size: 0.9rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .store-navbar .search-button i {
    font-size: 1.1rem;
  }

  .store-navbar .navbar-brand img {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .store-navbar .search-input {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    font-size: 0.85rem;
  }

  .store-navbar .clear-button {
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    right: 32%;
    padding: 2px 0px;
}

  .store-navbar .search-button {
    font-size: 0.85rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .store-navbar .search-button i {
    font-size: 1rem;
  }

  .store-navbar .navbar-brand img {
    height: 36px;
  }
}

@media (max-width: 400px) {
  .store-navbar .search-input {
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    font-size: 0.8rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .store-navbar .clear-button {
    /* right: 55px; */
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .store-navbar .search-button {
    font-size: 0.8rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .store-navbar .search-button i {
    font-size: 0.9rem;
  }

  .store-navbar .navbar-brand img {
    height: 32px;
  }
}

/* Ensure navbar doesn't break on very small screens */
@media (max-width: 360px) {
  .store-navbar .search-input {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    font-size: 0.75rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .store-navbar .clear-button {
    right: 50px;
    border-top: 2px solid #1a77f2 !important;
    border-bottom: 2px solid #1a77f2 !important;
    position: absolute;
    padding: 2px 0px;
  }

  .store-navbar .search-button {
    font-size: 0.75rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .store-navbar .search-button i {
    font-size: 0.8rem;
  }

  .store-navbar .navbar-brand img {
    height: 28px;
  }
}

/* Zoom In/Out Animation for View More Link */
@keyframes zoomInOut {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Zoom In/Out Animation for Follow Button */
@keyframes followButtonZoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* View All Categories Link - Same styling as View All Stores */
.view-all-categories-link {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* Responsive CSS for Search Input */
@media (max-width: 768px) {
  .form-search-header .input-group {
    flex-direction: column;
    /* gap: 10px; */
  }

  .form-search-header .input-group input[type="text"] {
    border-radius: 50px !important;
    border-right: 1px solid #dee2e6;
  }

  .form-search-header .input-group .btn-primary {
    border-radius: 50px !important;
    border-left: 1px solid #dee2e6;
  }

  #clear-search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .store-navbar .search-input {
    border-radius: 32px !important;
    border-right: 1px solid #dee2e6;
  }

  .store-navbar .search-button {
    border-radius: 32px !important;
    border-left: 1px solid #dee2e6;
    margin-top: 10px;
  }

  .store-navbar .clear-button {
    right: 10px;
  }
}

@media (max-width: 576px) {
  .form-search-header {
    padding: 1rem !important;
  }

  .form-search-header .input-group input[type="text"] {
    height: 48px !important;
    font-size: 1rem !important;
  }

  .form-search-header .input-group .btn-primary {
    height: 54px !important;
    font-size: 1rem !important;
  }

  #clear-search-btn {
    height: 36px !important;
    width: 36px !important;
    right: 8px;
  }

  .store-navbar .search-input {
    height: 48px !important;
    font-size: 1rem !important;
  }

  .store-navbar .search-button {
    height: 48px !important;
    font-size: 1rem !important;
  }

  .store-navbar .clear-button {
    height: 36px !important;
    width: 36px !important;
    right: 8px;
  }
}

/* Carousel Navigation Arrows */

.carousel-nav-btn:hover {
  background: rgba(255, 255, 255, 1);
  color: #0d6efd;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

.carousel-nav-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.3);
}

.carousel-nav-left {
  left: 0px;
}

.carousel-nav-right {
  right: 0px;
}

/* Responsive adjustments for navigation arrows */
@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .carousel-nav-left {
    left: 0px;
  }

  .carousel-nav-right {
    right: 0px;
  }
}

@media (max-width: 576px) {
  .carousel-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .carousel-nav-left {
    left: 0px;
  }

  .carousel-nav-right {
    right: 0px;
  }
}

/* Carousel Container Positioning */
.position-relative .main-carousel {
  position: relative;
  z-index: 1;
  padding: 0 30px; /* Add padding to prevent arrows from overlapping content */
}

/* Ensure carousel navigation arrows are above carousel content */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1877F2;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto; /* Ensure clicks are registered */
}

/* Additional carousel styling */
.main-carousel {
  overflow: visible; /* Ensure arrows are visible outside carousel bounds */
}

/* Banner carousel styling */
#carouselBanner .carousel-cell {
  width: 100%;
}

/* Removed conflicting banner image styles - using the proper styles above */

/* Responsive banner heights */
@media (max-width: 768px) {
  #carouselBanner .carousel-cell {
    height: 250px;
  }
}

@media (max-width: 576px) {
  #carouselBanner .carousel-cell {
    height: 200px;
  }
}

@media (max-width: 400px) {
  #carouselBanner .carousel-cell {
    height: 180px;
  }
}

/* Improve arrow visibility on different backgrounds */
.carousel-nav-btn {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(24, 119, 242, 0.2);
}

.carousel-nav-btn:hover {
  border-color: rgba(24, 119, 242, 0.5);
  background: rgba(255, 255, 255, 0.95);
}

/* Arrow icon styling */
.carousel-nav-btn i {
  font-size: small;
  font-weight: 100;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Disable arrows when carousel is at start/end (optional enhancement) */
.carousel-nav-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Force search button to stay on the right */
.form-search-header .input-group .btn-primary,
.store-navbar .input-group .search-button {
  order: 3; /* Ensure it's the last element */
  margin-left: -1px; /* Connect with input field */
}

/* Ensure input field takes remaining space */
.form-search-header .input-group input[type="text"],
.store-navbar .input-group .search-input {
  order: 1; /* First element */
  flex: 1;
  min-width: 0;
}

/* Clear button positioning */
#clear-search-btn {
  order: 2; /* Between input and search button */
  position: absolute;
  left: auto;
  right: 140px; /* Position from right edge */
}

/* Mobile adjustments for clear button */
@media (max-width: 767px) {
  #clear-search-btn {
    right: 120px;
  }
}

@media (max-width: 575px) {
  #clear-search-btn {
    right: 100px;
  }
}

@media (max-width: 375px) {
  #clear-search-btn {
    right: 80px;
  }
}

/* Prevent Search Bar from Stacking on Small Screens */
.form-search-header .input-group,
.store-navbar .input-group {
  position: relative;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
  flex-direction: row !important;
}

/* Ensure input group children don't wrap */
.form-search-header .input-group > *,
.store-navbar .input-group > * {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Input field - takes remaining space but doesn't wrap */
.form-search-header .input-group input[type="text"],
.store-navbar .input-group .search-input {
  flex: 1 1 auto !important;
  min-width: 0;
  max-width: none;
  /* width: auto; */
  width: 400px;
  border-right: none;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Search button - never wraps, always on the right */
.form-search-header .input-group .btn-primary,
.store-navbar .input-group .search-button {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  border-left: none;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  min-width: fit-content;
}

/* Clear button - absolute positioned, doesn't affect layout */
#clear-search-btn {
  position: absolute !important;
  order: 2;
  left: auto;
  right: 110px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  height: 30px !important;
  width: 30px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #1877F2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
  pointer-events: auto;
}

/* Force horizontal layout on all screen sizes */
@media (max-width: 767px) {
  .form-search-header .input-group,
  .store-navbar .input-group {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
  }

  .form-search-header .input-group input[type="text"], .store-navbar .input-group .search-input {
    width: auto !important;
  }

  .form-search-header .input-group input[type="text"],
  .store-navbar .input-group .search-input {
    flex: 1 1 auto !important;
    min-width: 0;
  }

  .form-search-header .input-group .btn-primary,
  .store-navbar .input-group .search-button {
    flex-shrink: 0 !important;
    width: auto;
    min-width: fit-content;
  }

  #clear-search-btn {
    right: 120px;
  }
}

@media (max-width: 575px) {
  .form-search-header .input-group,
  .store-navbar .input-group {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .form-search-header .input-group input[type="text"], .store-navbar .input-group .search-input {
    width: auto !important;
  }

  .form-search-header .input-group input[type="text"],
  .store-navbar .input-group .search-input {
    flex: 1 1 auto !important;
    min-width: 0;
    font-size: 0.9rem;
    padding: 0 0.875rem;
  }

  .form-search-header .input-group .btn-primary,
  .store-navbar .input-group .search-button {
    flex-shrink: 0 !important;
    width: auto;
    min-width: fit-content;
    font-size: 0.9rem;
    padding: 0 0.875rem;
  }

  #clear-search-btn {
    right: 115px !important;
    height: 27px !important;
    width: 27px !important;
  }
}

@media (max-width: 375px) {
  .form-search-header .input-group,
  .store-navbar .input-group {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .form-search-header .input-group input[type="text"],
  .store-navbar .input-group .search-input {
    flex: 1 1 auto !important;
    min-width: 0;
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }

  .form-search-header .input-group .btn-primary,
  .store-navbar .input-group .search-button {
    flex-shrink: 0 !important;
    width: auto;
    min-width: fit-content;
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }

  #clear-search-btn {
    right: 108px !important;
    width: 20px !important;
    height: 27px !important;
  }
}

/* Extra small screens - maintain horizontal layout */
@media (max-width: 320px) {
  .form-search-header .input-group,
  .store-navbar .input-group {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow: hidden;
  }

  .form-search-header .input-group input[type="text"],
  .store-navbar .input-group .search-input {
    flex: 1 1 auto !important;
    min-width: 0;
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }

  .form-search-header .input-group .btn-primary,
  .store-navbar .input-group .search-button {
    flex-shrink: 0 !important;
    width: auto;
    min-width: fit-content;
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }

  #clear-search-btn {
    right: 100px !important;
    /* height: 26px !important; */
    width: 26px;
  }
}

/* Responsive Store Info Cards for Category Detail Page */
@media (max-width: 1200px) {
  .company-card {
    padding: 24px;
    margin-bottom: 20px;
  }

  .company-header {
    gap: 18px;
    margin-bottom: 16px;
  }

  .company-logo {
    width: 60px;
    height: 60px;
    font-size: 18px;
  }

  .company-name {
    font-size: 22px;
  }

  .rating-section {
    padding: 10px;
    gap: 10px;
  }
}

@media (max-width: 992px) {
  .company-card {
    padding: 20px;
    margin-bottom: 18px;
  }

  .company-header {
    gap: 16px;
    margin-bottom: 14px;
  }

  .company-logo {
    width: 55px;
    height: 55px;
    font-size: 17px;
  }

  .company-name {
    font-size: 20px;
    margin-bottom: 5px;
  }

  .company-description {
    font-size: 13px !important;
    margin-bottom: 12px !important;
  }

  .rating-section {
    padding: 8px;
    gap: 8px;
  }

  .stars {
    gap: 1px;
  }

  .rating-score,
  .review-count {
    padding: 5px 8px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .company-card {
    padding: 18px;
    margin-bottom: 16px;
    border-radius: 14px;
  }

  .company-header {
    gap: 14px;
    margin-bottom: 12px;
  }

  .company-logo {
    width: 50px;
    height: 50px;
    font-size: 16px;
    border-radius: 10px;
  }

  .company-name {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .company-url {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .company-description {
    font-size: 12px !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
  }

  .company-meta {
    margin-bottom: 10px;
  }

  .relevance-badge {
    font-size: 10px;
    padding: 4px 8px;
  }

  .company-location {
    font-size: 13px;
  }

  .rating-section {
    padding: 6px;
    gap: 6px;
    border-radius: 8px;
  }

  .stars {
    gap: 1px;
  }

  .rating-score,
  .review-count {
    padding: 4px 6px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .company-card {
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 12px;
  }

  .company-header {
    gap: 12px;
    margin-bottom: 10px;
  }

  .company-logo {
    width: 45px;
    height: 45px;
    font-size: 15px;
    border-radius: 8px;
  }

  .company-name {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .company-url {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .company-description {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
  }

  .company-meta {
    margin-bottom: 8px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .relevance-badge {
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 12px;
  }

  .company-location {
    font-size: 12px;
  }

  .rating-section {
    padding: 5px;
    gap: 5px;
    border-radius: 6px;
    flex-wrap: wrap;
  }

  .stars {
    gap: 0;
  }

  .rating-score,
  .review-count {
    padding: 3px 5px;
    font-size: 11px;
    border-radius: 4px;
  }

  .page-info {
    font-size: 12px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .company-card {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .company-header {
    gap: 10px;
    margin-bottom: 8px;
  }

  .company-logo {
    width: 40px;
    height: 40px;
    font-size: 14px;
    border-radius: 6px;
  }

  .company-name {
    font-size: 15px;
    margin-bottom: 2px;
  }

  .company-url {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .company-description {
    font-size: 10px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }

  .company-meta {
    margin-bottom: 6px;
    gap: 4px;
  }

  .relevance-badge {
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 10px;
  }

  .company-location {
    font-size: 11px;
  }

  .rating-section {
    padding: 4px;
    gap: 4px;
    border-radius: 5px;
  }

  .rating-score,
  .review-count {
    padding: 2px 4px;
    font-size: 10px;
    border-radius: 3px;
  }

  .pagination .page-link {
    padding: 8px 12px;
    font-size: 14px;
    margin: 0 2px;
  }

  .page-info {
    font-size: 11px;
    padding: 10px;
  }
}

@media (max-width: 375px) {
  .company-card {
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .company-header {
    gap: 8px;
    margin-bottom: 6px;
  }

  .company-logo {
    width: 35px;
    height: 35px;
    font-size: 13px;
    border-radius: 5px;
  }

  .company-name {
    font-size: 14px;
    margin-bottom: 1px;
  }

  .company-url {
    font-size: 10px;
    margin-bottom: 8px;
  }

  .company-description {
    font-size: 9px !important;
    margin-bottom: 4px !important;
    line-height: 1.1 !important;
  }

  .company-meta {
    margin-bottom: 4px;
    gap: 3px;
  }

  .relevance-badge {
    font-size: 7px;
    padding: 1px 4px;
    border-radius: 8px;
  }

  .company-location {
    font-size: 10px;
  }

  .rating-section {
    padding: 3px;
    gap: 3px;
    border-radius: 4px;
  }

  .rating-score,
  .review-count {
    padding: 1px 3px;
    font-size: 9px;
    border-radius: 2px;
  }

  .pagination .page-link {
    padding: 6px 10px;
    font-size: 13px;
    margin: 0 1px;
  }

  .page-info {
    font-size: 10px;
    padding: 8px;
  }
}

@media (max-width: 320px) {
  .company-card {
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
  }

  .company-header {
    gap: 6px;
    margin-bottom: 4px;
  }

  .company-logo {
    width: 30px;
    height: 30px;
    font-size: 12px;
    border-radius: 4px;
  }

  .company-name {
    font-size: 13px;
    margin-bottom: 0;
  }

  .company-url {
    font-size: 9px;
    margin-bottom: 6px;
  }

  .company-description {
    font-size: 8px !important;
    margin-bottom: 3px !important;
    line-height: 1.0 !important;
  }

  .company-meta {
    margin-bottom: 3px;
    gap: 2px;
  }

  .relevance-badge {
    font-size: 6px;
    padding: 1px 3px;
    border-radius: 6px;
  }

  .company-location {
    font-size: 9px;
  }

  .rating-section {
    padding: 2px;
    gap: 2px;
    border-radius: 3px;
  }

  .rating-score,
  .review-count {
    padding: 1px 2px;
    font-size: 8px;
    border-radius: 1px;
  }

  .pagination .page-link {
    padding: 5px 8px;
    font-size: 12px;
    margin: 0;
  }

  .page-info {
    font-size: 9px;
    padding: 6px;
  }
}

/* Landscape Mobile Optimization */
@media (max-height: 500px) and (orientation: landscape) {
  .company-card {
    padding: 12px;
    margin-bottom: 8px;
  }

  .company-header {
    gap: 10px;
    margin-bottom: 6px;
  }

  .company-logo {
    width: 35px;
    height: 35px;
    font-size: 13px;
  }

  .company-name {
    font-size: 14px;
  }

  .company-description {
    font-size: 10px !important;
    margin-bottom: 4px !important;
  }

  .rating-section {
    padding: 4px;
    gap: 4px;
  }
}

/* High DPI Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .company-card {
    border-width: 0.5px;
  }

  .relevance-badge {
    box-shadow: 0 1px 4px rgba(102, 126, 234, 0.3);
  }

  .rating-score,
  .review-count {
    box-shadow: 0 0.5px 2px rgba(0,0,0,0.15);
  }
}

/* Print Styles */
@media print {
  .company-card {
    break-inside: avoid;
    border: 1px solid #ccc;
    background: white;
    box-shadow: none;
  }

  .company-logo {
    border: 1px solid #ccc;
  }

  .rating-section {
    background: white;
    border: 1px solid #ccc;
  }
}

/* Height-based Footer Responsiveness - Ensure Full Visibility */
/* Mobile Height Optimizations */
@media (max-height: 800px) and (max-width: 768px) {
  .footer {
    padding: 25px 20px 20px;
    min-height: auto;
  }

  .footer-content {
    gap: 25px;
    margin-bottom: 25px;
  }

  .footer-brand {
    margin-bottom: 15px;
  }

  .brand-description {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-pages ul li {
    margin-bottom: 3px;
  }

  .footer-pages ul li a {
    font-size: 13px;
  }

  .social-icons {
    margin-top: 15px;
    gap: 10px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .footer-bottom {
    padding-top: 15px;
  }

  .footer-bottom p {
    font-size: 12px;
    margin-bottom: 5px;
  }
}

@media (max-height: 700px) and (max-width: 768px) {
  .footer {
    padding: 20px 15px 15px;
  }

  .footer-content {
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-brand {
    margin-bottom: 12px;
  }

  .brand-description {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.4;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .footer-pages ul li {
    margin-bottom: 2px;
  }

  .footer-pages ul li a {
    font-size: 12px;
  }

  .social-icons {
    margin-top: 12px;
    gap: 8px;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 12px;
  }

  .footer-bottom p {
    font-size: 11px;
    margin-bottom: 3px;
  }
}

@media (max-height: 600px) and (max-width: 768px) {
  .footer {
    padding: 15px 12px 10px;
  }

  .footer-content {
    gap: 15px;
    margin-bottom: 15px;
  }

  .footer-brand {
    margin-bottom: 10px;
  }

  .brand-description {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.3;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-pages ul li {
    margin-bottom: 1px;
  }

  .footer-pages ul li a {
    font-size: 11px;
  }

  .social-icons {
    margin-top: 10px;
    gap: 6px;
  }

  .social-icons a {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .footer-bottom {
    padding-top: 10px;
  }

  .footer-bottom p {
    font-size: 10px;
    margin-bottom: 2px;
  }

}

/* iPhone and Small Mobile Height Optimizations */
@media (max-height: 500px) and (max-width: 480px) {
  .footer {
    padding: 12px 10px 8px;
  }

  .footer-content {
    gap: 12px;
    margin-bottom: 12px;
  }

  .footer-brand {
    margin-bottom: 8px;
  }

  .brand-description {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.2;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .footer-pages ul li {
    margin-bottom: 1px;
  }

  .footer-pages ul li a {
    font-size: 10px;
  }

  .social-icons {
    margin-top: 8px;
    gap: 5px;
  }

  .social-icons a {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .footer-bottom {
    padding-top: 8px;
  }

  .footer-bottom p {
    font-size: 9px;
    margin-bottom: 1px;
  }
}

@media (max-height: 400px) and (max-width: 480px) {
  .footer {
    padding: 10px 8px 6px;
  }

  .footer-content {
    gap: 10px;
    margin-bottom: 10px;
  }

  .footer-brand {
    margin-bottom: 6px;
  }

  .brand-description {
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 1.1;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .footer-pages ul li {
    margin-bottom: 0;
  }

  .footer-pages ul li a {
    font-size: 9px;
  }

  .social-icons {
    margin-top: 6px;
    gap: 4px;
  }

  .social-icons a {
    width: 24px;
    height: 24px;
    font-size: 10px;
  }

  .footer-bottom {
    padding-top: 6px;
  }

  .footer-bottom p {
    font-size: 8px;
    margin-bottom: 0;
  }
}

/* Ultra-small Mobile Height Optimizations */
@media (max-height: 350px) and (max-width: 375px) {
  .footer {
    padding: 8px 6px 4px;
  }

  .footer-content {
    gap: 8px;
    margin-bottom: 8px;
  }

  .footer-brand {
    margin-bottom: 4px;
  }

  .brand-description {
    margin-bottom: 6px;
    font-size: 9px;
    line-height: 1.0;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .footer-pages ul li a {
    font-size: 8px;
  }

  .social-icons {
    margin-top: 4px;
    gap: 3px;
  }

  .social-icons a {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }

  .footer-bottom {
    padding-top: 4px;
  }

  .footer-bottom p {
    font-size: 7px;
  }
}

/* Landscape Mobile Height Optimizations */
@media (max-height: 450px) and (orientation: landscape) {
  .footer {
    padding: 15px 20px 15px;
  }

  .footer-content {
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-brand {
    margin-bottom: 10px;
  }

  .brand-description {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.3;
    text-align: justify;
    text-justify: inter-word;
    word-spacing: 0.05em;
  }

  .footer-pages h3,
  .footer-blogs h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .footer-pages ul li a {
    font-size: 12px;
  }

  .social-icons {
    margin-top: 12px;
    gap: 8px;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .footer-bottom {
    padding-top: 12px;
  }

  .footer-bottom p {
    font-size: 11px;
  }
}

/* Ensure Footer is Always Accessible */
@media (max-height: 600px) {
  .footer {
    position: relative;
    bottom: auto;
    margin-top: 20px;
  }

  .footer-content {
    overflow: visible;
    height: auto;
    min-height: auto;
  }
}

/* Force Footer Visibility on Small Screens */
@media (max-width: 480px) {
  .footer {
    min-height: auto;
    height: auto;
    overflow: visible;
    position: relative;
    bottom: auto;
  }

  .footer-content {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  .footer-brand,
  .footer-pages,
  .footer-blogs {
    min-height: auto;
    height: auto;
    overflow: visible;
  }
}

/* Prevent Footer Content Cut-off */
@media (max-height: 500px) {
  body {
    padding-bottom: 0;
  }

  .footer {
    margin-bottom: 0;
    padding-bottom: 10px;
  }

  .footer-content {
    margin-bottom: 10px;
  }
}

/* Search Autocomplete Dropdown Styles */
.search-autocomplete-dropdown {
  position: absolute;
  top: 90%;
  left: 16px;
  right: 0;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 500px; /* Increased max height for more results */
  overflow-y: auto;
  display: none; /* Hidden by default */
  width: 96.6% !important;
  min-height: auto; /* Allow dynamic height based on content */
  /* Hidden by default */
  visibility: hidden;
  opacity: 0;
}

/* Show dropdown when it has content */
.search-autocomplete-dropdown:not(:empty),
.search-autocomplete-dropdown.has-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Default state - hidden */
.search-autocomplete-dropdown {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Force visible for styling purposes */
.search-autocomplete-dropdown[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
  height: auto !important;
  background: #ffffff !important;
  /* border: 2px solid #007bff !important; */
  z-index: 9999 !important;
  width: 96.6% !important;
  left: 16px !important;
  right: 0 !important;
  top: 100% !important;
}

/* Store navbar specific dropdown visibility */
.store-navbar .search-autocomplete-dropdown[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
  height: auto !important;
  background: #ffffff !important;
  /* border: 2px solid #007bff !important; */
  z-index: 9999 !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
}

/* Store Navbar Specific Styles */
.store-search-autocomplete-dropdown {
  position: absolute;
  top: 90%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 500px; /* Increased max height for more results */
  overflow-y: auto;
  display: none;
  width: 100%;
  min-height: auto; /* Allow dynamic height based on content */
  visibility: hidden;
  opacity: 0;
}

.store-search-autocomplete-dropdown.store-has-content {
  margin-top: 10px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.store-search-autocomplete-dropdown[style*="display: block"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: auto !important;
  height: auto !important;
  background: #ffffff !important;
  z-index: 9999 !important;
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
}

.store-autocomplete-results {
  padding: 0;
  margin: 0;
  list-style: none;
}

.store-autocomplete-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
}

.store-autocomplete-item:last-child {
  border-bottom: none;
}

.store-autocomplete-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-autocomplete-item.selected {
  background-color: #e3f2fd;
  border-left: 3px solid #1877F2;
}

.store-autocomplete-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
  border: 1px solid #e9ecef;
}

.store-autocomplete-item-content {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.store-autocomplete-item-name {
  font-weight: 500;
  color: #333;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

/* Center store name when no image is present */
.store-autocomplete-item.no-image .store-autocomplete-item-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.store-autocomplete-item-description {
  display: none;
}

.store-autocomplete-item-arrow {
  display: none;
}

/* Loading state for store navbar */
.store-autocomplete-loading {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.store-autocomplete-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid #e9ecef;
  border-top: 2px solid #1877F2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* No results state for store navbar */
.store-autocomplete-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  font-style: italic;
}

/* Responsive adjustments for store navbar dropdown */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .store-search-autocomplete-dropdown {
    max-height: 600px; /* Increased for more results */
    width: 100%;
  }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .store-search-autocomplete-dropdown {
    max-height: 500px; /* Increased for more results */
    width: 100%;
  }
}

/* Small screens (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .store-search-autocomplete-dropdown {
    max-height: 350px;
    width: 100%;
    left: 0;
    right: 0;
  }

  .store-autocomplete-item {
    padding: 12px 16px;
  }

  .store-autocomplete-item img {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }

  .store-autocomplete-item-name {
    font-size: 14px;
  }
}

/* Mobile screens (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .store-search-autocomplete-dropdown {
    max-height: 300px;
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 6px 6px;
  }

  .store-autocomplete-item {
    padding: 10px 12px;
    min-height: 50px;
  }

  .store-autocomplete-item img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }

  .store-autocomplete-item-name {
    font-size: 13px;
  }

  .store-autocomplete-item-description {
    font-size: 11px;
  }
}

/* Extra small screens (below 576px) */
@media (max-width: 575px) {
  .store-search-autocomplete-dropdown {
    max-height: 250px;
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .store-autocomplete-item {
    padding: 8px 10px;
    min-height: 45px;
  }

  .store-autocomplete-item img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
  }

  .store-autocomplete-item-name {
    font-size: 12px;
  }

  .store-autocomplete-item-description {
    font-size: 10px;
  }
}

/* Very small screens (below 400px) */
@media (max-width: 399px) {
  .store-search-autocomplete-dropdown {
    max-height: 200px;
    width: 100%;
    left: 0;
    right: 0;
  }

  .store-autocomplete-item {
    padding: 6px 8px;
    min-height: 40px;
  }

  .store-autocomplete-item img {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }

  .store-autocomplete-item-name {
    font-size: 11px;
  }
}

/* Disable hover/click effects for main clear button */
#clear-search-btn {
  transition: transform 0.15s ease !important;
  box-shadow: none !important;
}

#clear-search-btn .close-icon-btn {
  transition: none !important;
  box-shadow: none !important;
  color: #0d6efd !important;
}

#clear-search-btn:hover,
#clear-search-btn:active,
#clear-search-btn:focus {
  background: white !important;
  transform: translateY(-50%) scale(1.05) !important;
  box-shadow: none !important;
}

#clear-search-btn:hover .close-icon-btn,
#clear-search-btn:active .close-icon-btn,
#clear-search-btn:focus .close-icon-btn {
  color: #0d6efd !important;
  transform: none !important;
}

.store-search-input-container {
  position: relative !important;
  border-top-left-radius: 27px;
  border-bottom-left-radius: 27px;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.store-form-search-header,
.store-search-form-container {
  position: relative;
  overflow: visible;
}

/* Store Search Input Field - Match Home Page Styles */
.store-search-input-field {
  /* Base styling */
  background: #ffffff !important;
  border: 1px solid #e9ecef !important;
  border-right: none !important;
  border-radius: 16px 0 0 16px !important;
  outline: none !important;

  /* Typography */
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 500 !important;
  color: #495057 !important;

  /* Spacing and sizing - Made bigger */
  padding: 24px 32px !important;
  height: 80px !important;
  font-size: 18px !important;
  line-height: 1.5 !important;

  /* Visual effects - Clean, subtle shadow */
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.12) !important;

  /* Placeholder styling */
  &::placeholder {
    color: #6c757d !important;
    font-weight: 400 !important;
    opacity: 0.8 !important;
  }
}

/* Enhanced Focus State for store-search-input-field */
.store-search-input-field:focus {
  background: #ffffff !important;
  border-color: #1877F2 !important;
  color: #1a1a1a !important;

  /* Enhanced shadow and glow */
  box-shadow:
    0 0 0 3px rgba(24, 119, 242, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.08) !important;

  /* Enhanced placeholder on focus */
  &::placeholder {
    color: #1877F2 !important;
    opacity: 0.6 !important;
  }
}

.store-search-submit-btn {
  height: 56px !important;
  font-size: 15px !important;
  border-radius: 50px;
}
/* Responsive styles for store search input - Match home page */
@media (max-width: 768px) {
  .store-search-input-field {
    height: 50px !important;
    padding: 14px 20px !important;
    font-size: 15px !important;
    border-radius: 12px 0 0 12px !important;
  }

  #store-clear-search-btn {
    height: 32px !important;
    width: 32px !important;
  }
}

/* Store Clear Button Styling - Match Home Page */
#store-clear-search-btn {
  position: absolute;
  right: auto;
  left: calc(100% - 126px); /* Position relative to input group */
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  height: 30px !important;
  width: 30px;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #1877F2 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(24, 119, 242, 0.15);
}

#store-clear-search-btn:hover {
  background: #f8f9fa !important;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

#store-clear-search-btn .store-close-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #1877F2;
  font-size: 1.2rem;
}

#store-clear-search-btn:hover .store-close-icon-btn {
  color: #0d6efd;
}

/* Ensure proper positioning context for all search containers */
.form-search-header,
.search-form-container,
.search-input-container,
.input-group,
.store-form-search-header,
.store-search-form-container,
.store-search-input-container {
  position: relative;
  overflow: visible;
  /* Ensure no dashed borders */
  border: none !important;
  border-style: none !important;
}

/* Responsive search container adjustments */
@media (max-width: 767px) {
  .form-search-header,
  .search-form-container,
  .store-form-search-header,
  .store-search-form-container {
    padding: 1rem 0.5rem;
  }

  .search-input-container,
  .store-search-input-container {
    margin: 0;
  }
}

@media (max-width: 575px) {
  .form-search-header,
  .search-form-container,
  .store-form-search-header,
  .store-search-form-container {
    padding: 0.75rem 0.25rem;
  }
}

.autocomplete-results {
  padding: 0;
  margin: 0;
  list-style: none;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f8f9fa;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.autocomplete-item.selected {
  background-color: #e3f2fd;
  border-left: 3px solid #1877F2;
}

.autocomplete-item img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
  flex-shrink: 0;
  border: 1px solid #e9ecef;
}

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

.autocomplete-item-name {
  font-weight: 500;
  color: #333;
  margin: 0;
  font-size: 15px;
  line-height: 1.3;
}

/* Center store name when no image is present */
.autocomplete-item.no-image .autocomplete-item-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.autocomplete-item-description {
  display: none;
}

.autocomplete-item-arrow {
  display: none;
}

/* Loading state */
.autocomplete-loading {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loading-spinner {
  font-size: 24px;
  animation: spin 1s linear infinite;
}

.loading-text {
  font-weight: 500;
  color: #333;
}

/* No results state */
.autocomplete-no-results {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.no-results-icon {
  font-size: 32px;
  opacity: 0.6;
}

.no-results-text {
  font-weight: 600;
  color: #333;
  font-size: 16px;
}

.no-results-hint {
  font-size: 12px;
  color: #999;
  font-style: italic;
}

/* Loading animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Force visibility class - clean */
.force-visible {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Debug styles removed - dropdown should now display normally */

/* Responsive adjustments */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .search-autocomplete-dropdown {
    max-height: 600px; /* Increased for more results */
    width: 100%;
  }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
  .search-autocomplete-dropdown {
    max-height: 500px; /* Increased for more results */
    width: 100%;
  }
}

/* Small screens (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
  .search-autocomplete-dropdown {
    max-height: 350px;
    width: 95.6% !important;
    left: 16px;
    right: 0;
  }

  .search-autocomplete-dropdown[style*="display: block"] {
    width: 95.6% !important;
    left: 16px;
  }

  .autocomplete-item {
    padding: 12px 16px;
  }

  .autocomplete-item img {
    width: 36px;
    height: 36px;
    margin-right: 12px;
  }

  .autocomplete-item-name {
    font-size: 14px;
  }
}

/* Mobile screens (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
  .search-autocomplete-dropdown {
    max-height: 300px;
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 6px 6px;
  }

  .autocomplete-item {
    padding: 10px 12px;
    min-height: 50px;
  }

  .autocomplete-item img {
    width: 32px;
    height: 32px;
    margin-right: 10px;
  }

  .autocomplete-item-name {
    font-size: 13px;
  }

  .autocomplete-item-description {
    font-size: 11px;
  }
}

/* Extra small screens (below 576px) */
@media (max-width: 575px) {
  .search-autocomplete-dropdown {
    max-height: 250px;
    width: 92% !important;
    left: 15px;
    right: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .search-autocomplete-dropdown[style*="display: block"] {
    width: 92% !important;
    left: 15px;
  }

  .autocomplete-item {
    padding: 8px 10px;
    min-height: 45px;
  }

  .autocomplete-item img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
  }

  .autocomplete-item-name {
    font-size: 12px;
  }

  .autocomplete-item-description {
    font-size: 10px;
  }
}

/* Very small screens (below 400px) */
@media (max-width: 399px) {
  .search-autocomplete-dropdown {
    max-height: 200px;
    width: 90% !important;
    left: 15px;
    right: 0;
  }

  .search-autocomplete-dropdown[style*="display: block"] {
    width: 90% !important;
    left: 15px;
  }

  .autocomplete-item {
    padding: 6px 8px;
    min-height: 40px;
  }

  .autocomplete-item img {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }

  .autocomplete-item-name {
    font-size: 11px;
  }
}