﻿.best-categoriesOne {
  .cat-name {
    color: #979797;
    font-size: 0.8rem;
  }

  .NameProduct {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .side {
    border-left: 1px solid #fff;

    strong {
      white-space: nowrap;
    }
  }

  @media (min-width: 992px) {
    .side {
      strong {
        font-size: 30px;
      }
    }
  }

  .cat-box {
    display: none;
    height: 100%;
    padding: 2rem 0;
    margin-left: 0.5rem;
    border-radius: 0.92rem;
    background-color: var(--accent-color);

    svg {
      max-width: 100%;
      max-height: 100%;
      margin: auto;
      display: block;
    }

    .link {
      font-size: 1rem;
      color: white;

      svg {
        stroke: white;
        width: 7px;
        margin-right: 0.5rem;
      }
    }
  }

  .slider_box {
    width: 100%;
    border-radius: 0.9rem;
    overflow: hidden;

    .swiper-slide {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      border-radius: 0.9rem;
      background-color: white;
      padding: 0.4rem;
      height: unset;

      .img-box {
        margin-bottom: 0.8rem;
        aspect-ratio: 2/1.5;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: var(--radius);
          -webkit-border-radius: var(--radius);
          -moz-border-radius: var(--radius);
          -ms-border-radius: var(--radius);
          -o-border-radius: var(--radius);
        }
      }

      .title {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }

      .price-box {
        strong {
          color: var(--texture-color-1);
          font-size: 0.9rem;
          font-weight: 500;
        }

        strike {
          color: var(--texture-color-4);
          font-size: 0.9rem;
          font-weight: 500;
        }
      }

      .discount {
        position: absolute;
        top: 0;
        left: 0;
        width: 30px;
        height: 30px;
        background-color: var(--warning-color-2);
        border-radius: 50%;
        font-size: 0.8rem;
        color: #fff;
      }
    }
  }

  &.discount-theme {
    background-color: var(--primary-Lighter);
  }

  &.default-theme {
    background-color: var(--accent-color);

    .cat-box {
      &.default-side {
        display: flex !important;
        background: var(--accent-color-dark-1);
      }
    }
  }
}

.content-holder {
  .more-product {
    font-size: 0.8125rem;
    align-self: self-end;
  }

  a.more-product {

    color: var(--primary-Lighter);

  }
}