/* Компактный блок подарков */
.fgwc-gifts-container {
    padding: 15px;
    margin: 15px 0;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.fgwc-gifts-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
}

.fgwc-gifts-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fgwc-gift-item {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 120px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    transition: all 0.2s ease;
    background: white;
}

.fgwc-gift-item:hover {
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}

.fgwc-gift-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto 5px;
    display: block;
}

.fgwc-gift-name {
    font-size: 13px;
    margin: 5px 0;
    line-height: 1.3;
    height: 34px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fgwc-select-gift {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.fgwc-select-gift:hover {
    background: #3e8e41;
}

.fgwc-select-gift:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 768px) {
    .fgwc-gift-item {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .fgwc-gift-item {
        flex: 1 1 100%;
    }
}

.fgwc-added-notice {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}