/* ==========================================================================
   Elevaan Network ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â Homepage sections
   (hero, categories, featured services)
   ========================================================================== */

/* ---- Hero ---- */
/* Same .container max-width as every other section (--container-max).
   Inner split keeps the design ratio: 427 : 772. */

   .hero {
    padding: 0 0 20px;
  }
  
  .hero-card {
    position: relative;
    display: flex;
    width: 100%;
    max-width: var(--container-max);
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    background: #002b80;
    border-radius: 0;
    overflow: hidden;
    overflow: hidden;
    color: #fff;
  }
  
  .hero-left {
    width: 35.583333%; /* 427 / 1200 */
    flex: 0 0 35.583333%;
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: #002b80;
    z-index: 2;
    box-sizing: border-box;
  }
  
  .hero-eyebrow {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
  }
  
  .hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
  }
  
  .hero-text {
    font-size: 18px;
    font-weight: 400;
    color: #d7e0f2;
    max-width: 320px;
    margin-top: 6px;
    line-height: 1.55;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: 14px;
    padding: 12px 22px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #0b1f4a;
    background: #fff;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  }

  .hero-cta:hover {
    background: #f3f6fb;
    color: #002b80;
    transform: translateY(-1px);
  }
  
  /* Right side = image slider only (64.416667% of 1200 ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â°ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Â ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¹ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â  772px) */
  .hero-right {
    position: relative;
    width: 64.416667%; /* 772 / 1200 */
    flex: 0 0 64.416667%;
    height: 380px;
    min-height: 380px;
    max-height: 380px;
    padding: 0;
    overflow: hidden;
  }
  
  .hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
    z-index: 1;
  }
  
  .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }
  
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  
  .hero-arrow {
    z-index: 6;
  }
  
  .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 6;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
  }
  
  .hero-dot.is-active {
    background: #fff;
    width: 22px;
    border-radius: 999px;
  }
  
  @media (max-width: 800px) {
    main:has(> .hero:first-child) {
      padding-top: 0;
    }

    .hero {
      padding-bottom: 16px;
    }

    .hero .container {
      padding-left: 0;
      padding-right: 0;
      max-width: none;
    }

    .hero-card {
      flex-direction: column;
      height: auto;
      min-height: 0;
      max-height: none;
      border-radius: 0;
      max-width: none;
    }

    .hero-left,
    .hero-right {
      width: 100%;
      flex: none;
    }

    .hero-left {
      height: auto;
      min-height: 0;
      max-height: none;
      padding: 32px 20px 28px;
      gap: 6px;
    }

    .hero-eyebrow {
      font-size: 24px;
      line-height: 1.25;
    }

    .hero-title {
      font-size: 30px;
      line-height: 1.2;
    }

    .hero-text {
      font-size: 15px;
      max-width: none;
      margin-top: 2px;
      line-height: 1.45;
    }

    .hero-cta {
      margin-top: 12px;
      padding: 9px 16px;
      font-size: 13px;
    }

    .hero-right {
      width: 100%;
      height: 200px;
      min-height: 200px;
      max-height: 200px;
    }

    .hero-dots {
      bottom: 10px;
    }
  }

  @media (max-width: 560px) {
    .hero {
      padding-bottom: 14px;
    }

    .hero-left {
      padding: 30px 16px 26px;
    }

    .hero-eyebrow {
      font-size: 24px;
    }

    .hero-title {
      font-size: 30px;
    }

    .hero-text {
      font-size: 15px;
    }

    .hero-cta {
      margin-top: 12px;
    }

    .hero-right {
      height: 170px;
      min-height: 170px;
      max-height: 170px;
    }

    .hero-arrow {
      width: 32px;
      height: 32px;
    }
  }
  
  /* ---- Categories ---- */
  /* Vertical cards: image, floating icon, 2-col service list, explore footer */

  .categories-section {
    padding-bottom: 38px; /* base 18px + 20px gap before Features Services */
  }

  /* Equal-width cards: 5 or 6 both fill the full container row */
  .categories-grid {
    display: flex;
    align-items: stretch;
    gap: 16px;
  }

  .categories-grid > .category-card {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }

  .category-card {
    --cat-accent: #2563eb;
    --cat-accent-soft: #eff6ff;
    --cat-accent-text: #1d4ed8;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .category-card--blue {
    --cat-accent: #2563eb;
    --cat-accent-soft: #eff6ff;
    --cat-accent-text: #1d4ed8;
  }

  .category-card--green {
    --cat-accent: #16a34a;
    --cat-accent-soft: #ecfdf3;
    --cat-accent-text: #15803d;
  }

  .category-card--purple {
    --cat-accent: #7c3aed;
    --cat-accent-soft: #f5f3ff;
    --cat-accent-text: #6d28d9;
  }

  .category-card--orange {
    --cat-accent: #ff6600;
    --cat-accent-soft: #fff7ed;
    --cat-accent-text: #ff6600;
  }

  .category-card--red {
    --cat-accent: #dc2626;
    --cat-accent-soft: #fef2f2;
    --cat-accent-text: #b91c1c;
  }

  .category-card--teal {
    --cat-accent: #0d9488;
    --cat-accent-soft: #f0fdfa;
    --cat-accent-text: #0f766e;
  }

  .category-card--rose {
    --cat-accent: #e11d48;
    --cat-accent-soft: #fff1f2;
    --cat-accent-text: #be123c;
  }

  .category-media {
    display: block;
    height: 110px;
    background: #e5e7eb;
  }

  a.category-media {
    cursor: pointer;
  }

  .category-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .category-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 14px 18px;
  }

  .category-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }

  .category-body h3 a {
    color: inherit;
  }

  .category-body h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .category-services {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    margin-bottom: 8px;
  }

  .category-services li a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    line-height: 18px;
  }

  .category-services li a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .category-footer {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .category-explore {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #2563eb;
    line-height: 18px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: border-bottom-color 0.3s ease;
  }

  .category-explore:hover {
    color: #2563eb;
    text-decoration: none;
    border-bottom-color: #ff6600;
  }

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

    .categories-grid > .category-card {
      width: auto;
      min-width: 0;
    }
  }

  @media (max-width: 800px) {
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
  }

  @media (max-width: 640px) {
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .category-media {
      height: 100px;
    }

    .category-body {
      padding: 12px 12px;
    }

    .category-body h3 {
      font-size: 15px;
    }
  }
  
  /* ---- Featured services ---- */

  .featured-section {
    padding-bottom: 38px; /* base 18px + 20px gap before RFQ */
  }

  .featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    row-gap: 30px;
  }

  .featured-grid .product-card.is-featured-hidden {
    display: none;
  }

  .featured-load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 28px auto 0;
    text-align: center;
  }

  .featured-load-more-wrap[hidden] {
    display: none !important;
  }

  .btn-featured-load-more {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 12px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: #2563eb;
    background: #fff;
    border: 1.5px solid #2563eb;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .btn-featured-load-more:hover {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #1d4ed8;
  }

  .search-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    row-gap: 28px;
  }

  .product-card {
    border: none;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    container-type: inline-size;
  }

  .product-thumb {
    position: relative;
    aspect-ratio: unset;
    height: calc(100cqw * 9 / 16 + 20px);
    background: #d0d7de;
    overflow: hidden;
    border-radius: 0;
  }

  .product-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
  }

  .product-thumb-fill {
    display: block;
    width: 100%;
    height: 100%;
  }

  .product-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .product-thumb-fill.slide-color-1,
  .product-thumb-slide.slide-color-1 {
    background: #d0d7de;
  }

  .product-thumb-fill.slide-color-2,
  .product-thumb-slide.slide-color-2 {
    background: #c5cdd8;
  }

  .product-thumb-fill.slide-color-3,
  .product-thumb-slide.slide-color-3 {
    background: #b8c0cc;
  }

  .product-thumb-track {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .product-thumb-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    will-change: transform;
  }

  .product-thumb-slide.is-active {
    transform: translate3d(0, 0, 0);
    z-index: 2;
  }

  .product-thumb-slide.is-left {
    transform: translate3d(-100%, 0, 0);
    z-index: 1;
  }

  .product-thumb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .product-thumb-slide {
      transition: none;
    }
  }

  .product-find-similar,
  .product-fav,
  .product-shipping,
  .product-stats,
  .product-origin,
  .product-actions {
    display: none;
  }

  /* Fiverr-style gig card image slider */
  .product-thumb .thumb-arrow {
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease,
      background-color 0.15s ease;
  }

  .product-thumb.has-slider:hover .thumb-arrow,
  .product-thumb.has-slider:focus-within .thumb-arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .product-thumb-dots {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    gap: 6px;
    z-index: 6;
    align-items: center;
    justify-content: center;
  }

  .product-thumb.has-slider .product-thumb-dots {
    display: flex;
  }

  .product-thumb-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
  }

  .product-thumb-dot.is-active {
    background: #fff;
    transform: scale(1.15);
  }

  .product-thumb.is-single-image .thumb-arrow,
  .product-thumb.is-single-image .product-thumb-dots {
    display: none !important;
  }

  @media (hover: none) {
    .product-thumb.has-slider .thumb-arrow {
      opacity: 1;
      pointer-events: auto;
    }
  }

  .product-info {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1;
  }

  .product-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: #222325;
    line-height: 1;
  }

  .product-seller:hover .product-seller-name-text {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .product-seller-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex: 0 0 24px;
    object-fit: cover;
    display: block;
    align-self: center;
    background: #404145
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")
      center / 60% no-repeat;
  }

  img.product-seller-avatar {
    background: #e8ecf2;
  }

  .product-seller-name {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    min-width: 0;
    max-width: 100%;
  }

  .product-seller-name-text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
  }

  .verified-badge {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    align-self: center;
  }

  .verified-badge--lg {
    width: 22px;
    height: 22px;
  }

  .product-info h3,
  .product-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: var(--color-card-title);
    margin: 0;
    padding: 0;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    text-align: left;
  }

  .product-title a {
    color: inherit;
    font-weight: inherit;
  }

  .product-title a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* Fiverr-style "From $15" → "From BDT 15" */
  .product-price {
    margin: 4px 0 0;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
    line-height: 22px;
    text-align: left;
    width: 100%;
  }

  .product-price .product-currency,
  .product-price .product-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    letter-spacing: inherit;
  }

  .product-price .product-amount {
    font-variant-numeric: tabular-nums;
  }

  .product-contact-link {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    line-height: 1.3;
    cursor: pointer;
    transition: border-bottom-color 0.3s ease;
  }

  .product-contact-link:hover {
    color: #2563eb;
    background: none;
    text-decoration: none;
    border-bottom-color: #ff6600;
  }

  @media (max-width: 1100px) {
    .featured-grid,
    .search-results-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (max-width: 750px) {
    .featured-grid,
    .search-results-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 560px) {
    .featured-grid,
    .search-results-grid {
      grid-template-columns: 1fr;
    }

    .featured-section .section-head {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .featured-section .section-head h2 {
      white-space: nowrap;
    }

    .categories-section .section-head {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .categories-section .section-head h2 {
      white-space: nowrap;
    }
  }

/* ---- Homepage RFQ banner (above footer) ---- */

.rfq-section {
  padding-bottom: 28px;
  scroll-margin-top: 96px;
}

.rfq-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  background: #002b80;
  border-radius: 0;
  padding: 36px 40px;
  color: #fff;
}

.rfq-copy {
  flex: 1;
  min-width: 0;
  max-width: 400px;
  margin-top: 50px;
}

.rfq-copy h2 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.rfq-copy p {
  font-size: 15px;
  color: #d7e0f2;
  margin: 0;
  line-height: 1.6;
}

.rfq-form {
  flex: 0 1 520px;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 8px;
}

.rfq-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rfq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.rfq-field--full {
  grid-column: 1 / -1;
}

.rfq-field-spacer {
  display: block;
  min-height: 0;
}

.rfq-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #c5d2ef;
}

.rfq-field input,
.rfq-field textarea {
  width: 100%;
  margin: 0;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #e8eefc;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  outline: none;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.rfq-field input::placeholder,
.rfq-field textarea::placeholder {
  color: rgba(200, 214, 240, 0.75);
}

.rfq-field input:focus,
.rfq-field textarea:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(180, 205, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(147, 180, 255, 0.22);
}

.rfq-field textarea {
  resize: none;
  min-height: 88px;
}

.rfq-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.rfq-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: 10px 70px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #0b1f4a;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.rfq-submit:hover:not(:disabled) {
  background: #f3f6fb;
  color: #002b80;
  transform: translateY(-1px);
}

.rfq-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.rfq-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  color: #a8b6d4;
}

.rfq-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  color: #b9c4de;
}

.rfq-status.is-success {
  color: #b8f0c8;
}

.rfq-status.is-error {
  color: #ffc9c4;
}

@media (max-width: 800px) {
  .rfq-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 28px 22px;
    gap: 22px;
  }

  .rfq-copy {
    max-width: none;
    margin-top: 0;
  }

  .rfq-form {
    flex: none;
    max-width: none;
    padding: 16px;
  }
}

@media (max-width: 520px) {
  .rfq-fields {
    grid-template-columns: 1fr;
  }

  .rfq-field-spacer {
    display: none;
  }

  .rfq-copy h2 {
    font-size: 22px;
  }
}

