  /* Modern Professional Styles for Tuy PureFlow Consumer Interface */

  :root {
    --primary-gradient: linear-gradient(135deg, #3FE0E8 0%, #3578C9 100%);
    --primary-blue: #3578C9;
    --primary-cyan: #3FE0E8;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f9fafb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  * {
    box-sizing: border-box;
  }

  body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-light);
  }

  /* Header Styles */
  .header-gradient {
    background: var(--primary-gradient) !important;
    box-shadow: var(--shadow-md) !important;
    border-bottom: none !important;
  }

  .header-gradient .brand-link {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
  }

  .header-gradient .brand-link:hover {
    transform: scale(1.05);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .header-gradient input[type="text"] {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    transition: all 0.3s ease !important;
    color: #1f2937 !important;
  }

  .header-gradient input[type="text"]:focus {
    background: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    outline: none !important;
  }

  .header-gradient button[type="submit"] {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
  }

  .header-gradient button[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  }

  /* Shop Cards */
  .shop-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-md) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .shop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-cyan);
  }

  .shop-card img {
    width: 100%;
    height: 200px;
    object-fit: contain !important;
    transition: transform 0.3s ease;
    background-color: transparent;
    padding: 0.25rem;
  }

  .shop-card:hover img {
    transform: scale(1.05);
  }

  .shop-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0.75rem 0 0.5rem;
    padding: 0 1rem;
  }

  .shop-card .location {
    color: var(--text-gray);
    font-size: 0.875rem;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
  }

  .shop-card .rating {
    color: #fbbf24;
    font-size: 0.875rem;
    padding: 0 1rem;
    margin-bottom: 1rem;
  }

  .shop-card .view-button {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    margin: 1rem !important;
    margin-top: auto !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 6px rgba(53, 120, 201, 0.3) !important;
    text-decoration: none !important;
    display: block !important;
  }

  .shop-card .view-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(53, 120, 201, 0.4);
  }

  /* Buttons */
  .btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(53, 120, 201, 0.3);
  }

  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(53, 120, 201, 0.4);
  }

  .btn-secondary {
    background: #ffffff;
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-secondary:hover {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateY(-2px);
  }

  /* Filter Tabs */
  .filter-tabs {
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
  }

  .filter-tabs button {
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .filter-tabs button.active {
    background: var(--primary-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(53, 120, 201, 0.3) !important;
  }

  .filter-tabs button:not(.active) {
    background: #f3f4f6;
    color: var(--text-gray);
  }

  .filter-tabs button:not(.active):hover {
    background: #e5e7eb;
    color: var(--text-dark);
  }

  /* Cards */
  .card {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    box-shadow: var(--shadow-md) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
  }

  .card:hover {
    box-shadow: var(--shadow-lg);
  }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  /* Form Elements */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
  }

/* Override for quantity input - compact size, ensure number is visible */
input[name="qty"],
input#qty1,
input[id^="qty"] {
  width: 5rem !important;
  max-width: 5rem !important;
  min-width: 5rem !important;
  height: 1.5rem !important;
  padding: 0.125rem 0.375rem !important;
  font-size: 0.75rem !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

  input:focus,
  select:focus,
  textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(63, 224, 232, 0.1);
  }

  /* Badges */
  .badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .badge-success {
    background: #dcfce7;
    color: #166534;
  }

  .badge-warning {
    background: #fef3c7;
    color: #92400e;
  }

  .badge-danger {
    background: #fee2e2;
    color: #991b1b;
  }

  .badge-info {
    background: #dbeafe;
    color: #1e40af;
  }

  /* Footer */
  footer {
    background: var(--text-dark);
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
  }

  /* Scrollbar Hide */
  .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }

  /* Line Clamp */
  .line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .shop-card {
      margin-bottom: 1rem;
    }
    
    h1 {
      font-size: 1.875rem;
    }
    
    h2 {
      font-size: 1.5rem;
    }
    
    .header-gradient .container {
      flex-direction: column;
    }
    
    .header-gradient form {
      width: 100%;
      max-width: 100%;
      margin: 0.5rem 0;
    }
  }

  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    animation: fadeIn 0.5s ease-out;
  }

  /* Utility Classes */
  .text-gradient {
    background: var(--primary-gradient) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
  }

  .shadow-custom {
    box-shadow: var(--shadow-lg);
  }

  .rounded-custom {
    border-radius: 16px;
  }
