/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* Контейнер размеров */
.product-sizes-display {
    margin-top: 12px;
}

/* Лейбл "Размер" */
.sizes-label {
    font-size: 12px;
    color: #000;
    margin-bottom: 8px;
    font-weight: 400;
}

/* Список размеров */
.sizes-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Отдельный размер */
.size-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 26px;
    padding: 0 8px;
    border: 1px solid #000;
    background: #fff;
    font-size: 10px;
    font-weight: 400;
    color: #000;
    border-radius: 0;
    transition: all 0.2s;
    cursor: pointer;
}

/* Ховер эффект */
.size-item:hover {
    background: #000;
    color: #fff;
}

/* Tooltip с ценой - минималистичный с выноской */
.size-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #000;
    color: #fff !important;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    z-index: 1000;
}

/* Принудительный белый цвет для всех элементов внутри */
.size-tooltip,
.size-tooltip * {
    color: #fff !important;
}

/* Стрелочка-выноска (острый треугольник) */
.size-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #000;
}

/* Показываем tooltip при наведении */
.size-item:hover .size-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Адаптивность */
@media (max-width: 768px) {
    .sizes-list {
        gap: 5px;
    }
    
    .size-item {
        min-width: 30px;
        height: 26px;
        padding: 0 6px;
        font-size: 11px;
    }
    
    .size-tooltip {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .size-tooltip::after {
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #000;
    }
}
<style>
.glsr-review {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #FFB800;
}

.glsr-review-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.glsr-star-rating {
    color: #FFB800;
    font-size: 22px;
    margin-bottom: 15px;
}

.glsr-review-content {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.review-phone {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666 !important;
    font-size: 14px !important;
}

.glsr-review-date {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}
</style>