/* Wine-portugal staging: reusable taste-profile chart presentation. */
.mbw-taste-profile {
    width: 100%;
    max-width: 100%;
    padding: 30px 30px 30px 30px;
    background: #fff;
    border: 1px solid #e8e3dd;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(54, 39, 25, .06);
    overflow: hidden;
}

.mbw-taste-profile h2 {
    margin: 0 0 14px;
    color: #171513;
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    line-height: 1.2;
}

.mbw-taste-profile__disclosure {
    margin: -4px 0 16px;
    color: #6c6259;
    font-size: .85rem;
    line-height: 1.5;
}

.mbw-taste-profile__empty {
    margin: 0;
    color: #6c6259;
    font-size: 1rem;
    line-height: 1.6;
}

.mbw-taste-profile__rows {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mbw-taste-profile__row {
    display: grid;
    grid-template-columns: minmax(48px, auto) minmax(0, 1fr) minmax(48px, auto);
    gap: 12px;
    align-items: center;
    max-width: 100%;
}

.mbw-taste-profile__label {
    color: #211d19;
    font-size: .95rem;
    line-height: 1.3;
    white-space: nowrap;
}

.mbw-taste-profile__label--right {
    text-align: right;
}

.mbw-taste-profile__track {
    position: relative;
    grid-column: auto;
    width: 100%;
    max-width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #f3f0ed;
}

.mbw-taste-profile__indicator {
    position: absolute;
    top: 0;
    left: clamp(0px, calc(var(--mbw-taste-position) - 50px), calc(100% - 100px));
    display: block;
    width: 100px;
    height: 8px;
    border-radius: 999px;
    background: #bd102b;
}

@media only screen and (max-width: 849px) {
    .mbw-taste-profile {
    }

    .mbw-taste-profile h2 {
        margin-bottom: 12px;
        font-size: 1.45rem;
    }

    .mbw-taste-profile__rows {
        gap: 10px;
    }

    .mbw-taste-profile__label {
        font-size: .9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mbw-taste-profile,
    .mbw-taste-profile * {
        scroll-behavior: auto;
        transition: none !important;
        animation: none !important;
    }
}
