.product-thumbnail-images {
    position: relative;
    display: block;
    width: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.product-thumbnail-images:active {
    cursor: grabbing;
}

.product-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 0;
    pointer-events: none;
}

.product-thumb-img.active {
    position: relative;
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.product-thumb-img img {
    display: block;
    margin: 0 auto;
}

.product-thumb-indicators {
        position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin: 5px 0 20px 0;
    padding: 0;
    z-index: 4;
    max-width: 100%;
    pointer-events: auto;
    top: 20px;
}

.thumb-indicator {
    min-width: 1.5rem;
    padding: 3px 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1;
    text-align: center;
    border-radius: 0.2rem;
    cursor: pointer;
    transition: background .2s ease;
    user-select: none;
    position: relative;
    font-family: 'Roboto', sans-serif;
}

.thumb-indicator:hover,
.thumb-indicator.active {
    background: rgba(0, 0, 0, 0.9);
}

/* === Card hover styling (vamsvet style) === */
.product-miniature-default {
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 15px 20px 15px;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.product-miniature-default:hover {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.product-miniature-default .product-functional-buttons-bottom {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    z-index: 10;
    pointer-events: auto;
}

.product-miniature-default .product-availability {
    opacity: 0;
    visibility: hidden;
}

/* === Action buttons styling (vamsvet style) === */
.product-miniature-default .product-functional-buttons-links {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.product-miniature-default .product-functional-buttons-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    color: #b7c2ca;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: color .3s ease, background .3s ease;
    margin: 0 3px;
    padding: 0;
    flex-shrink: 0;
}

.product-miniature-default .product-functional-buttons-links > a:hover {
    color: #6bb431;
}

.product-miniature-default .product-functional-buttons-links > a i {
    font-size: 1.1rem;
    line-height: 1;
}
