/**
 * @file marketplace-item.css
 * @description Marketplace item detail page styles - hero with SVG wave,
 *   logo container, badges, info cards, functionality items, tags.
 *   Uses purple accent (--primary-color: #05A34A).
 * @page marketplace/*.html (standard item pages)
 */
    :root {
      --primary-color: #05A34A;
      --primary-dark: #048a3e;
      --secondary-color: #66D1D1;
      --text-dark: #1f2937;
      --text-light: #6b7280;
      --bg-light: #f8f9fa;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-dark);
    }

    .detail-hero {
      background: linear-gradient(135deg, #05A34A 0%, #66D1D1 100%);
      padding: 140px 0 80px;
      color: white;
      position: relative;
      overflow: hidden;
    }

    .detail-hero::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 1200 120"><path fill="rgba(255,255,255,0.05)" d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z"></path></svg>') bottom center no-repeat;
      background-size: cover;
      opacity: 0.6;
    }

    .logo-container {
      width: 180px;
      height: 180px;
      background: white;
      border-radius: 24px;
      padding: 2rem;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
      margin: 0 auto 2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      z-index: 1;
    }

    .logo-container img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }

    .badge-certified {
      display: inline-block;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      padding: 0.5rem 1.5rem;
      border-radius: 24px;
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .tag {
      display: inline-block;
      background: rgba(255, 255, 255, 0.2);
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
      margin: 0.25rem;
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .info-card {
      background: white;
      border-radius: 16px;
      padding: 2rem;
      border: 1px solid #e5e7eb;
      text-align: center;
      height: 100%;
      transition: all 0.3s ease;
    }

    .info-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.1);
      border-color: var(--primary-color);
    }

    .info-card-icon {
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 1rem;
      color: var(--primary-color);
    }

    .info-card-label {
      font-size: 0.875rem;
      color: var(--text-light);
      margin-bottom: 0.5rem;
    }

    .info-card-value {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-dark);
    }

    .functionality-item {
      background: white;
      padding: 1.5rem;
      border-radius: 12px;
      border-left: 4px solid var(--primary-color);
      margin-bottom: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .functionality-item p {
      margin: 0;
      color: var(--text-dark);
      line-height: 1.6;
    }

    .marketplace-card {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.3s ease;
      border: 1px solid #e5e7eb;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .marketplace-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.1);
      border-color: var(--primary-color);
    }

    .marketplace-card-image {
      height: 180px;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

    .marketplace-card-image img {
      max-width: 400px !important;
      max-height: 400px !important;
      width: auto !important;
      height: auto !important;
      object-fit: contain !important;
    }

    .marketplace-card-category {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(255, 255, 255, 0.95);
      padding: 0.25rem 0.75rem;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--primary-color);
    }

    .marketplace-card-body {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .marketplace-card-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-dark);
      min-height: 3rem;
      display: flex;
      align-items: center;
    }

    .marketplace-card-description {
      color: var(--text-light);
      font-size: 0.95rem;
      margin-bottom: 1rem;
      line-height: 1.5;
      min-height: 4.5rem;
    }

    .marketplace-badge {
      display: inline-block;
      padding: 0.25rem 0.75rem;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 600;
      background: rgba(37, 99, 235, 0.1);
      color: var(--primary-color);
    }

    @media (max-width: 767.98px) {
      .detail-hero {
        padding: 100px 0 60px;
      }

      .logo-container {
        width: 120px;
        height: 120px;
      }
    }
