/* Wizutech ProductFamily — Variant Selector */

.wizfamily {
    margin-bottom: 1.25rem;
}

.wizfamily__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.wizfamily__selector {
    position: relative;
}

.wizfamily__current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #1e2022;
    cursor: pointer;
    transition: border-color 0.2s;
}

.wizfamily__current:hover {
    border-color: #2e7d8c;
}

.wizfamily__chevron {
    transition: transform 0.2s;
    color: #9ca3af;
}

.wizfamily__chevron--open {
    transform: rotate(180deg);
}

.wizfamily__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 30;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}

.wizfamily__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: #374151;
    transition: background 0.15s;
    border-bottom: 1px solid #f3f4f6;
}

.wizfamily__option:last-child {
    border-bottom: none;
}

.wizfamily__option:hover {
    background: #f9fafb;
}

.wizfamily__option--active {
    background: #f0fdf4;
}

.wizfamily__option-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.wizfamily__option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wizfamily__option-label {
    font-size: 13px;
    font-weight: 500;
    color: #1e2022;
}

.wizfamily__option-price {
    font-size: 12px;
    color: #6b7280;
}

.wizfamily__check {
    color: #2e7d8c;
    flex-shrink: 0;
}

/* Category Listing Badge */
.wizfamily-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #1e2022;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 5px;
    line-height: 1.3;
    z-index: 5;
    letter-spacing: 0.01em;
}

.wizfamily-badge__type {
    font-weight: 700;
    margin-right: 2px;
}
