/* Walk & Fly — Satorisan style: thumbnails + size selector on hover */

/* Color thumbnails — always visible */
.wf-variant-thumbs {
    display: flex;
    gap: 4px;
    padding: 6px 14px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    align-items: center;
}
.wf-variant-thumbs::-webkit-scrollbar { display: none; }
.wf-vthumb {
    width: 40px; height: 40px;
    object-fit: contain;
    border: 2px solid #e8e8e8;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s ease;
    background: #fafafa;
    padding: 2px;
}
.wf-vthumb:hover, .wf-vthumb.active {
    border-color: #1a1a1a;
}
.wf-thumb-arrow {
    width: 24px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0;
    color: #999; font-size: 18px;
    transition: color 0.15s;
}
.wf-thumb-arrow:hover { color: #1a1a1a; }

/* Size selector — NOT overlay, appears below card-body on hover */
.wf-size-panel {
    display: none;
    padding: 10px 14px 14px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
    animation: wfSlideDown 0.2s ease;
}
@keyframes wfSlideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 200px; }
}
div.products .product-miniature:hover .wf-size-panel {
    display: block;
}

.wf-size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.wf-size-btn {
    padding: 6px 0;
    min-width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    font-family: sans-serif;
    cursor: pointer;
    background: #fff;
    color: #1a1a1a;
    transition: all 0.15s;
}
.wf-size-btn:hover, .wf-size-btn.selected {
    border-color: #1a1a1a;
    background: #1a1a1a;
    color: #fff;
}
.wf-size-btn.oos {
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
    text-decoration: line-through;
}
.wf-size-btn.oos:hover {
    background: #fff; color: #ccc; border-color: #eee;
}

.wf-size-add-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.15s;
}
.wf-size-add-btn:hover { background: #333; }
.wf-size-add-btn:disabled { background: #ccc; cursor: not-allowed; }

/* Hide old elements */
.wf-color-dots { display: none !important; }
.wf-add-cart-btn { display: none !important; }

@media (max-width: 767px) {
    .wf-vthumb { width: 32px; height: 32px; }
    .wf-size-panel { display: none !important; }
}

.wf-hover-img { display: none !important; }

