.tnd-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.tnd-showcase__separator {
    margin: 35px 0 0;
    border-top: 3px solid #014E11;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

.tnd-showcase__headline {
    margin: 12px 0 0;
    margin-bottom: 25px !important;
    font-size: 1.8em;
    color: #000000;
    font-family: inherit;
}

.tnd-showcase__row {
    position: relative;
    overflow: hidden;
    --cols-xs: 1;
    --cols-sm: 2;
    --cols-md: 3;
    --cols-lg: 4;
    --cols: var(--cols-lg);
}

.tnd-showcase__row::before,
.tnd-showcase__row::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 2;
}

.tnd-showcase__row::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.tnd-showcase__row::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

@media (max-width: 1199px) {
    .tnd-showcase__row { --cols: var(--cols-md); }
}

@media (max-width: 991px) {
    .tnd-showcase__row { --cols: var(--cols-sm); }
}

@media (max-width: 767px) {
    .tnd-showcase__row { --cols: var(--cols-xs); }
}

.tnd-showcase__track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.tnd-showcase__track.is-centered {
    justify-content: center;
}

@media (max-width: 767px) {
    .tnd-showcase--slider .tnd-showcase__row {
        padding: 0 12px;
    }

    .tnd-showcase--slider .tnd-showcase__track {
        gap: 14px;
        justify-content: flex-start;
    }

    .tnd-showcase--slider .tnd-showcase__card {
        flex: 0 0 min(78vw, 220px);
    }

    .tnd-showcase--slider .tnd-showcase__view-all {
        margin-top: 8px;
    }
}

.tnd-showcase__view-all {
    margin: -20px 0 0;
    text-align: center;
}

.tnd-showcase__view-all-link {
    font-weight: 700;
    color: #014E11;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-size: 1.1em;
}

.tnd-showcase__view-all-link:hover {
    color: #02651a;
    /* border-color: #02651a; */
    text-decoration: none !important;
}

.tnd-showcase__card {
    flex: 0 0 calc((100% - (var(--cols) - 1) * 24px) / var(--cols));
    background: #fff;
    /* border: 1px solid #dcdcdc; */
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tnd-showcase__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.tnd-showcase__figure {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

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

.tnd-showcase--slider .tnd-showcase__card.is-active .tnd-showcase__figure {
    border: 0;
}

.tnd-showcase--slider .tnd-showcase__card.is-active {
    border: 3px solid #f2b705;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tnd-showcase__price {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: large;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  box-shadow: 1px 1px 7px 3px rgb(255, 255, 255);
}

.tnd-showcase__ribbons {
    position: absolute;
    right: 16px;
    top: 14px;
    display: flex;
    flex-direction: row;
    gap: 4px;
    z-index: 2;
}

.tnd-showcase__ribbons > * {
    display: inline-block;
}

.tnd-showcase__name {
    margin: 18px 18px 12px;
    text-align: center;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.35;
}

.tnd-showcase__name:hover {
    text-decoration: underline;
}

.tnd-showcase__divider {
    width: 60%;
    height: 2px;
    margin: 0 auto 18px;
    background: #f2b705;
    display: block;
}

.tnd-showcase__thumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tnd-showcase__thumb {
    border: 1px solid #d0d0d0;
    background: #fff;
    padding: 4px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.tnd-showcase__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.tnd-showcase__thumb.is-active {
    border-color: #f2b705;
    box-shadow: 0 0 0 2px rgba(242, 183, 5, 0.35);
}
