
    :root {
      --primary: #2f2f2f;
      --primarHamburgery-light: #6b8cbc;
      --primary-dark: #3a5a8a;
      --secondary: #f8f9fa;
      --text: #333;
      --text-light: #666;
      --white: #fff;
      --success: #28a745;
      --danger: #dc3545;
      --warning: #ffc107;
      --info: #17a2b8;
      --shadow: 0 4px 12px rgba(0,0,0,0.1);
      --radius: 8px;
      --transition: all 0.3s ease;
    }


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
      background-color: var(--secondary);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body::after {
  content: none !important;
}


    /* Header Styles */
    header {
      background-color: var(--primary);
      color: var(--white);
      padding: 1rem 0;
      box-shadow: var(--shadow);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

/* Navbar grid layout for desktop */
.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  position: relative;
  width: 100%;
  gap: 2rem;
}

 /* Logo should align to the left */
.logo {
 display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 11;
  justify-self: start; /* Align to left */
}

    .site-logo {
      height: 105px;
      width: auto;
      cursor: pointer;
      border-radius: 50%;
      margin-right: 8px;
    }

    .logo-text {
      font-size: 18px;
      font-weight: 500;
      color: white;
    }

    /* Hamburger menu styles */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      background: transparent;
      border: none;
      cursor: pointer;
      padding: 0;
      z-index: 10;
    }
    
    .hamburger span {
      width: 30px;
      height: 3px;
      background: white;
      border-radius: 10px;
      transition: all 0.3s linear;
      position: relative;
      transform-origin: 1px;
    }
    
    /* Nav links should align to the right */
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
  justify-self: end; /* Align to right */
}
    
    .nav-links a {
      color: var(--white);
      text-decoration: none;
      font-weight: 500;
      padding: 0.5rem 0;
      border-bottom: 2px solid transparent;
      transition: var(--transition);
    }
    
    .nav-links a:hover {
      border-bottom: 2px solid var(--white);
    }
    
    

    /* Mobile Styles - Show all elements properly */
@media (max-width: 768px) {
  .navbar {
    grid-template-columns: auto 1fr auto; /* Logo - Search - Hamburger */
    gap: 1rem;
    align-items: center;
  }
  
  .hamburger {
    display: flex;
    justify-self: end;
  }
  
  .logo {
    justify-self: start;
  }
  
  /* Mobile menu styles */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: var(--primary);
    flex-direction: column;
    padding: 80px 20px 20px;
    transform: translateX(100%);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 9;
    transition: transform 0.3s ease-in-out;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .close-menu {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
}


/* Search Container - Single Search Bar */
.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 8px 16px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
}

