/* Product Card Slider Styles */
.pcs-slider-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.product-item__thumbnail-placeholder:hover .pcs-slider-controls {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pcs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pcs-arrow:hover {
    transform: translateY(-50%) scale(1.15);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pcs-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.pcs-arrow.pcs-left {
    left: 10px;
}

.pcs-arrow.pcs-right {
    right: 10px;
}

/* Size selector */
.pcs-sizes {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 16;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 25px;
}

.product-item__thumbnail-placeholder:hover .pcs-sizes {
    opacity: 1;
}

.pcs-size {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s ease;
    border-radius: 4px;
    min-width: 32px;
    text-align: center;
}

.pcs-size:hover {
    background: rgba(0, 0, 0, 0.05);
}

.pcs-size.selected {
    background: #000;
    color: #fff;
}

.product-item__thumbnail-placeholder {
    position: relative;
    overflow: hidden;
}

.product-item__thumbnail-placeholder img {
    transition: opacity 0.3s ease;
    width: 100%;
    height: auto;
}

.product-item__thumbnail-placeholder img.pcs-fading {
    opacity: 0.3;
}
