/* Container */
  .new-product-list-container {
    width: 100%;
    box-sizing: border-box;
    min-height: 100vh;
  }

  /* Grid */
  .new-product-list-grid {
    display: grid;
    grid-gap: 0px;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    width: 100%;
  }

  .new-product-list-image-wrapper > a{
    display: unset !important;
  }

  @media (min-width: 600px) {
    .new-product-list-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 992px) {
    .new-product-list-grid {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  /* Product Card */
  .new-product-list-product-card {
    background: #fff;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: box-shadow 0.25s ease;
    overflow: hidden;
    padding: 2.5px;
  }

  /* Image wrapper */
  .new-product-list-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* square */
    overflow: hidden;
    transition: 0.4s all;
    flex-shrink: 0;
  }
  .new-product-list-image-wrapper img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    padding: 3px;
    transform: translate(-50%, -50%);
    object-fit: contain;
    border-radius: 6px;
  }

  @media (min-width: 600px) {
    .new-product-list-image-wrapper img {
      border-radius: 12px;
    }
  }

  @media (min-width: 992px) {
    .new-product-list-image-wrapper img {
      border-radius: 12px;
    }
  }
  
  .new-product-list-image-wrapper:hover {
    scale: 1.05;
  }


  .top-brand__item{
    transition: 0.4s all !important;
    padding:5px;
  }
  .top-brand__item:hover{
    scale: 1.025 !important;
  }

  /* Content */
  .new-product-list-content {
    padding: 0px 6px 0px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    overflow: visible;
  }

  /* Tags Container +N Flex + scrollable tags wrapper */
  .new-product-list-tags-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0pc;
  }

  .new-product-list-tags-wrapper {
    overflow-x: auto;
    flex-grow: 1;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    scroll-behavior: smooth;
  }
  .new-product-list-tags-wrapper::-webkit-scrollbar {
    display: none;
  }
  .new-product-list-tags {
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
  }

  /* Visible tags - same style */
  .new-product-list-tag {
    font-size: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    background-color: #e3f3ff;
    color: #1a73e8;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    max-width: 100px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: background-color 0.2s ease;
  }
  .new-product-list-tag:hover,
  .new-product-list-tag a:hover {
    background-color: #c2dafb;
  }
  .new-product-list-tag a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* +N tag */
  .new-product-list-tag-expand {
    font-size: 10px;
    padding: 4px 9px;
    border-radius: 6px;
    background-color: #e3f3ff;
    color: #1a73e8;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    max-width: 100px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: background-color 0.2s ease;
  }


  /* Extended tags container */
  .new-product-list-tags-extended {
    margin-top: 6px;
    display: none;
    flex-wrap: wrap;
    gap: 6px;
    overflow: visible;
  }
  .new-product-list-tags-extended.new-product-list-tags-expanded-visible {
    display: flex !important;
  }
  .new-product-list-tags-extended .new-product-list-tag {
    max-width: none;
    white-space: normal;
    text-overflow: clip;
    padding: 4px 9px;
    background-color: #e3f3ff;
    border-radius: 6px;
    color: #1a73e8;
    cursor: pointer;
    user-select: none;
  }
  .new-product-list-tags-extended .new-product-list-tag a {
    white-space: normal;
    overflow: visible;
  }

  /* Product name */
  .new-product-list-name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    margin: 6px 0 0px;
    color: #222;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    text-overflow: ellipsis;
    cursor: pointer;
  }
  .new-product-list-name a {
    color: inherit;
    text-decoration: none;
  }
  .new-product-list-name a:hover {
    text-decoration: underline;
  }

  /* Category and Store with 6px radius */
  .new-product-list-category,
  .new-product-list-store,
  .new-product-list-discount-tag {
    font-size: 11px;
    margin: 2px 0 4px;
    padding: 3px 7px;
    border-radius: 6px;
    max-width: fit-content;
    cursor: pointer;
    white-space: nowrap;
  }
  .new-product-list-discount-tag {
    background-color: #f0f7ff;
    color: #2979ff;
  }
  .new-product-list-category,
  .new-product-list-store{
    background-color: #fff0e5;
    color: #0661e9;
  }
  .new-product-list-category a,
  .new-product-list-store a {
    color: inherit;
    text-decoration: none;
  }
  .new-product-list-category a:hover,
  .new-product-list-store a:hover {
    text-decoration: underline;
  }

  /* Discount tag */
  .new-product-list-discount-tag {
    background-color: #ffe6e6;
    color: #d32f2f;
    font-weight: 700;
    font-size: 11px;
    padding: 2px 8px;
    margin-top: 4px;
    user-select: none;
    white-space: nowrap;
  }

  /* Rating */
  .new-product-list-rating {
    font-size: 12px;
    color: #f5a623;
    margin: 6px 0 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    user-select: none;
  }

  /* Stars container with fixed width */
  .new-product-list-stars {
    position: relative;
    display: inline-block;
    width: 70px;  /* allow 5 stars * (14px + gap) */
    height: 14px;
    background: url('data:image/svg+xml;utf8,<svg fill="%23ddd" height="14" viewBox="0 0 20 20" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M10 15l-5.878 3.09 1.123-6.545L.49 6.91l6.572-.955L10 0l2.938 5.955 6.572.955-4.755 4.635 1.123 6.545z"/></svg>') repeat-x 0 0 / 14px 14px;
  }
  .new-product-list-stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    background: url('data:image/svg+xml;utf8,<svg fill="%23f5a623" height="14" viewBox="0 0 20 20" width="14" xmlns="http://www.w3.org/2000/svg"><path d="M10 15l-5.878 3.09 1.123-6.545L.49 6.91l6.572-.955L10 0l2.938 5.955 6.572.955-4.755 4.635 1.123 6.545z"/></svg>') repeat-x 0 0 / 14px 14px;
    pointer-events:none;
  }

  /* Price wrapper */
  .new-product-list-price-wrapper {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  /* Original price smaller */
  .new-product-list-price-original {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    line-height: 1;
  }

  /* Final price - bold red */
  .new-product-list-price-final {
    font-size: 18px;
    font-weight: 800;
    color: #d9534f;
    line-height: 1.2;
  }

  /* Loading */
  .new-product-list-loading {
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #666;
    user-select: none;
  }

  /* Hide scrollbar for tags scroll on Webkit */
  .new-product-list-tags-wrapper::-webkit-scrollbar {
    display: none;
  }