.search-input-wrapper:focus-within {
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-bar {
  border: none;
  background: none;
  outline: none;
  padding: 8px 0;
  width: 100%;
  font-size: 0.95rem;
  color: #333;
  flex: 1;
}

.search-bar::placeholder {
  color: #6c757d;
}

.search-btn {
  background: none;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 6px;
  transition: color 0.3s ease;
  margin-left: 8px;
}

.search-btn:hover {
  color: #007bff;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .search-input-wrapper {
    max-width: 300px;
    padding: 6px 12px;
  }
  
  .search-bar {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .search-input-wrapper {
    max-width: 250px;
  }
}
    
       /* Close button for mobile menu */
    .close-menu {
      display: none;
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      color: white;
      font-size: 1.5rem;
      cursor: pointer;
      z-index: 10;
    }
    
    @media (max-width: 768px) {
      .close-menu {
        display: block;
      }
    }
    
    /* Overlay for mobile menu */
    .overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 8;
    }
    
    .overlay.active {
      display: block;
    }

  
    /* Hero Section */
    .hero {
      background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                  url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
      background-size: cover;
      background-position: center;
      color: var(--white);
      padding: 5rem 0;
      text-align: center;
      
    }

    .hero-content {
      max-width: 800px;
      margin: 0 auto;
    }

    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      
    }

    .hero p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
    }

    .btn {
      display: inline-block;
      background-color: var(--primary-dark);
      color: var(--white);
      border: none;
      padding: 0.8rem 1.8rem;
      border-radius: var(--radius);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: var(--transition);
      text-decoration: none;
    }

    .btn:hover {
      background-color: var(--primary);
      transform: translateY(-2px);
    }

    .btn-outline {
      background-color: transparent;
      border: 2px solid var(--white);
      margin-left: 1rem;
    }

    .btn-outline:hover {
      background-color: rgba(255,255,255,0.1);
    }

    .btn-danger {
      background-color: var(--danger);
    }

    .btn-danger:hover {
      background-color: #c82333;
    }

    .btn-warning {
      background-color: var(--warning);
      color: var(--text);
    }

    .btn-warning:hover {
      background-color: #e0a800;
    }

    /* Main Content */
    .main {
      padding: 3rem 0;
    }

    .section-title {
      text-align: center;
      margin-bottom: 2rem;
      position: relative;
    }

    .section-title:after {
      content: '';
      display: block;
      width: 80px;
      height: 4px;
      background-color: var(--primary);
      margin: 1rem auto 0;
    }

    /* Auth Forms */
    .auth-container {
      background-color: var(--white);
      max-width: 500px;
      margin: 2rem auto;
      padding: 2rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .auth-container h2 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: var(--primary);
    }

    .form-group {
      margin-bottom: 1.5rem;
    }

    .form-group label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 600;
    }

    .form-control {
      width: 100%;
      padding: 0.8rem;
      border: 1px solid #ddd;
      border-radius: var(--radius);
      font-size: 1rem;
      transition: var(--transition);
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
    }

    .auth-toggle {
      text-align: center;
      margin-top: 1.5rem;
      color: var(--text-light);
    }

    .auth-toggle a {
      color: var(--primary);
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
    }

    .auth-toggle a:hover {
      text-decoration: underline;
    }

    /* Upload Section */
    .upload-section {
      background-color: var(--white);
      padding: 2rem;
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      margin-bottom: 3rem;
    }

    /* Profile Picture Upload */
    .profile-picture-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .profile-picture-preview {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background-color: #eee;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      margin-bottom: 1rem;
      position: relative;
    }

    .profile-picture-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .profile-picture-preview .initials {
      font-size: 2rem;
      color: var(--text-light);
    }

    .profile-picture-upload {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .profile-picture-upload input[type="file"] {
      display: none;
    }

    .profile-picture-upload label {
      cursor: pointer;
      padding: 0.5rem 1rem;
      background-color: var(--primary);
      color: white;
      border-radius: var(--radius);
      transition: var(--transition);
    }

    .profile-picture-upload label:hover {
      background-color: var(--primary-dark);
    }

    /* Image Upload */
    .image-upload-container {
      margin-bottom: 1.5rem;
    }

    .image-preview-container {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 1rem;
    }

    .image-preview {
      width: 100px;
      height: 100px;
      border-radius: var(--radius);
      background-color: #eee;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    .image-preview img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .image-preview .remove-image {
      position: absolute;
      top: 5px;
      right: 5px;
      background-color: var(--danger);
      color: white;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 12px;
    }

    /* Social Media Inputs */
.social-media-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-input i {
  font-size: 1.2rem;
  width: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Facebook - Blue */
.social-input .fa-facebook {
  color: #1877f2;
}

.social-input:hover .fa-facebook {
  color: #166fe5;
  transform: scale(1.1);
}

/* Instagram - Gradient */
.social-input .fa-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-input:hover .fa-instagram {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* WhatsApp - Green */
.social-input .fa-whatsapp {
  color: #25d366;
}

.social-input:hover .fa-whatsapp {
  color: #128c7e;
  transform: scale(1.1);
}

/* TikTok - Black */
.social-input .fa-tiktok {
  color: #000000;
}

.social-input:hover .fa-tiktok {
  color: #333333;
  transform: scale(1.1);
}

    /* Currency Selector */
    .currency-selector {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1rem;
    }

    .currency-flag {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      object-fit: cover;
    }

  
   /* Product Card Styles */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
/* Product Card Styles */
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid #b1ccf0; /* Light border for better separation */
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* For mobile screens where cards are closer together */
@media (max-width: 768px) {
  .product-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
    border: 1px solid #e1e8ed; /* Slightly darker border for better visibility */
  }
  
  .product-card:hover {
    transform: translateY(-2px); /* Smaller hover effect on mobile */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
}

/* For very small screens */
@media (max-width: 480px) {
  .product-card {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e8ed;
    margin-bottom: 1rem;
  }
}


.product-image-container {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.no-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  font-size: 1rem;
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #2d3748;
  line-height: 1.4;
}

.product-description {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Product Card Social Media Icons with Brand Colors */
.product-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.product-social .social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.1rem;
  text-decoration: none;
}

/* Facebook - Blue */
.product-social .social-icon[data-platform="facebook"] {
  background: #1877f2;
}

.product-social .social-icon[data-platform="facebook"]:hover {
  background: #166fe5;
  transform: translateY(-3px);
}

/* Instagram - Gradient */
.product-social .social-icon[data-platform="instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.product-social .social-icon[data-platform="instagram"]:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* WhatsApp - Green */
.product-social .social-icon[data-platform="whatsapp"] {
  background: #25d366;
}

.product-social .social-icon[data-platform="whatsapp"]:hover {
  background: #128c7e;
  transform: translateY(-3px);
}

/* TikTok - Black */
.product-social .social-icon[data-platform="tiktok"] {
  background: #000000;
}

.product-social .social-icon[data-platform="tiktok"]:hover {
  background: #333333;
  transform: translateY(-3px);
}

/* Fix for edit form description textarea */
#edit-product-description.form-control {
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: horizontal !important;
  overflow: auto !important;
  min-height: 120px;
  resize: vertical;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
  max-height: none;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
}

.product-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: #718096;
  margin-left: 0.5rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #edf2f7;
}

.seller-info {
  display: flex;
  align-items: center;
}

.seller-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-name {
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 500;
}

.product-date {
  font-size: 0.85rem;
  color: #a0aec0;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.product-actions .btn {
  flex: 1;
  padding: 0.75rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Rating Stars */
.product-rating {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.product-rating .stars {
  color: #f6ad55;
  margin-right: 0.5rem;
}

.product-rating .count {
  font-size: 0.85rem;
  color: #718096;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .product-image-container {
    height: 180px;
  }
  
  .product-content {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .product-actions .btn {
    width: 100%;
  }
}

    /* Footer */
    footer {
      background-color: var(--primary);
      color: var(--white);
      padding: 2rem 0;
      margin-top: 3rem;
    }

    .footer-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .footer-links {
      display: flex;
      gap: 1.5rem;
    }

    .footer-links a {
      color: var(--white);
      text-decoration: none;
      transition: var(--transition);
    }

    .footer-links a:hover {
      text-decoration: underline;
    }

    /* Toast notifications */
    .toast {
      position: fixed;
      bottom: 20px;
      right: 20px;
      padding: 12px 24px;
      border-radius: var(--radius);
      background-color: var(--primary);
      color: white;
      box-shadow: var(--shadow);
      z-index: 1000;
      transform: translateY(100px);
      opacity: 0;
      transition: all 0.3s ease;
    }

    .toast.show {
      transform: translateY(0);
      opacity: 1;
    }

    .toast.fade-out {
      opacity: 0;
      transform: translateY(-20px);
    }

    .toast.success {
      background-color: var(--success);
    }

    .toast.error {
      background-color: var(--danger);
    }

    .toast.info {
      background-color: var(--info);
    }

    .toast.warning {
      background-color: var(--warning);
      color: var(--text);
    }

    /* Loading states */
    .btn.loading {
      position: relative;
      pointer-events: none;
    }

    .btn.loading:after {
      content: "";
      position: absolute;
      width: 16px;
      height: 16px;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      margin: auto;
      border: 4px solid transparent;
      border-top-color: #ffffff;
      border-radius: 50%;
      animation: button-loading-spinner 1s ease infinite;
    }

    .btn-warning.loading:after {
      border-top-color: var(--text);
    }

    @keyframes button-loading-spinner {
      from {
        transform: rotate(0turn);
      }
      to {
        transform: rotate(1turn);
      }
    }

    /* Edit Modal */
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }

    .modal.show {
      display: flex;
    }

    .modal-content {
      background-color: white;
      padding: 2rem;
      border-radius: var(--radius);
      width: 100%;
      max-width: 600px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: var(--shadow);
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.5rem;
    }

    .modal-title {
      font-size: 1.5rem;
      color: var(--primary);
    }

    .close-modal {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-light);
    }

    .modal-footer {
      display: flex;
      justify-content: flex-end;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    /* Utility Classes */
    .hidden {
      display: none !important;
    }

    .text-center {
      text-align: center;
    }

    .mt-1 { margin-top: 0.5rem; }
    .mt-2 { margin-top: 1rem; }
    .mt-3 { margin-top: 1.5rem; }
    .mt-4 { margin-top: 2rem; }

    /* Responsive Design */
    @media (max-width: 768px) {
      .navbar {
        flex-direction: column;
        gap: 1rem;
      }

      .nav-links {
        gap: 1rem;
      }

      .search-container {
        margin: 1rem 0;
        width: 100%;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .hero p {
        font-size: 1rem;
      }

      .btn {
        padding: 0.6rem 1.2rem;
      }

      .product-grid {
        grid-template-columns: 1fr;
      }

      .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
      }

      .product-actions {
        flex-direction: column;
      }

      .social-media-group {
        grid-template-columns: 1fr;
      }
    }



    /* Enhanced Product Card Styles */
.product-card {
  width: 100%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(134, 166, 234, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Seller Profile Section */
.seller-profile {
  display: flex;
  align-items: center;
  padding: 15px;
  background: linear-gradient(to right, #f8f9fa, #e9ecef);
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.seller-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.seller-avatar:hover {
  transform: scale(1.1);
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-info {
  margin-left: 15px;
}

.seller-name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.seller-location {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.seller-location i {
  margin-right: 5px;
  font-size: 12px;
}

.upload-time {
  color: #888;
  font-size: 12px;
  margin-left: 5px;
}

/* Product Images */
.product-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
  background: #f5f5f5;
}

.product-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s;
}

.product-image:hover {
  opacity: 0.9;
}

/* Main image takes full width */
.product-image:first-child {
  grid-column: span 2;
  height: 200px;
}

.no-image {
  grid-column: span 2;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

/* Product Details */
.product-details {
  padding: 15px;
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.product-description {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

/* Contact Section */
.product-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.contact-btn:hover {
  background: var(--primary-dark);
}

.contact-number {
  font-size: 14px;
  color: var(--text-light);
}

/* Social Media */
.product-social {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Product Actions (for user's own listings) */
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

/* Upload Form Styles */
.upload-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.avatar-section {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px dashed #aaa;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.avatar-preview:hover {
  border-color: var(--primary);
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-preview i {
  font-size: 40px;
  color: var(--text-light);
}

.image-upload-instructions {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.image-preview-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}

.image-preview {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  background: #eee;
  position: relative;
  overflow: hidden;
  border: 1px dashed #aaa;
  transition: var(--transition);
}

.image-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-image {
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--danger);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  opacity: 0;
  transition: var(--transition);
}

.image-preview:hover .remove-image {
  opacity: 1;
}

.social-media-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.social-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-input i {
  font-size: 20px;
  color: var(--text-light);
  width: 30px;
  text-align: center;
}

.location-group {
  display: flex;
  gap: 15px;
}

.location-group select {
  flex: 1;
}

.price-container {
  position: relative;
}

.price-container::before {
  content: "ZAR";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-weight: 600;
}

#product-price {
  padding-left: 50px;
}

.submit-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px;
  font-size: 16px;
}

.success-message {
  display: none;
  background: var(--success);
  color: white;
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .upload-container {
    padding: 20px;
  }
  
  .avatar-section {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .social-media-group {
    grid-template-columns: 1fr;
  }
  
  .location-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* Gallery Modal Styles */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.gallery-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-gallery {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--danger);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2001;
}

.close-gallery:hover {
  background: #c82333;
}


/* Loading state */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* No results state */
.no-results {
  text-align: center;
  padding: 3rem;
  color: #666;
}

.no-results i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 1rem;
}

.no-results p {
  font-size: 1.2rem;
}

/* Error state */
.error {
  color: #e74c3c;
  text-align: center;
  padding: 2rem;
}


/* Reset Modal */
#reset-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#reset-modal .modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

#reset-modal .close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.auth-links {
  text-align: center;
  margin-top: 1rem;
}

.auth-links a {
  color: #3498db;
  text-decoration: none;
}


.image-preview-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.image-preview {
  position: relative;
  height: 100px;
  border: 1px dashed #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hidden {
  display: none;
}

/* Enhanced Gallery Styles with Zoom Controls */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
  touch-action: none; /* Important for zoom gestures */
}

.gallery-image-container {
  width: 80vmin;
  height: 70vmin;
  max-width: 800px;
  max-height: 600px;
  min-width: 300px;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
}

.gallery-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: grab;
}

.gallery-image:active {
  cursor: grabbing;
}

.gallery-image.zoomed {
  cursor: grab;
}

.close-gallery {
  position: absolute;
  top: 25px;
  right: 25px;
  background: var(--danger);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-gallery:hover {
  background: #c82333;
  transform: scale(1.1);
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 25px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  margin-top: 20px;
}

.gallery-prev, .gallery-next {
  background: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-prev:hover, .gallery-next:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* Zoom Controls */
.gallery-zoom-controls {
  display: flex;
  gap: 10px;
  margin-left: 15px;
}

.gallery-zoom-in, .gallery-zoom-out, .gallery-reset {
  background: var(--primary-light);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-zoom-in:hover, .gallery-zoom-out:hover, .gallery-reset:hover {
  background: var(--primary);
  transform: scale(1.1);
}

.gallery-counter {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  min-width: 90px;
  text-align: center;
}

/* Zoom level indicator */
.zoom-level {
  color: white;
  font-size: 0.9rem;
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 15px;
  display: none;
}

.gallery-image-container:hover .zoom-level {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-zoom-controls {
    position: absolute;
    bottom: 80px;
    right: 20px;
    flex-direction: column;
  }
  
  .gallery-controls {
    padding: 12px 20px;
  }
}

/* Double-tap zoom hint for mobile */
.gallery-tap-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 15px;
  display: none;
}

@media (max-width: 768px) {
  .gallery-tap-hint {
    display: block;
  }
}

/* ====== General Page Styling (About, Terms, Privacy, Contact) ====== */
.page-content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-content h1 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.2rem;
  text-align: center;
}

.page-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.page-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.page-content ul li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #444;
}



/* ====== Contact Form Styling ====== */
.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6b8cbc;
  outline: none;
}

.contact-form button {
  padding: 0.9rem;
  background: #6b8cbc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #56739a;
}

/* Add to your existing CSS */
.hidden {
  display: none !important;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
  border: 1px solid #c3e6cb;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
  border: 1px solid #f5c6cb;
}


/* Spinner for loading state */
/* Add these styles to your existing style.css */

/* Loading spinner */
/* Loading spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* For dark backgrounds (like your contact form button) */
.btn .loading-spinner {
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
}

/* For light backgrounds */
.btn-outline .loading-spinner {
  border: 3px solid rgba(0,0,0,.1);
  border-top-color: #333;
}

/* Form validation */
.form-field-error {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

/* Honeypot field */
.honeypot {
  position: absolute;
  left: -9999px;
}

/* Admin panel */
.admin-panel {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 30px;
}

.message-list {
  max-height: 400px;
  overflow-y: auto;
}

.message-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.message-item:last-child {
  border-bottom: none;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.message-email {
  font-weight: bold;
  color: #4a6fa5;
}

.message-date {
  color: #666;
  font-size: 0.9rem;
}

.message-content {
  color: #333;
  line-height: 1.5;
}

.unread {
  background-color: #f8f9fa;
  padding: 15px;
  margin: -15px;
  border-left: 4px solid #4a6fa5;
}

/* Success and error icons */
.success-message i,
.error-message i {
  margin-right: 8px;
}


/* Message Actions */
.message-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.btn-small {
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
}

/* Message Items */
.message-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.message-item.unread {
  background-color: #f8f9fa;
  border-left: 4px solid #4a6fa5;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: bold;
}

.message-date {
  color: #666;
  font-size: 0.9rem;
}



/* Footer Social Links */
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1877f2; /* Facebook blue */
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid #1877f2;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.facebook-link:hover {
  background-color: #1877f2;
  color: white;
}

.social-footer {
  text-align: center;
  margin: 15px 0;
}

.social-footer p {
  margin-bottom: 10px;
  color: #666;
}

/* If you used the separate section layout */
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}



/* Mobile-specific image upload styles */
@media (max-width: 768px) {
  .image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }
  
  .image-preview {
    width: 80px;
    height: 80px;
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
  }
  
  /* Make file inputs more touch-friendly */
  input[type="file"] {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn {
    min-height: 44px; /* Minimum touch target size */
    padding: 12px 20px;
  }
}

.mobile-upload-hint {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
  font-size: 14px;
  color: #856404;
  display: none;
}

.mobile-upload-hint i {
  color: #856404;
  margin-right: 5px;
}

.upload-progress {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 20px 30px;
  border-radius: 10px;
  z-index: 10000;
  font-weight: bold;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  text-align: center;
  min-width: 200px;
}

/* Add a spinner */
.upload-progress:after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* ====== Quote Generator Styles ====== */    
.quote-generator {
  background: linear-gradient(135deg, #8080e4 0%, #7a50a4 100%);
  color: white;
  padding: 3rem 2rem;
  margin: 2rem auto;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  width: 90%;
  max-width: 800px;
  
  /* Force centering */
  display: block;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
  left: 0;
  right: 0;
}

@media (min-width: 768px) {
  .quote-generator {
    width: 70%;
  }
}

.quote-content {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.quote-author {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

.quote-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
   margin-bottom: 2rem;
   margin-top: 2.5rem;
}

.quote-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.quote-btn:active {
  transform: translateY(0);
}

/* Mobile-first approach for quote generator */
@media (max-width: 768px) {
  .quote-generator {
    padding: 1.5rem 1rem;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
  }
  
  .quote-content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  /* Move the button to the top */
  .quote-btn {
    order: -1;
    margin-bottom: 1.5rem;
    margin-top: 0;
    align-self: center;
  }
  
  /* Keep quote text in the middle */
  .quote-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    order: 0;
  }
  
  .quote-author {
    order: 1;
    margin-bottom: 1rem;
  }
  
  /* Move engagement to bottom */
  .quote-engagement {
    order: 2;
    margin: 0.5rem 0;
    padding: 0.8rem;
    flex-direction: row;
    justify-content: center;
  }
  
  /* Move share buttons to very bottom */
  .quote-share {
    order: 3;
    margin: 0.5rem 0 0 0;
  }
  
  /* Ensure proper spacing */
  .like-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .engagement-text {
    font-size: 0.8rem;
  }
}

/* Additional touch improvements for mobile */
@media (max-width: 480px) {
  .quote-btn {
    min-height: 44px; /* Minimum touch target size */
    padding: 12px 24px;
  }
  
  .share-btn {
    width: 44px;
    height: 44px;
  }
  
  .like-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Animation for quote changes */
.quote-fade {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .quote-generator {
    padding: 2rem 1rem;
    margin: 1.5rem 0;
  }
  
  .quote-text {
    font-size: 1.2rem;
  }
  
  .quote-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

.quote-title {
  text-align: center;
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  display: block;
  width: 100%;
}

.quote-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 50%;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

/* Share Buttons Styles */
.quote-share {
  margin: 1.5rem 0 0 0;
  text-align: center;
}

.share-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.share-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.share-btn {
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.share-btn:active {
  transform: translateY(-1px);
}

/* Social Media Brand Colors */
.share-btn.twitter { background: #1DA1F2; }
.share-btn.twitter:hover { background: #0d8bd9; }

.share-btn.facebook { background: #4267B2; }
.share-btn.facebook:hover { background: #365899; }

.share-btn.whatsapp { background: #25D366; }
.share-btn.whatsapp:hover { background: #20bd5c; }

/* Mobile responsive */
@media (max-width: 768px) {
  .share-buttons {
    gap: 0.6rem;
  }
  
  .share-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Quote Engagement Styles */
.quote-engagement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.like-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.like-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.like-btn.liked {
  background: #e74c3c;
  border-color: #e74c3c;
  color: white;
}

.like-btn.liked i {
  color: white;
}

.like-count {
  font-weight: 700;
  font-size: 1rem;
}

.engagement-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Animation for like */
@keyframes heartBeat {
  0% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.like-btn.liked i {
  animation: heartBeat 0.6s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .quote-engagement {
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.8rem;
  }
  
  .like-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

/* Product Engagement Styles */
.product-engagement {
  margin: 10px 0;
  padding: 10px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.engagement-stats {
  display: flex;
  gap: 20px;
  align-items: center;
}

.stat {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f8f9fa;
}

.stat:hover {
  background: #e9ecef;
  transform: translateY(-1px);
}

.likes-stat {
  cursor: pointer;
}

.likes-stat.liked {
  color: #e74c3c;
}

.likes-stat.liked .fa-heart {
  color: #e74c3c;
  animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.views-stat {
  cursor: default;
}

/* Enhanced product card with engagement */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Stats for user's own products */
.user-product-stats {
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 8px;
  margin: 10px 0;
}

.stat-high {
  color: #27ae60;
  font-weight: bold;
}

.stat-medium {
  color: #f39c12;
  font-weight: bold;
}

.stat-low {
  color: #e74c3c;
  font-weight: bold;
}

.hidden {
  display: none !important;
}