.promoted-products {
    padding: 24px 20px 35px 17px;
    line-height: initial;
    position: relative;
}

.promoted-products .promoted-list {
    display: flex;
    gap: 32px;
    overflow: hidden;
    padding: 3px 0 7px 3px;/* added for the hover shadow effect */
}

.promoted-products .h2 {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    margin-top: 0;
    margin-left: 3px;
}

.promoted-products .h2 label {
    font-weight: 700;
    font-size: 28px;
    min-width: max-content;
}

.promoted-products .h2 .line {
    border-top: 1px solid var(--gray-300);
    width: 100%;
}

a.promoted {
    width: 250px;
    min-width: 250px;
    min-height: 380px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    background-color: white;
    display: grid;
    grid-template-rows: 190px auto;
    text-decoration: none;
    color: inherit;
}

.promoted:hover {
    color: var(--black-900);
    left: -3px;
    top: -3px;
    transition: all 0.2s ease-out;
    box-shadow: 0px 4px 8px rgb(38 38 38 / 20%);
    position: relative;
}

.promoted .img {
    border-bottom: 1px solid var(--gray-300);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: 10px 10px 0 0;
  }

.promoted .img img {
    height: 100%;
}

.promoted .no-image img{
  margin-left: -45px;
}

.promoted .img span {
    position: absolute;
    font-weight: 700;
    font-size: 12px;
    border-radius: 3px;
    padding: 6px;
    color: white;
    left: 12px;
    top: 12px;
}

.promoted .img span.no-color-tag {
    color: var(--gray-400);
    border: 1px solid var(--gray-300);
    background-color: white;
    opacity: 0.8;
}

.promoted .img span.blue-tag {
    background-color: var(--blue-500);
}

.promoted .img span.yellow-tag {
    background-color: var(--yellow-500);
}

.promoted .img span.red-tag {
    background-color: var(--red-500);
}

.promoted .details {
    margin: 8px 12px 12px 12px;
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.promoted .description {
    margin-bottom: 8px;
    text-decoration: none;
    color: var(--black-900);
    font-weight: 700;
    font-size: 14px;
}

.promoted .points {
    font-size: 12px;
}

.promoted .points ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.promoted .price {
    text-align: right;
}

.promoted .price span {
    position: relative;
    color: var(--gray-300);
}

.promoted .price svg {
    position: absolute;
    margin-top: 2px;
    max-width: 100%;
}

.promoted .price div {
    font-size: 32px;
    line-height: 25px;
    font-weight: 600;
    color: var(--secondary-900);
}

.promoted .price label {
    display: block;
    color: var(--gray-300);
    font-size: 14px;
    font-weight: 400;
    margin-top: 8px;
}

.promoted .price label span {
    background-color: var(--secondary-900);
    padding: 2px 7px;
    color: white;
    border-radius: 3px;
}

.promoted .contact-for-price {
  font-size: 14px;
  padding: 12px 24px;
  width: max-content;
  margin-left: auto;
  border-radius: 3px;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  background: transparent;
}

.promoted .contact-for-price:hover {
  color: var(--gray-600);
  border: 1px solid var(--gray-600);
  background-color: var(--gray-100);
}

.promoted .contact-for-price:active {
  color: white;
  border: 1px solid white;
  background-color: var(--blue-500);
}


.promoted-products .arrow {
    position: absolute;
    font-weight: 600;
    top: 280px;
    background-position: 0 !important;
    display: none;
    z-index: 10;
    opacity: 0.8;
    animation-name: fadearrow;
    animation-duration: 0.3s;
    width: 60px;
    height: 60px;
    padding-top: 20px;
    cursor: pointer;
    margin-left: 3px;
}


@keyframes fadearrow {
  from {opacity: 0;}
  to {opacity: 0.8;}
}

.promoted-products .left-arrow {
    left: 5px;
}

.promoted-products .left-arrow .icon {
    background: url(/modules/mod_slideshowck/themes/default/images/left.png) no-repeat !important;
    width: 30px;
    display: block;
    left: 25px;
    position: absolute;
}

.promoted-products .right-arrow {
    right: 5px;
}

.promoted-products .right-arrow .icon {
    background: url(/modules/mod_slideshowck/themes/default/images/right.png) no-repeat !important;
    width: 30px;
    display: block;
    right: 5px;
    position: absolute;
}

.promoted-products:hover .arrow {
    display: inline;
}

@media screen and (min-width: 992px) {
  .promoted-products .left-arrow {
    left: -60px;
  }

  .promoted-products .right-arrow {
    right: -60px;
  }
   
  .promoted-products .arrow {
    height: 100%;
    top:0px;
  }

  .promoted-products .arrow .icon {
    top: 50%;
  }
}

@media screen and ((max-width: 992px) or ((max-width: 1180px) and (orientation:landscape))) {
  .promoted-products .promoted-list{ overflow:auto; overflow:-moz-scrollbars-none; -ms-overflow-style: none;}
  .promoted-products .promoted-list::-webkit-scrollbar { width: 0 !important }

  .promoted-products .arrow{
    display: none !important;
  }
}
