.product-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 5px 0;
  }
  .product-card-rating i {
    color: #ffc107;
    font-size: 12px;
  }
  .product-card-rating .rating-count {
    color: #555;
    font-size: 12px;
    margin-left: 4px;
  }
  .card-product .list-product-btn .wishlist {
    display: inline-flex !important;
  }
  .card-wishlist-btn {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 8px;
    width: 36px;
    height: 36px;
  }
  @media (max-width: 767px) {
    .card-wishlist-btn {
      display: none !important;
    }
  }
/* --- Responsive Image Grid --- */
  #ws-isolated-widget {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  #ws-isolated-widget .ws-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }

  #ws-isolated-widget .ws-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
  }

  #ws-isolated-widget .ws-view-all {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    letter-spacing: 0.5px;
  }

  #ws-isolated-widget .ws-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  #ws-isolated-widget .ws-grid-item {
    position: relative;
    display: block;
    width: 100%;
    heigth: 455px;
    /* aspect-ratio: 2 / 3; */
    overflow: hidden;
    background-color: #f5f5f5;
  }

  /* Logic for the 5th item to span 2 columns */
  #ws-isolated-widget .ws-wide-item {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  #ws-isolated-widget .ws-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }

  #ws-isolated-widget .ws-grid-item:hover img {
    transform: scale(1.04);
  }

  #ws-isolated-widget .ws-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
  }

  #ws-isolated-widget .ws-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #ffffff;
    pointer-events: none;
    padding: 0 10px;
  }

  #ws-isolated-widget .ws-content h4 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: #fff;
  }

  #ws-isolated-widget .ws-content span {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  #ws-isolated-widget .ws-search-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9) url('/assets/images/Image_Search_Icon_2_11_04_25.svg') center/50% no-repeat;
    border-radius: 50%;
    border: none;
    z-index: 2;
  }

  /* Tablet - 2 columns */
  @media (max-width: 991px) {
    #ws-isolated-widget .ws-grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    #ws-isolated-widget .ws-wide-item {
      grid-column: span 2;
      aspect-ratio: 16 / 9;
    }

    /* #ws-isolated-widget .ws-grid-item {
    aspect-ratio: 3 / 4;
  } */
    #ws-isolated-widget .ws-content h4 {
      line-height: 20.4px;
    }
  }

  /* Mobile - 2 columns with smaller aspect ratio */
  @media (max-width: 576px) {
    #ws-isolated-widget .ws-grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }

    /* #ws-isolated-widget .ws-grid-item {
    aspect-ratio: 1 / 1.2;
  } */
    #ws-isolated-widget .ws-wide-item {
      grid-column: span 2;
      aspect-ratio: 16 / 9;
    }

    #ws-isolated-widget .ws-content {
      bottom: 12px;
      padding: 0 8px;
    }

    #ws-isolated-widget .ws-content h4 {
      font-size: 0.85rem;
      margin-bottom: 4px;
    }

    #ws-isolated-widget .ws-content span {
      font-size: 0.65rem;
    }

    #ws-isolated-widget .ws-title {
      font-size: 1rem;
    }
  }
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 5px 0;
  }

  .product-card-rating i {
    color: #ffc107;
    font-size: 12px;
  }

  .product-card-rating .rating-count {
    color: #555;
    font-size: 12px;
    margin-left: 4px;
  }

  .card-product .list-product-btn .wishlist {
    display: inline-flex !important;
  }