#thumbs-container{
    display:flex;gap:0.5rem;margin-top:1rem;flex-wrap: wrap;
}
canvas{
    border-radius: 30px;
}
.thumb-placeholder{
    background: url('https://ridanindustries.com/wp-content/uploads/2025/04/shapes-hero.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
#thumbs-container .thumb{
    width:90px;height:90px;cursor:pointer;border:2px solid transparent;border-radius: 15px;
}
#thumbs-container .thumb-placeholder{
    width:90px;height:90px;display:flex;align-items:end;justify-content:center;border:2px solid #ccc;cursor:pointer;border-radius: 15px;white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-button {
    display: inline-block;
    padding: 8px 14px;
    background-color: var(--green, #359C13) !important;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 0 #2d7f10;
    transition: all 0.2s ease-in-out;
}

.tag-button:hover {
    background-color: #46b41a; /* трохи світліший зелений */
    box-shadow: 0 2px 0 #2d7f10;
    transform: translateY(1px);
}



@media (min-width: 1000px) {
    .gal_sum {
        display: flex;
        justify-content: space-between;
    }
    .gallery-custom{
        min-width: 460px;
        padding-right: 20px;
    }
    canvas{max-width: 551px;}
}

@media (min-width: 600px) and (max-width: 1199px){
    .gallery-custom{
        padding-bottom: 60px;
    }
}

@media (max-width: 600px) {
    #thumbs-container .thumb{
        width: 110px;
        height: 70px;
    }
    #thumbs-container .thumb-placeholder{
        width: 110px;
        height: 70px;
        font-size: 11px;
    }
    .gallery-custom{
        padding-bottom: 50px;
    }
}