/* Подбор гусениц. Стили свои и намеренно скромные - модуль проверочный,
   если приживётся, приведём к общему виду сайта. */

#gus-picker {
    max-width: 1100px;
}

.gus-lead {
    margin: 0 0 20px;
    font-size: 16px;
}

#gus-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.gus-field {
    flex: 1 1 240px;
    min-width: 200px;
}

.gus-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #777;
}

.gus-field select {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #d5d5d5;
    border-radius: 7px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
}

.gus-field select:disabled {
    background: #f5f5f5;
    color: #aaa;
    cursor: default;
}

.gus-sled {
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f6f6f6;
    border-radius: 7px;
    font-size: 14px;
}

.gus-sled b {
    font-weight: 600;
}

.gus-message {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 7px;
    background: #fff4e5;
    font-size: 15px;
}

.gus-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gus-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
}

.gus-card__img {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-radius: 5px;
    overflow: hidden;
}

.gus-card__img img {
    max-width: 100%;
    max-height: 100%;
}

.gus-card__body {
    flex: 1 1 auto;
    min-width: 0;
}

.gus-card__lug {
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 9px;
    border-radius: 20px;
    background: #eef3ff;
    color: #2f5fd0;
    font-size: 12px;
}

.gus-card__name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.gus-card__name a {
    color: inherit;
    text-decoration: none;
}

.gus-card__name a:hover {
    text-decoration: underline;
}

.gus-card__meta {
    font-size: 13px;
    color: #777;
}

.gus-card__side {
    flex: 0 0 auto;
    text-align: right;
}

.gus-card__price {
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.gus-card__stock {
    font-size: 13px;
    margin-top: 4px;
}

.gus-card__stock--yes { color: #2e9c4a; }
.gus-card__stock--no { color: #999; }

.gus-card--missing {
    background: #fbfbfb;
}

.gus-note {
    margin-top: 28px;
    font-size: 13px;
    color: #888;
}

.gus-loading {
    padding: 20px 0;
    color: #999;
}

@media (max-width: 640px) {
    .gus-card {
        flex-wrap: wrap;
    }
    .gus-card__side {
        flex: 1 1 100%;
        text-align: left;
    }
}
